mapbox / mapbox/MapboxStatic.swift

Add initializers to convert between Overlay and Turf GeoJSON types

Open
#112 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

breaking change enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.