Distance tooltips for Google Maps
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
LICENSE
README.md
bower.json
index.css
index.html
index.js

README.md

Google maps direction arrows

Google maps plugin, wich enables direction arrows. Arrows stick to screen edge and point to target point when it's not in view port and they will show distance to viewport from border of screen. Check out demo.

screenshot

Sample usage:

var map = new google.maps.Map(document.getElementById("map-canvas")),
    position = new google.maps.LatLng(55.730196, 37.602141),
    marker = new google.maps.Marker({ position: position }),
    distanceOverlay = new DistanceOverlay({ position: position });

distanceOverlay.setMap(map);
marker.setMap(map);

Contributors

Thanks to Dmitry Fofanov for collaboration on this one.