tim-salabim

Results 671 comments of tim-salabim

Re playback with `editFeatures` could we utilise the `@object` slot in `mapview`?

Agreed! A very nice idea. I usually approach spatial data from the geometry side of things, not from he attribute side, so this perspective never occurred to me. But I...

@timelyportfolio this is coming along nicely I think! The zoom doesn't seem to work for points as, I guess, `map.fitBounds(map._layers[layerid].getBounds());` doesn't find any bounds for 0 dimensional data. Additionally, I...

@lbusett good point! This will be developed further, no doubt. We are currently not pushing mapedit development too much as we would like to wait until **leaflet** has been upgraded...

Thanks for the link! That was on my mind to research too at some stage. And I agree that this is essential for all sorts of things

https://github.com/codeofsumit/leaflet.pm has progressed quite a bit since last year. It now also allows for creation/deletion of holes in polygons & splitting of polygons by polygon. In light of @bhaskarvk 's...

Also, I haven't found anything in the [leaflet.draw documentation](http://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html) on how to enable snapping... I only see the example which only seems to have snapping enabled for the red line.

Just to be clear, setting a crs won't change the coordinates. You need to `st_transform` your object