Skip to content

Instantly share code, notes, and snippets.

@carmoreira
Created February 27, 2023 23:12
Embed
What would you like to do?
Make overlay entries list interact with base map - Interactive Geo Maps
document.querySelectorAll('.igm_entries_list')
.forEach(function(list) {
list.setAttribute('data-map-id','3492969'); // change to your base map ID
var clone = list.cloneNode(true);
iMapsActions.buildLists(clone);
list.replaceWith(clone);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment