mapbox / mapbox/mapbox-annotation-extension
Runtime styling
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 11
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Is there already a way to dynamically style a symbol?
How would I dynamically show/hide an icon? Formerly, with expression, it worked like this:
symbols.iconOpacity = NSExpression(format: "mgl_interpolate:withCurveType:parameters:stops:($zoomLevel, 'linear', nil, %@)",
[5.9: 0, 6: 1])
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
No files or tests are named. Start by checking the Mapbox Maps SDK for iOS styling and annotation APIs for runtime symbol opacity or visibility, then compare them with the former NSExpression example. Done means identifying a supported dynamic approach or documenting that the capability needs a scoped implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c, swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100