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
It would be nice to be able to post a message to the map to change map properties or marker sources without refreshing the iframe where the map is hosted.
The text was updated successfully, but these errors were encountered:
Imagine a map that you load with no delay of data marker requests. Then, just sending a message to it to load a certain map from a remote source. Now you can have different scenarios:
Make a directory of maps and switch between without reloading the map or changing pan, zoom, or position.
Make a map where you display multiple data sources (together in the same time). This means an extra parameter to clear the previous markers or not.
We could get the map object and do what we need with it in custom code:
message
Data to be sent to the other window. The data is serialized using the structured clone algorithm. This means you can pass a broad variety of data objects safely to the destination window without having to serialize them yourself. Source: Window.postMessage
It would be nice to be able to post a message to the map to change map properties or marker sources without refreshing the iframe where the map is hosted.
The text was updated successfully, but these errors were encountered: