humangeo / leaflet-dvf

Leaflet Data Visualization Framework
MIT License
689 stars 152 forks source link

Compatibilty with leaflet1.2.0 #119

Open TharaCJ opened 7 years ago

TharaCJ commented 7 years ago

Is the master branch version compatible with leaflet1.2.0. Getting error L.Path.prototype.initialize undefined while trying to create a polygon marker. Appreciate any help.

sfairgrieve commented 7 years ago

@TharaCJ The 1.0dev branch is compatible with Leaflet 1.x. Master is still only for Leaflet 0.7.x and below for now, although I have plans to move the 1.0dev stuff to master, since 0.7.x is probably no longer used as much.

TharaCJ commented 7 years ago

Thanks .. it worked..

ghassen98 commented 6 years ago

Is there any solution for this issue please ?

sfairgrieve commented 6 years ago

This shouldn't be an issue. The code in the 1.0dev branch will work. Or, install leaflet-dvf 0.3.0 or above using npm. I would also suggest upgrading to Leaflet 1.3.x.

On Wed, Oct 24, 2018 at 4:13 AM GHassen notifications@github.com wrote:

Is there any solution for this issue please ?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/humangeo/leaflet-dvf/issues/119#issuecomment-432557276, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQmZnlRNi3PE46VvbGKwZnyVrlm-Mk0ks5uoCEsgaJpZM4QIUy6 .