mapbox / mapbox-scenekit

Other
231 stars 51 forks source link

Provide an enum for common styles #27

Open hyerra opened 6 years ago

hyerra commented 6 years ago

The fetchTerrainTexture(_ style:, zoom:, progress: , completion:) takes a style parameter which we need to specify a String for. It would be nice if an enum could be created so we can specify something like satelliteStyle kind of like how the Mapbox SDK has it. This way users don't have to remember to update to the latest version.