use new functions from r1506.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1507 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -679,7 +679,7 @@ OpenLayers.Map.prototype = {
|
||||
var valid = false;
|
||||
if (lonlat != null) {
|
||||
var maxExtent = this.getMaxExtent();
|
||||
valid = maxExtent.contains(lonlat.lon, lonlat.lat);
|
||||
valid = maxExtent.containsLonLat(lonlat);
|
||||
}
|
||||
return valid;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user