Use the right variable for the event.

This commit is contained in:
Tom Hughes 2008-04-19 14:27:57 +00:00
parent 97a4e25f90
commit ff10be4855

View file

@ -110,7 +110,7 @@ function setMapExtent(extent) {
}
function getEventPosition(event) {
return map.getLonLatFromViewPortPx(e.xy).clone().transform(epsg4326, map.getProjectionObject());
return map.getLonLatFromViewPortPx(event.xy).clone().transform(epsg4326, map.getProjectionObject());
}
function getMapLayers() {