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
188 stars 31 forks source link

Provide an enum for common styles #81

Open hyerra opened 5 years ago

hyerra commented 5 years ago

The SnapshotOptions(styleURL:, camera:, size:) takes a style parameter which we need to specify a URL for. It would be nice if an enum could be created so we can specify something like satelliteStyleURL kind of like how the Mapbox SDK has it. This way users don't have to remember to update to the latest version.