changeset 110:3dec73b1dc7f gmap2

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 15 Feb 2014 18:30:36 +0200
parents 9e0b9c708a9d
children 4e2dc1ed3bff
files map.js
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/map.js	Sat Feb 15 18:30:06 2014 +0200
+++ b/map.js	Sat Feb 15 18:30:36 2014 +0200
@@ -38,14 +38,13 @@
 function checkCoords(cx, cy, cxmin, cymin, cxmax, cymax, cname)
 {
   if (cx > cxmin && cx < cxmax && cy > cymin && cy < cymax)
-    return {x: cx + cxmin, y: cy + cymin, name: cname};
+    return { x: cx + cxmin, y: cy + cymin, name: cname };
   else
     return null;
 }
 
 
-google.maps.Event.addListener(map, "mousemove",
-function(point)
+google.maps.Event.addListener(map, "mousemove", function(point)
 {
   var p = proj.fromLatLngToPixel(point, 7);
   tx = Math.round((p.x - 16383) / 2) - 1;