Missing functions in Google Maps API V3

October 21, 2010

I am upgrading trackyourruns.com from Google Maps API version 2 to version 3. The process has been fairly painless but I have discovered that a few key functions are missing. For example I was using the getLength() method of GPolyLine (PolyLine if V3) to determine a line’s length in meters.  Currently, there is no way to do this using version 3 of the Maps API.  Fortunately, José Fernando Calcerrada created extendedApi which adds functions to LatLng, Marker, Polyline, Polygon that are missing in V3.

Advertisement

2 Responses to “Missing functions in Google Maps API V3”


  1. Hi!! I am glad that my extendedApi it was helpful for you :)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.