Merge bugfixes and test improvements for rc4 release.

git-svn-id: http://svn.openlayers.org/branches/openlayers/2.1@1513 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-09-28 13:05:36 +00:00
parent c7c21ea08a
commit 6edb290f1b
10 changed files with 163 additions and 12 deletions

View File

@@ -82,7 +82,7 @@ OpenLayers.Marker.prototype = {
var onScreen = false;
if (this.map) {
var screenBounds = this.map.getExtent();
onScreen = screenBounds.contains(this.lonlat.lon, this.lonlat.lat);
onScreen = screenBounds.containsLonLat(this.lonlat);
}
return onScreen;
},