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.
Stay organized with collections
Save and categorize content based on your preferences.
kGMSEquatorProjectedMeter
externconstdoublekGMSEquatorProjectedMeter
kGMSEquatorProjectedMeter may be useful when specifying lengths for segment in “projected”
units.
The value of kGMSEquatorProjectedMeter, 1/(pi * EarthRadius), represents the length of one
meter at the equator in projected units. For example to specify a projected length that
corresponds to 100km at the equator use 100000 * kGMSEquatorProjectedMeter.
See [GMSPath segmentsForLength:kind:], [GMSPath lengthOfKind:] and kGMSLengthProjected.
[[["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."],[[["`kGMSEquatorProjectedMeter` is a constant representing the projected length of one meter at the equator."],["It's useful for specifying segment lengths in projected units, especially when dealing with `GMSPath` methods."],["You can calculate projected lengths by multiplying the real-world distance (e.g., kilometers) with `kGMSEquatorProjectedMeter`."]]],[]]