New basemap styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette, modernized pins, and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see New map style for Google Maps Platform.
Returns the length of the segment [a, b] in projected space.
The length is computed along the short path between the points potentially crossing the date
line. E.g. the distance between the points corresponding to San Francisco and Tokyo measures the
segment that passes north of Hawaii crossing 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 2024-11-15 UTC."],[[["`GMSMapPointDistance` calculates the distance between two `GMSMapPoints` in projected space."],["The calculated distance represents the shortest path between the points, even if it crosses the international date line."]]],[]]