Closed opoto closed 7 years ago
Hi @opoto and thanks for the feedback. I've just tested it and it works for me on Chrome 52 on an Android (Oxygen OS in my case). I have an issue with Firefox, where the control doesn't even respond. I'll investigate on this.
In the midtime, could you try wih another gpx file ? I've tried with those :
Indeed the problem came from my GPX.
With a correct GPX it now works fine both on Firefox and Chrome, at least in my application.
To help using your demo on small screens, I would suggest to add following meta tag to index.html:
<meta name="viewport" content="width=device-width,height=device-height, user-scalable=no" />
Sorry for the erroneous report, and thanks for this good plugin
Great, thanks for the feedback ! Yeah a more complete demo is coming and we forgot the viewport meta on the actual, you're right. Thank you for pointing it out !
Although my mobile browsers support the FileReader API (checked with demo at https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL), the Leaflet.FileLayer demo does not work on my mobile. To reproduce: