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

No _path property in layer #61

Open
RHagendoorn opened this issue Jan 3, 2018 · 2 comments
Open

No _path property in layer #61

RHagendoorn opened this issue Jan 3, 2018 · 2 comments

Comments

@RHagendoorn
Copy link

I am using version 0.7.3 of Leaflet, and the gh-pages branch. I am using a layergroup of polylines, and on each I am calling setText. I keep however getting an error because this._path is undefined.

@queceo
Copy link

queceo commented Jul 18, 2018

This library doesn't work if the following line is set:
L_PREFER_CANVAS = true;

@lbxxdi
Copy link

lbxxdi commented Feb 28, 2022

I found solution that work for me,

    var map = L.map('map', {
        preferCanvas: true,  // fixed by comment this line 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants