Sunday 15 June 2014

javascript - Google API V3: computeOffset function -


I want to know the units of measurement for the ComputeOffset function in the Geometry Library in Google Maps API V3.

The documentation says that compute offset (from: latte, distance: number, title: number, radius? Number)

I think the heading is in degree. What is the use of alternative radius?

Any help is appreciated.

in the distance meter

The radius defined in the first method defined.

Radius of the Earth's radius in the default

If you stay in the radius other units (like miles), the answer will be in those units.

No comments:

Post a Comment