Change "OpenLayers.Point" to OpenLayers.Pixel, so there's no confusion between LatLon and Point (a problem that has

and still does afflict the Google Maps API).


git-svn-id: http://svn.openlayers.org/trunk/openlayers@19 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-05-12 22:59:47 +00:00
parent 05d213a806
commit f2fa6622f1
7 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ OpenLayers.Events.prototype = {
getMousePosition: function (evt) {
var offsets = Position.page(this.div);
return new OpenLayers.Point(
return new OpenLayers.Pixel(
evt.clientX - offsets[0],
evt.clientY - offsets[1]);
},