Leaflet / Leaflet.Editable

Make geometries editable in Leaflet.
http://leaflet.github.io/Leaflet.Editable/doc/api.html
553 stars 198 forks source link

only use large "touch" vertex icons on mobile devices #171

Closed tyrasd closed 6 years ago

tyrasd commented 6 years ago

Some (most?) desktop browsers are identified by leaflet as "touch"-capable (see https://github.com/Leaflet/Leaflet/issues/5266), but normally you wouldn't want to use extra large drag vertices on these?! This workaround idea is stolen from https://github.com/Leaflet/Leaflet.draw/issues/692#issuecomment-293500346

yohanboniface commented 6 years ago

Makes sense, thanks!

John-P commented 5 years ago

I see this has been merged. However, I am still getting the touch vertex icons in Firefox (66.0.1 64-bit). I previously commend at the end of issue #692 with a gif showing this having not noticed this merge.