You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Since Mapbox for Android 4.0.0 the annotation logic has been partially moved to a new BaseMarkerOptions superclass. This class has a title property as well as a title setter.
I understand why it was changed in the way it is, but it breaks using markers for the Mapbox NativeScript plugin as the NativeScript runtime can't distinguish the property from the setter.
We don't need the current setters like title(..) removed, but we'd be very much helped if regular Java setters like setTitle are added to BaseMarkerOptions.java. Until that's added I'm afraid we can't update the Android version of our plugin.
@EddyVerbruggen I think this is doable as our primary concern is to be API compatible at the MarkerOptions level with the Google Maps API. We can create convenience wrapper methods for position, snippet, title, and icon called setPosition(), setSnippet(), setTitle(), and setIcon().
Is there any other API breakages that you know of now or is BaseMarkerOptions the only one?
@EddyVerbruggen I just created some wrappers for this and submitted PR #5367. Can you verify that this is what you'll need for the Cordova plugin? If so @zugaldia can work with you to get this into the next 4.1.0 build. Thanks!
@EddyVerbruggen we've now merged @bleege's PR into the release branch. You can expect a release candidate tomorrow or early next week that you can use to test the fix. Thanks again for your feedback.
Awesome! Thanks for making this happen @EddyVerbruggen@zugaldia! I'm excited about getting the Cordova and NativeScript plugins back up to the latest code! 🚀
@bleege@zugaldia I waited a bit for 4.1.0 and had a great time implementing some new features for the NativeScript plugin today. Your setters worked perfectly, thanks a LOT!
The next thing I'll be adding is offline maps support, and then give the Cordova plugin some love.
Activity
bleege commentedon May 24, 2016
@EddyVerbruggen I think this is doable as our primary concern is to be API compatible at the
MarkerOptionslevel with the Google Maps API. We can create convenience wrapper methods forposition,snippet,title, andiconcalledsetPosition(),setSnippet(),setTitle(), andsetIcon().Is there any other API breakages that you know of now or is
BaseMarkerOptionsthe only one?/cc @rdlauer @tobrun @cammace @zugaldia
EddyVerbruggen commentedon May 25, 2016
Hey @bleege thanks for taking note! AFAIK
BaseMarkerOptionsis the only problem for us.bleege commentedon Jun 15, 2016
@EddyVerbruggen I just created some wrappers for this and submitted PR #5367. Can you verify that this is what you'll need for the Cordova plugin? If so @zugaldia can work with you to get this into the next
4.1.0build. Thanks![android] Create Wrappers for Cordova
zugaldia commentedon Jun 16, 2016
@EddyVerbruggen we've now merged @bleege's PR into the release branch. You can expect a release candidate tomorrow or early next week that you can use to test the fix. Thanks again for your feedback.
EddyVerbruggen commentedon Jun 17, 2016
Looks good guys, I'll check the RC shortly, thanks!
zugaldia commentedon Jun 21, 2016
@EddyVerbruggen We released
beta3yesterday, feel free to give it a test #5415bleege commentedon Jun 23, 2016
Awesome! Thanks for making this happen @EddyVerbruggen @zugaldia! I'm excited about getting the Cordova and NativeScript plugins back up to the latest code! 🚀
EddyVerbruggen commentedon Jul 8, 2016
@bleege @zugaldia I waited a bit for 4.1.0 and had a great time implementing some new features for the NativeScript plugin today. Your setters worked perfectly, thanks a LOT!
The next thing I'll be adding is offline maps support, and then give the Cordova plugin some love.
bleege commentedon Jul 8, 2016
@EddyVerbruggen That's great to hear! Thanks so much for your work keeping the NativeScript and Cordova plugins up to date! 🚀