Giter Club home page Giter Club logo

leaflet.pm's People

Contributors

adriankwiat avatar cksadra avatar codeofsumit avatar cosme-benito avatar dependabot[bot] avatar diadenchuk avatar drzhbe avatar elliots avatar falke-design avatar henrikmaa avatar kmpm avatar lclpedro avatar mcepo avatar mesonyx avatar michaelsemchenko avatar michiel-2 avatar na3shkw avatar neatnick avatar nparley avatar otterlyolive avatar pedroalvesr avatar richorama avatar ryan-morris avatar sostheng avatar superpat45 avatar szimih avatar tomasjohansson avatar vodnicearv avatar vvlladd28 avatar xmojmr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

xyjwyq lovuey

leaflet.pm's Issues

Rotating a polygon with hole

Hi,

I'm using the "rotationV2" branch and I encountered a bug.
If you try to rotate a polygon with a hole, hole's points aren't rotating.
image

To fix the problem, I have edited "../js/Mixins/Rotating.js".
Then
image
Now
image

Open Issues

  • Globale Modes Doc anpassen Funktionen fehlen:

Drag Mode:

  • enableGlobalDragMode
  • disableGlobalDragMode

Removal Mode:

  • disableGlobalRemovalMode
  • enableGlobalRemovalMode

  • Globale Modes Funktionsname nicht gleich:

Edit Mode:

  • globalEditEnabled

Drag Mode:

  • globalDragModeEnabled

Removal Mode:

  • globalRemovalEnabled

  • Develop infos:
  • map.pm.Draw.getShapes().push("New Shape")

  • Change Toolbar to one block (edit & draw container):

  • pm:globalcutmodetoggled can added if wanted L.PM.Draw:

  globalCutModeEnabled(){
    return !!this.Cut._enabled;
  },
  _setGlobalDrawMode() {
      // extended to all PM.Draw shapes
      if(this._shape == "Cut"){
          this._map.fire('pm:globalcutmodetoggled', {
              enabled: !!this._enabled,
              map: this._map,
          });
      }else {
          this._map.fire('pm:globaldrawmodetoggled', {
              enabled: this._enabled,
              shape: this._shape,
              map: this._map,
          });
      }
  },

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.