-
Notifications
You must be signed in to change notification settings - Fork 918
LatLngBounds.contains()
wf9a5m75 edited this page Sep 23, 2014
·
6 revisions
Returns true
if the given lat/lng is in this bounds.
map.getVisibleRegion(function(latLngBounds) {
var point = new plugin.google.maps.LatLng(0, 0);
var isContained = latLngBounds.contains(point);
alert(point.toUrlValue() + " is" + (isContained ? " " : " not ") + " contained in this bounds.");
});
If you get an error, feel free to ask me on the official community or the issue list.
New version 2.0-beta2 is available.
The cordova-googlemaps-plugin v2.0 has more faster, more features.
New versions will be announced through the official community. Stay tune!
Feel free to ask me on the issues tracker.
Or on the official community is also welcome!
New version 2.0-beta2 is available.
The cordova-googlemaps-plugin v2.0 has more faster, more features.