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

Modify the demo code when new layer is added to map #97

Open
AliyanH opened this issue Jan 20, 2023 · 0 comments
Open

Modify the demo code when new layer is added to map #97

AliyanH opened this issue Jan 20, 2023 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@AliyanH
Copy link
Member

AliyanH commented Jan 20, 2023

The demo code should be modified dynamically when a new layer is added to the map, this can include when users are pasting in new layers-/geojson/links to the map.

For example, when pasting the following geojson to the demo map (mapml-viewer demo), the code should dynamically be updated to reflect the change:
{"type": "Feature","properties": {"Name":"Natural Resources Canada"},"geometry": {"type":"Point","coordinates":[-75.705974,45.399963]}}

Open for discussion, all suggestions are welcomed.

@AliyanH AliyanH added enhancement New feature or request question Further information is requested labels Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant