Skip to content
Justin Kimbrell edited this page Aug 16, 2014 · 2 revisions

Overview

It's possible to set the zoom of the map programmatically after the map has been instantiated. You must pass a map id in the first argument and a zoom level in the second argument. A valid zoom level is 1-20.

Example

craft.googleMaps.zoom('map', 10)