Changeset 146
- Timestamp:
- Oct 23, 2006, 7:15:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/npemap.org.uk/static/index.html
r145 r146 115 115 116 116 function urlFor(easting, northing, zoom) { 117 var x= easting / zooms[zoom];118 var y= northing/ zooms[zoom];117 var x= Math.round(easting / zooms[zoom]); 118 var y= Math.round(northing/ zooms[zoom]); 119 119 return ROOTURL + "/tiles/map.html#" + x + "," + y +","+zoom; 120 120 }
Note: See TracChangeset
for help on using the changeset viewer.