humangeo / leaflet-dvf

Leaflet Data Visualization Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibility with Leaflet 1.7.0

stefaneichert opened this issue · comments

Hi dvf team!
Thanks for the great plugin! I am using it for spatial visualisations of archaeological data at https://thanados.net
We are displaying the count of various artefact types as chart markers and it works very well.

However:
When using dvf with a leaflet version higher than 1.5.0 I get the follwing console errors with Chart Markers:

Path.js:109 Uncaught TypeError: this._updateBounds is not a function at i.setStyle (Path.js:109) at i.<anonymous> (leaflet-dvf.js:4654) at i.fire (Events.js:190) at i._fireDOMEvent (Map.js:1440) at i._handleDOMEvent (Map.js:1397) at HTMLDivElement.c (DomEvent.js:92)

This occurs both with the dvf 0.3.1. and the 1.0 dev branch and only in Leaflet versions above 1.5.0. on Chromium and Firefox...

Thanks and best regards,
Stefan

Leaflet issue 6662

Take a look at this it solved the problem for me.