Skip to content

Instantly share code, notes, and snippets.

@carmoreira
Created June 17, 2022 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carmoreira/b511350b7c8f4608bd6e51dc94019ad1 to your computer and use it in GitHub Desktop.
Save carmoreira/b511350b7c8f4608bd6e51dc94019ad1 to your computer and use it in GitHub Desktop.
Interactive Geo Maps - Reset actions after menu filter dropdown changes
// replace 55677 with your map ID
document.addEventListener('input', function (event) {
if (event.target.id !== 'igm-live-filter-55677') return;
iMapsActions.resetActions(55677);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment