Skip to Main Content

Notes

The JavaScript Initialization Code on this plugin is: console.log("map zoom: "+this.map.getZoom()); //hide the default UI elements this.map.setOptions({"disableDefaultUI":true}); this.map.setOptions({"zoomControl":false}); //show the scale control this.map.setOptions({"scaleControl":true}); It will run once on page load, after the google maps object has been created but before the data is loaded into the map.