Underline links in the SOTM box.

This commit is contained in:
Tom Hughes 2008-04-27 15:40:48 +00:00
parent 112ee9266c
commit 935656bfbe
2 changed files with 12 additions and 0 deletions

View file

@ -109,6 +109,10 @@ function setMapExtent(extent) {
map.zoomToExtent(extent.clone().transform(epsg4326, map.getProjectionObject()));
}
function getMapExtent(extent) {
return map.getExtent().clone().transform(map.getProjectionObject(), epsg4326);
}
function getEventPosition(event) {
return map.getLonLatFromViewPortPx(event.xy).clone().transform(map.getProjectionObject(), epsg4326);
}