-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draggable Marker not moving #32
Comments
Don't know if this is correct but reading the changelog https://github.com/mapbox/mapbox-gl-js/blob/master/CHANGELOG.md the ability to drag markers was only introduced in 0.46.0: How can we update the Mapbox version dependency? |
Have you tried to update the mapbox dependency and build the project? |
I was trying to make a few changes to update to 0.52, but I noticed there's already an PR with that change. |
yes, for a project I needed to update the library with a more updated version of Mapbox. Mapbox has changed a method in I have made a fork of this repo and I have updated the library to use 0.52 mapbox version. You can test it here, the version updated is the v0.2.1 https://github.com/northings/mapbox-gl-cordova-offline The inclusion of the use of There is a branch updated until mapbox 0.49 version here: https://github.com/northings/mapbox-gl-cordova-offline/tree/feature/mapbox.v0.49.0 I am still thinking which could be the best way to avoid the problem with the use of Cheers!!. |
@michogar Hello, thank you so much for your feedback. I was doing some extra testing with the forks you provided, and I noticed a new version of mapbox was release (v0.53). I was reading their changelog and I think they fixed the issue regarding the fetch/file:// problem. https://github.com/mapbox/mapbox-gl-js/blob/master/CHANGELOG.md Allow file:// protocol in XHR requests for Cordova/Ionic/etc (#7818) |
Cool!!, these are good news. I'll try to test the library with that version of Mapbox ASAP. If you advance in the integration of the latest Mapbox version, please, maybe could you make a PR?. Thank you very much, and enjoy mapbox-gl-cordova-offline!! |
I've just updated the library with the latest Mapbox GL JS version, 0.53.1. Please check if problems with markers disappear and we can closing the issue. Best. |
When a add a marker and set the property "draggable=true" the marker does not move when I'm testing on the device (Android).
Do I need to do something special?
Is it because the mapbox version?
It it possible to update it to the latest version 0.51?
The text was updated successfully, but these errors were encountered: