Mercurial > hg > batmud > gmap2
changeset 54:8f1af8084e17 gmap2
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 08 Jan 2011 23:06:51 +0200 |
parents | de1512fcc3c9 |
children | 5dc24c15a93c |
files | map.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/map.js Sat Jan 08 22:58:28 2011 +0200 +++ b/map.js Sat Jan 08 23:06:51 2011 +0200 @@ -21,8 +21,8 @@ var custommap = new GMapType(tl, new GMercatorProjection(12),"BatMud", {errorMessage:"No data available"}); map.addMapType(custommap); -var proj=map.getCurrentMapType().getProjection(); -map.setCenter(proj.fromPixelToLatLng(new GPoint(8556,8664),6),3,custommap); +var proj = map.getCurrentMapType().getProjection(); +map.setCenter(proj.fromPixelToLatLng(new GPoint(8556,8664), 6), 3, custommap); function checkCoords(cx, cy, cxmin, cymin, cxmax, cymax, cname) {