Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Clear Basemap Array #2335

Open
1 task done
jolevesq opened this issue Jul 3, 2024 · 0 comments
Open
1 task done

[BUG] Clear Basemap Array #2335

jolevesq opened this issue Jul 3, 2024 · 0 comments

Comments

@jolevesq
Copy link
Member

jolevesq commented Jul 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Currently, basemap package delete the arrays of basemap on unload. We should ahev something to notify other user of basemap...

Quote from @Alex-NRCan
We should call a function on the Basemap object (e.g.: this.mapViewer().basemap.clearBasemaps() which clears the basemaps list. That way, if there are other components working on the basemaps array, we can make them aware of this clearing happening. (Or we use an event-processor/state thing,

Expected Behavior

Call afunction to notify basemaps changed

Steps To Reproduce

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant