mapbox / mapbox/mapbox-plugins-android
InfoWindow and anchor support for MarkerViews.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 242
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
I've been playing with the MarkerView plugin so we can experiment with Lottie animations on our markers. While messing with em i've noticed that the plugin is in very early stages and doesn't have much support for anything.
I wasn't able to set an anchor on the view I supplied. So whenever it was added to the map the top left corner of the view was the lat/lng while the rest of the view was laid out below and to the right. I've made my own copies of the 2 classes in the plugin to adjust this.
The view also didn't seem to update its location frequently enough, zooming and panning the map would leave it in the same spot until the map was done rendering. I was able to get around this in my own version of the 2 classes as well.
I wasn't able to find a good way to hook the InfoWindow support the mapbox map has using marker views, is this something that will be added to this plugin? The same question goes for the other things i've had to adjust. Or would it be smarter to try and move to using symbol layers than waiting for this plugin to advance?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the MarkerView plugin and the two classes mentioned in the issue, then compare its current behavior with the map's symbol-layer and InfoWindow support. Confirm how anchor positioning and update timing work during panning and zooming. Done would require an agreed scope for anchor, frequent location updates, and InfoWindow support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100