Mercurial > hg > batmud > gmap2
changeset 151:13e75e9e732a gmap2
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 09 Mar 2014 18:28:40 +0200 |
parents | 4b24f4522ef8 |
children | 095754c6b332 |
files | map.js |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/map.js Sun Mar 09 18:17:07 2014 +0200 +++ b/map.js Sun Mar 09 18:28:40 2014 +0200 @@ -37,7 +37,11 @@ } -google.maps.Event.addListener(map, "mousemove", function(point) +// +// Setup listener for updating coordinates display +// +google.maps.Event.addListener(map, "mousemove", +function(point) { var p = proj.fromLatLngToPixel(point, 7); tx = Math.round((p.x - 16383) / 2);