yohanboniface / Leaflet.EditInOSM

Add a control in a Leaflet map with links to main OSM editors
Do What The F*ck You Want To Public License
38 stars 13 forks source link

Doesn't work with Touch Devices #2

Open arky opened 11 years ago

arky commented 11 years ago

The plugin can not be used with touch devices such as smart phones and tablets. Tapping the EditInOSM icon has no effect, it doesn't expand the menu.

Testcase: Open the demo page (http://yohanboniface.github.com/Leaflet.EditInOSM/) with web browser on mobile phone.

Tested on samsung S2 jellybean with Firefox nightly

Clue: Click events?

yohanboniface commented 11 years ago

Thanks for the report.

Certainly because the hover is made in CSS. Will try to have a look on this asap.

arky commented 11 years ago

@yohanboniface Thank you, I'll look forward for your fix.

stefangrotz commented 6 years ago

@yohanboniface any news on this? I am going to use this plugin in a project, If I come up with a solution I will send a pull request with the fix.