javascript - Google Maps draw mode measure distance -


i'm trying implement "measure distance" in google maps v3, can in google maps web.

measure distance

i wonder if there library implmente drawingmode of drawingmanager.

here's example found of simple ruler measures distance between 2 markers:

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

the source code available via link on page.

i hope use same basic idea in my own topographic maps drag out series of markers, use resulting polyline draw elevation profile, etc. i'll post reference code here if i'm successful.

that said, since "measure distance" ui has been part of standard desktop google maps since july 2014, hope google team might share via published google maps api soon, simplifying our work (not mention standardizing ui such user drawn paths).

fyi,

chris


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -