More search improvements - a "Where am I?" link that does a reverse
search, and various cleanups to the previous changes.
This commit is contained in:
parent
215958fa0f
commit
d2bd78627e
6 changed files with 73 additions and 4 deletions
|
@ -102,6 +102,10 @@
|
|||
handleResize();
|
||||
}
|
||||
|
||||
function getPosition() {
|
||||
return mercatorToLonLat(map.getCenter());
|
||||
}
|
||||
|
||||
function setPosition(lat, lon, zoom) {
|
||||
var centre = lonLatToMercator(new OpenLayers.LonLat(lon, lat));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue