Returns a linearly interpolated point on the segment [a, b], at the fraction t from a. t==0
corresponds to a, t==1 corresponds to b.
The interpolation takes place along the short path between the points potentially crossing the
date line. E.g. interpolating from San Francisco to Tokyo will pass north of Hawaii and cross the
date line.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSMapPointInterpolate\u003c/code\u003e calculates a point along a line segment between two given points (\u003ccode\u003ea\u003c/code\u003e and \u003ccode\u003eb\u003c/code\u003e) based on a fraction (\u003ccode\u003et\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eWhen \u003ccode\u003et\u003c/code\u003e is 0, the function returns point \u003ccode\u003ea\u003c/code\u003e; when \u003ccode\u003et\u003c/code\u003e is 1, it returns point \u003ccode\u003eb\u003c/code\u003e; values between 0 and 1 represent points along the line segment.\u003c/p\u003e\n"],["\u003cp\u003eThe interpolation considers the shortest path, even if it crosses the international date line, like a route from San Francisco to Tokyo passing north of Hawaii.\u003c/p\u003e\n"]]],["`GMSMapPointInterpolate` calculates a point on the line segment between two points (`a` and `b`). The parameter `t` determines the point's position, where `t`=0 is point `a` and `t`=1 is point `b`. The interpolation follows the shortest path, potentially crossing the international date line. This function returns the linearly interpolated `GMSMapPoint` at the specified fraction `t`.\n"],null,["# GoogleNavigation Framework Reference\n\nGMSMapPointInterpolate\n======================\n\n extern ../Structs/GMSMapPoint.html GMSMapPointInterpolate(../Structs/GMSMapPoint.html a, ../Structs/GMSMapPoint.html b,\n double t)\n\nReturns a linearly interpolated point on the segment \\[a, b\\], at the fraction `t` from `a`. `t`==0\ncorresponds to `a`, `t`==1 corresponds to `b`.\n\nThe interpolation takes place along the short path between the points potentially crossing the\ndate line. E.g. interpolating from San Francisco to Tokyo will pass north of Hawaii and cross the\ndate line."]]