react-mapbox-gl-draw icon indicating copy to clipboard operation
react-mapbox-gl-draw copied to clipboard

Draw on pad devices

Open jevy-wangfei opened this issue 6 years ago • 1 comments

This tool is great at drawing on decktop/laptop browser, but looks like it only support click to draw on pad devices.

On a pad device, the drag gesture on mapbox is moving map by default, and it can be closed.

Could I add the drag gesture as drawing using react-mapbox-gl-draw when the default gesture of moving map is closed?

jevy-wangfei avatar Sep 25 '19 23:09 jevy-wangfei

I think this might be a better fit for an upstream issue: https://github.com/mapbox/mapbox-gl-draw

Or if you want to make a PR here, then feel free, and I'll have a look asap!

amaury1093 avatar Sep 26 '19 09:09 amaury1093