Skip to content

Instantly share code, notes, and snippets.

@carmoreira
Created Mar 13, 2022
Embed
What would you like to do?
Interactive Geo Maps - Listen to zoom home button click event
let mapID = '3491792'; //replace with your map ID
iMaps.maps[mapID].map.zoomControl.children._values[0].events.on('hit', function() {
//run your custom code here, it will be triggered when the home button is clicked.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment