Release 3.0
ππΊοΈ The most powerful leaflet plugin for geospatial data
Brought to you by:
ndpgeoman
Originally created by: codeofsumit
This release branch aims to collect breaking changes until we can release the next major version.
It has to constantly stay in sync with the develop and master branch to avoid extensive merge conflicts down the road.
Originally posted by: Falke-Design
Should be also removed:
L.PM.Draw.Marker, L.PM.Draw.CircleMarker:
L.PM.Draw.Line:
L.PM.Map:
Originally posted by: Falke-Design
Also old button nams in L.PM.Toolbar in
addControls()andtoggleButton()Originally posted by: Falke-Design
Thinking of changing the event
markerdragstartintovertexdragstartsame for the other "marker" events. It would be a clearer nameOriginally posted by: Falke-Design
Remove the first argument
e, because it is also in the object:L.Controls:
Originally posted by: Falke-Design
Thinking of rename Line to Polyline. To match the leaflet default
Originally posted by: Falke-Design
Change the option name
Originally posted by: Falke-Design
Remove the optional
shapeit has no function, all shapes will be disabled:https://github.com/geoman-io/leaflet-geoman/blob/ff58d546ae5807a331485c16b5ac442b6bbce527/src/js/L.PM.Map.js#L62-L69
Originally posted by: Falke-Design
Mode.Edit, Mode.Drag, ... add
_to private functionsOriginally posted by: Falke-Design
Make
_removeLastVertex()to a public functionOriginally posted by: Falke-Design
L.PM.Map and all Modes change
this.maptothis._map. Then it is used the same name as in the Draw and Edit ClassesOriginally posted by: Falke-Design
rename
_finishShape()and_createMarkerto the same name and make it publicOriginally posted by: Falke-Design
Add to all CSS classes the prefix
leaflet-geoman. More and more libraries have problems with using the same CSS-Class name. Like.activeOriginally posted by: Falke-Design
Draw.Line uses
templineStyle, Draw.Rectangle usespathOptions.