GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
kGMSEquatorProjectedMeter
extern const double kGMSEquatorProjectedMeter
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
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003ekGMSEquatorProjectedMeter\u003c/code\u003e is a constant representing the projected length of one meter at the equator.\u003c/p\u003e\n"],["\u003cp\u003eIt's useful for specifying segment lengths in projected units, especially when dealing with \u003ccode\u003eGMSPath\u003c/code\u003e methods.\u003c/p\u003e\n"],["\u003cp\u003eYou can calculate projected lengths by multiplying the real-world distance (e.g., kilometers) with \u003ccode\u003ekGMSEquatorProjectedMeter\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# GoogleMaps Framework Reference\n\nkGMSEquatorProjectedMeter\n=========================\n\n extern const double kGMSEquatorProjectedMeter\n\n`kGMSEquatorProjectedMeter` may be useful when specifying lengths for segment in \"projected\"\nunits.\nThe value of `kGMSEquatorProjectedMeter`, `1/(pi * EarthRadius)`, represents the length of one\nmeter at the equator in projected units. For example to specify a projected length that\ncorresponds to `100km` at the equator use `100000 * kGMSEquatorProjectedMeter`.\nSee `[GMSPath segmentsForLength:kind:]`, `[GMSPath lengthOfKind:]` and `kGMSLengthProjected`."]]