Changeset 183


Ignore:
Timestamp:
Oct 26, 2006, 7:42:13 PM (13 years ago)
Author:
Nick Burch
Message:

Add function to give the link to the current view, but at zoom level 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/static/tiles/mapTiles.js

    r180 r183  
    383383}
    384384
     385function getZoomOneLink() {
     386  return (offsetGridX * zooms[zoomLevel]) + "," +
     387         (offsetGridY * zooms[zoomlevel]) + "," + 1;
     388}
    385389function getLink() {
    386390  return offsetGridX + "," + offsetGridY + "," + zoomLevel;
    387391}
     392
    388393
    389394function updateGrid(theDirection) {
Note: See TracChangeset for help on using the changeset viewer.