Menu β–Ύ β–΄

#406 Release 3.0

3.0
open
nobody
None
2023-01-12
2019-02-19
Anonymous
No

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.

Discussion

  • Anonymous

    Anonymous - 2020-05-18

    Originally posted by: Falke-Design

    Should be also removed:

    L.PM.Draw.Marker, L.PM.Draw.CircleMarker:

    this._map.fire('pm:create', {
          shape: this._shape,
          marker, // DEPRECATED
          layer: marker,
        });
    

    L.PM.Draw.Line:

        // fallback option for finishOnDoubleClick
        // TODO: remove in a later release
        if (this.options.finishOnDoubleClick && !this.options.finishOn) {
          this.options.finishOn = 'dblclick';
        }
    

    L.PM.Map:

    enableDraw(shape = 'Polygon', options) {
        // backwards compatible, remove after 3.0
        if (shape === 'Poly') {
          shape = 'Polygon';
        }
       //...
    
    
    disableDraw(shape = 'Polygon') {
        // backwards compatible, remove after 3.0
        if (shape === 'Poly') {
          shape = 'Polygon';
        }
       //...
    
     
  • Anonymous

    Anonymous - 2020-05-27

    Originally posted by: Falke-Design

    Also old button nams in L.PM.Toolbar in addControls() and toggleButton()

        // make button renaming backwards compatible
        if (typeof options.editPolygon !== 'undefined') {
          options.editMode = options.editPolygon;
        }
        if (typeof options.deleteLayer !== 'undefined') {
          options.removalMode = options.deleteLayer;
        }
    
     
  • Anonymous

    Anonymous - 2020-09-09

    Originally posted by: Falke-Design

    Thinking of changing the event markerdragstart into vertexdragstart same for the other "marker" events. It would be a clearer name

     
  • Anonymous

    Anonymous - 2020-11-29

    Originally posted by: Falke-Design

    Remove the first argument e, because it is also in the object:
    L.Controls:

      _triggerClick(e) {
        // TODO is this a big change when we change from e to a object with the event and the button? Now it's the second argument
        this._button.onClick(e, { button: this, event: e });
        this._clicked(e);
        this._button.afterClick(e, { button: this, event: e });
      },
    
     
  • Anonymous

    Anonymous - 2020-12-02

    Originally posted by: Falke-Design

    Thinking of rename Line to Polyline. To match the leaflet default

     
  • Anonymous

    Anonymous - 2020-12-08

    Originally posted by: Falke-Design

    Change the option name

    editable false makes a CircleMarker editable like a Circle
     
  • Anonymous

    Anonymous - 2020-12-22

    Originally posted by: Falke-Design

    Mode.Edit, Mode.Drag, ... add _ to private functions

     
  • Anonymous

    Anonymous - 2020-12-30

    Originally posted by: Falke-Design

    Make _removeLastVertex() to a public function

     
  • Anonymous

    Anonymous - 2021-01-06

    Originally posted by: Falke-Design

    L.PM.Map and all Modes change this.map to this._map. Then it is used the same name as in the Draw and Edit Classes

     
  • Anonymous

    Anonymous - 2021-01-26

    Originally posted by: Falke-Design

    rename _finishShape() and _createMarker to the same name and make it public

     
  • Anonymous

    Anonymous - 2022-10-16

    Originally 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 .active

     
  • Anonymous

    Anonymous - 2023-01-12

    Originally posted by: Falke-Design

    Draw.Line uses templineStyle, Draw.Rectangle uses pathOptions.

     

Log in to post a comment.

MongoDB Logo MongoDB