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

Only add fill to path if it has opacity #58

Closed 1ec5 closed 7 years ago

1ec5 commented 7 years ago

The Static API treats a path as a closed polygon as long as fill options are provided. Path.description should omit the fill options if the fill would be transparent.

Fixes #57.

/cc @arturpk @bsudekum @frederoni