Skip to content
October 21, 2010 / lawrencebarsanti

Missing functions in Google Maps API V3

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.

Advertisements

2 Comments

Leave a Comment
  1. José Fernando / Nov 1 2010 6:28 pm

    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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: