Skip to content

Map.setZoom()

Masashi Katsumata edited this page May 19, 2014 · 2 revisions

Set the zoom level of the camera view.

###Description Change the zoom level of the map camera view.


###code

var GOOGLE = new plugin.google.maps.LatLng(37.422858, -122.085065);
map.setCenter(GOOGLE);
map.setZoom(17);

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