We have identified a need for improved basemap refresh capabilities.
Currently, updating basemaps portalItem or styles requires a full mapView refresh, like you do it in the sample page basemaps,
which isn't ideal for preserving the user's application state (like measurements or annotations...).
We propose an update that supports more specific basemap refreshes, allowing for seamless changes without a full mapView reload. This enhancement would significantly benefit applications requiring dynamic map updates while maintaining the user context.
We plan to submit a pull request with a proposed implementation for this feature.
We have identified a need for improved basemap refresh capabilities. Currently, updating basemaps portalItem or styles requires a full mapView refresh, like you do it in the sample page basemaps, which isn't ideal for preserving the user's application state (like measurements or annotations...).
We propose an update that supports more specific basemap refreshes, allowing for seamless changes without a full mapView reload. This enhancement would significantly benefit applications requiring dynamic map updates while maintaining the user context. We plan to submit a pull request with a proposed implementation for this feature.
Br, David for GIS Team POST Luxembourg