Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Events and Fixes source code.tar.gz | 2017-09-26 | 81.4 kB | |
Events and Fixes source code.zip | 2017-09-26 | 107.0 kB | |
README.md | 2017-09-26 | 954 Bytes | |
Totals: 3 Items | 189.3 kB | 0 |
Minor Changes
-
Added Vertex Events (MINOR): [#227] With this you could - for example - listen when new vertexes are added during drawing of a polygon:
:::js // listen to vertexes being added to the workingLayer map.on('pm:drawstart', function(e) { var layer = e.workingLayer; layer.on('pm:vertexadded', function(e) { // e includes the new vertex, it's marker // the index in the coordinates array // the working layer and shape }); });
Patches
- Make HintMarker more visible: [#220]
- Add Polyfill for findIndex: [5bce48]
- Added marker index information to markerdrag events: [#225]: [ca6884]
- Removed sourcemaps from prod build. Fixes [#222]: [e1f437]
- Add workingLayer to pm:drawstart: [#221]
- Fix error when removing a layer during snappable drawing;: [8ba984]
Credits
Huge thanks to @newmanw and @richorama for their help!