Leaflet / Leaflet.draw

Vector drawing and editing plugin for Leaflet
https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html
MIT License
1.98k stars 994 forks source link

Edit drawed polygon - Cannot read property 'title' of undefined #694

Closed manukieli closed 7 years ago

manukieli commented 7 years ago

How to reproduce

What behaviour I'm expecting and which behaviour I'm seeing

With the version 0.4.2, it work fine.

manukieli commented 7 years ago

I've add this line an line 155 to the file Leaflet.draw.js }, clearAll:{ title: 'Clear all layers.', text: 'Clear All' } And now it work.