mapbox / mapbox/MapboxStatic.swift
Add initializers to convert between Overlay and Turf GeoJSON types
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 192
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
Turf provides full strongly-typed support for GeoJSON, including conveniences like Codable conformance. The Overlay class should have convenience initializers for these types and vice versa. These conveniences would require pulling in Turf as a dependency and would not bridge to Objective-C.
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 Overlay API and Turf's strongly typed GeoJSON types to determine the conversion points and dependency implications. Done means Overlay can be initialized from the relevant Turf types and those types can be produced from Overlay, without Objective-C bridging.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100