mapbox / mapbox/mapbox-maps-flutter
Custom Markers with Profile Pictures in Flutter using Mapbox (Latest Version Compatibility) issue
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
**Hi Mapbox Team,**
I am currently working on a Flutter project using the latest version of mapbox_gl for Flutter. My goal is to display custom markers that include user profile pictures. I would like to use a URL pointing to the user's profile picture as the marker icon. In previous versions, I was able to achieve this using the addImage method and setting a GeoJSON source with custom icons.
However, with the recent updates, my current implementation doesn’t seem to work properly. Specifically, I’m facing issues with:
Displaying profile pictures as custom markers using URLs.
Adding text (like usernames) alongside the marker.
Managing marker interactivity (taps/clicks) in the latest version.
**I would appreciate guidance on:**
The recommended approach for setting up custom markers with images in the current version.
How to dynamically update marker content if profile pictures or associated data change.
Any working examples or updated documentation that cover custom marker functionality with the latest mapbox_gl version in Flutter.
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 with the current mapbox_gl Flutter marker functionality and the issue's named addImage and GeoJSON source approaches. Compare how profile-picture URLs, username text, dynamic updates, and tap handling are supported in the latest version; done means a confirmed approach or updated example covering these requirements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100