};
OpenLayers._getScriptLocation = function () {
+ // Should really have this file as an erb, so that this can return
+ // the real rails root
return "/openlayers/";
}
map.zoomToExtent(extent.clone().transform(epsg4326, map.getProjectionObject()));
}
-function getMapExtent(extent) {
+function getMapExtent() {
return map.getExtent().clone().transform(map.getProjectionObject(), epsg4326);
}