kartena / leaflet.editablehandlers Goto Github PK
View Code? Open in Web Editor NEWTools that help to edit shapes. For instance a circle
License: BSD 2-Clause "Simplified" License
Tools that help to edit shapes. For instance a circle
License: BSD 2-Clause "Simplified" License
Hi there
We've recently had to upgrade to the latest Leaflet master branch due to better Mapbox support, among other reasons. Leaflet master seems to have had many internal changes and has caused L.CircleEditor to throw an error:
Uncaught TypeError: Cannot read property '_leaflet_id' of undefined
L.Util.stamp leaflet-0-8-dev.js:81
L.Evented.L.Class.extend._on leaflet-0-8-dev.js:399
Here's a jsfiddle on it: http://jsfiddle.net/dinglixiang/sXh5k/24/
It's pointing to the latest build of Leaflet master branch at our server.
Could you kindly take a look and advise on what the issue might be? Much thanks.
Hey,
I realise this plugin has not been updated in a while, but I hope I can ask a question.
I am using Leaflet for a game map and wondering if there is there any way of defining a custom distance?
The map I am using is 2km x 2km.
Hope to hear from anybody!
Thank you.
Is there a way to turn off the editing? I would like to have editing turned on and off by another control.
Does this work with mapbox layers or do I need to create a marker layer?
Can you see what is missing from my page?
http://erichsen-group.com/demoland/taylorpeterh/
C
I modified the packaged example, measuring-tool.html
, to use Leaflet 0.6.2 instead of the packaged version. This results in a TypeError when completing a distance measurement, after the PopUp appears.
Uncaught TypeError: Object [object Object] has no method 'fire' leaflet-src.js:3809
L.Popup.L.Class.extend.onAdd leaflet-src.js:3809
L.Map.L.Class.extend._layerAdd leaflet-src.js:2246
L.Map.L.Class.extend.addLayer leaflet-src.js:1714
L.MeasuringTool.L.Class.extend._onMapClick L.MeasuringTool.js:94
L.Mixin.Events.fireEvent leaflet-src.js:473
L.Map.L.Class.extend._fireMouseEvent leaflet-src.js:2215
L.Map.L.Class.extend._onMouseClick leaflet-src.js:2194
handler
This is a nice library, and I'd like to use it with 0.6.2 (or later)!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.