mapbox / MapboxStatic.swift

Static map snapshots with overlays in Swift or Objective-C on iOS, macOS, tvOS, and watchOS
https://www.mapbox.com/api-documentation/?language=Swift#static
Other
189 stars 31 forks source link

Add initializers to convert between Overlay and Turf GeoJSON types #112

Open 1ec5 opened 2 years ago

1ec5 commented 2 years ago

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.