Skip to content

MAP CAMERA_CHANGE event

Masashi Katsumata edited this page Jul 26, 2014 · 1 revision
document.addEventListener("deviceready", function() {
  var map = plugin.google.maps.getMap();
  map.on(plugin.google.maps.event.CAMERA_CHANGE, onCameraChange);
});

function onCameraChange(cameraPosition) {
  var map = this;
  console.log(cameraPosition);
}

Join the official community

New versions will be announced through the official community. Stay tune!

Do you have a question or feature request?

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.

https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/tree/master/v2.0.0/README.md

Clone this wiki locally