Skip to content

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

Open
@AliyanH

Description

@AliyanH

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions