You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for multiple embedded maps in one page with frontendapi #12872
There is a limitation in the current system for embedding maps.
The embed-api does not allow multi maps on the same page. i have found 4 distinct problems that all would need to be solved for this to be possible.
the Openlayers map has a hardcoded id.
the hookRegister uses global hook registry causing leakages between maps
the LoadAfterTheme option only works for one of the maps, because the theme is rightfully only loaded once
the api is aimed at single map usage ie MapStore2.onAction
What kind of improvement you want to add? (check one with "x", remove the others)
Minor changes to existing features
Code style update (formatting, local variables)
Refactoring (no functional changes, no api changes)
Build related changes
CI related changes
Other... Please describe:
Other useful information
My plan is for 1, 2 and 3 to open small improvement-pull request. That will be of general benefit.
4 is a bigger thing. Im instead working on a custom solution that might be converted into a pull request.
i would be very interested to hear if any work on embedded maps are currently happening or there are any plans?
Activity
tha-nordiq commentedon Sep 16, 2026
Found another issue:
Reactdnd HTML backend is currently global.
should also be easy to fix
#12872 make mapContainerId a configurable prop (#12877)
#12872 make mapContainerId a configurable prop (#12877)