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

Leaflet 1.9.3 error - can't access property "properties", layer.feature is undefined #60

Closed
PedroVenancio opened this issue Jan 23, 2023 · 2 comments · Fixed by #65
Closed
Assignees

Comments

@PedroVenancio
Copy link

This issue was introduced with Leaflet 1.9.3 and affected bindPopup and bindTooltip of L.esri.featureLayer, as described here: Esri/esri-leaflet#1348

It was fixed by Esri/esri-leaflet#1350

but it also affects L.esri.Cluster.featureLayer, as you can see in this sample: https://codepen.io/PedroNGV/pen/QWBOpJd

TypeError: can't access property "properties", layer.feature is undefined

Esri/esri-leaflet#1348 (comment)

@patrickarlt
Copy link
Contributor

@gavinr could you apply the same fix I did for L.esri.FeatureLayer and see if that fixes this for cluster as well?

@gavinr
Copy link
Contributor

gavinr commented Feb 23, 2023

The fix for this was released in v3.0.1.

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

Successfully merging a pull request may close this issue.

3 participants