Skip to content

Not compatible with react-leaflet v3? #123

@barbalex

Description

@barbalex

I tried upgrading my project to react-leaflet v3.0.0.

This is the component I tested: https://github.com/barbalex/apf2/blob/3c90de3a89c23ac720ccae00dc9bdedb71cfd6d0/src/components/Projekte/Karte/layers/Pop/index.js#L166-L175

It works well with react-leaflet v2.8.0 and react-leaflet-markercluster v2.0.0.

It breaks when using react-leaflet v3.0.0, causing this error:
mk-error 2
mk-error

I guess this is not surprising as react-leaflet v3 is a complete rewrite. For instance, accessing the map has changed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions