You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using UX Map and Leaflet bridge to customize a marker, you have to do this:
const{ definition, leaflet }=event.detail;// ...
As suggested by @Kocal, the leaflet variable should probably be named L because Leaflet uses L in all its docs. Now that the bridge is so new (and experimental), we could even rename the variable wihout considering BC, etc.
Thanks
The text was updated successfully, but these errors were encountered:
When using UX Map and Leaflet bridge to customize a marker, you have to do this:
As suggested by @Kocal, the
leaflet
variable should probably be namedL
because Leaflet usesL
in all its docs. Now that the bridge is so new (and experimental), we could even rename the variable wihout considering BC, etc.Thanks
The text was updated successfully, but these errors were encountered: