GoogleNavigation Framework Reference
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 2024-11-15 UTC.
[null,null,["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`."]]],[]]