Skip to content

Support Multiple map instances on Gisidalite #184

Description

@kahummer

Is this a new feature or an enhancement?
enhancement

Is your feature request related to a problem? Please describe.
When running multiple instances of maps on different routes/tabs that don't initiate a complete component mount, the map instance Object is garbage collected thus making it difficult to access mapbox functions for these instances when moving to a previously loaded map.

Describe the solution you'd like
A solution for these would be to implement a unique key that forces the ReactMapboxgl map instance to fully mount based on this key.

Additional context

Ensure re-mounting of Reactmapboxgl Map component by using a unique key in the event we have multiple map instances

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions