Measurement distance of the drawing mode in Google Maps

I am trying to implement "Measure Distance" in google maps v3, something like what we can do on Google Maps Web .

Measure distance

I wonder if there is a library that implants this as a DrawMode DrawingManager.

+4
source share
2 answers

Now you can use this MeasureTool library for Google Maps JavaScript API v3 to do the same as Google Maps.

Measurement Tool for the Google Maps API - Project Page

Here is a live demo .

+4
source

Here is an example I found in a simple ruler that measures the distance between two markers:

http://www.barattalo.it/measure-distance-google-maps

.

, , PolyLine .. , .

, " " Google Maps 2014 , , Google API Google , ( ).

FYI,

+2

All Articles