Jacob Toye
Jacob Toye
Unfortunately I do not own the npm package for leaflet-label. I'll get in contact with the current own and ask if he will transfer it.
We could do static labels for `L.Circle`'s. However the way Leaflet.label currently works you cannot have both the vector behavior (the label follows the mouse) and the marker behavior (the...
I'm interested to see the demand for this feature. For now I'll leave it in your fork and people can use it if they like.
This would certainly be possible. You are welcome to submit a pull request if you like.
Sorry I'm not very keen on this idea. You could make a fork, add the functionality and then if this gets enough requests I'll pull it in.
This works fine when you have a polygon that has a good shape. However if you have an unorthodox polygon the center can be the incorrect place for the label...
Have you included the css? Also see https://github.com/Leaflet/Leaflet.label/blob/master/src/Marker.Label.js#L3 to change the anchor for the marker label.
Ah yes, currently edit doesn't support this functionality :( The code subsides in `Draw.Polyline.js`, Need to update Edit.Polyline to support `allowIntersection` as well.
Could you please create a jsfiddle to show this behaviour. We use both label and markercluster at work without the issue. Seeing an example will help me point you in...
In order to debug the issue I need to see it reproduced with just Leaflet, Leaflet.label and Leaflet.markercluster.