Skip to content

No map.renderer and _path properties avilable in layer #73

@KishorTSi

Description

@KishorTSi

I'm using leaflet v1.8, react-leaflet v4.0 and react-leaflet-textpath v2.1.1. I'm trying to add <TextPath on map then getting an error Cannot read properties of undefined (reading '_container') at line 66 (leaflet.textpath.js).
I have commented out preferCanvas={true} in MapContainer.

Any help much appriciated. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions