maplibre / maplibre/maplibre-react-native
Implement `textVariableAnchorOffset`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 661
- Forks
- 124
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 30
Description
With the latest native upgrades the textVariableAnchorOffset style prop should be available. But I'm seeing the following problems properly implementing it:
- Android needs a special type with a mixed array type of
(string | [number, number])[] iOS can't useHad a problem with the SPM dependencylayer.textVariableAnchorOffset
To not block the native upgrade, the style is currently not available through MLRN.
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 tracing how style props are defined and exposed for textVariableAnchorOffset in the React Native, Android, and iOS integrations. Check the native upgrade types and bindings, then verify that the mixed Android value type is accepted and the style is available through MLRN on both platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100