Felix Höffken
Felix Höffken
I wanted to create a Pull-request, but after reading style guides etc grunt did nothing. So here just a comment on how to fix it - maybe I can get...
I think you are searching for something like ``` const asdf = Object.assign(element.toGeoJSON(), {properties: element.options}) L.geoJson(asdf, asdf.properties) ``` This definetly not the most beautiful piece of code but should get...
Hey, you can define the colors which are shown, with `colorRamp` Currently there is no plan to add a hatching pattern. Leaflet does not support this out of the box...
I think you are searching for something like ``` const asdf = Object.assign(element.toGeoJSON(), {properties: element.options}) L.geoJson(asdf, asdf.properties) ``` This definetly not the most beautiful piece of code but should get...
I currently have no good idea how to integrate this in the library - if you have an idea I'm happy about suggestions.
I looked into this today - I will try to override `toGeoJSON()` in `L.Marker` and `L.Path`.
sorry for the long wait - my laptop broke, stressfull time at work and then holidays. Looking into this in the next time again.
Currently I don't have too much time. But I will try to fix this as soon as I can…
You would need to create `FormElements` with the button and the image, then you would need to provide those to the forms in the options. Maybe this can help: https://github.com/dwilhelm89/Leaflet.StyleEditor/blob/945ac5a193545886aac2513dacd1f26999d9f3f8/src/StyleEditorWithLeafletDraw.html
Currently I use the babel default and everything is transpiled to ES6. Changing this should not be too difficult. I'll have a look. What IE do you want to support?