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

Path: always draw a polygon instead of a polyline #62

Closed matvdg closed 7 years ago

matvdg commented 7 years ago

Hi, I want to use the class Path to draw a polyline (my start point differs from my end point) and it doesn't work anymore, it's always a closes polygone being drawn. It's pretty weird because in your demo it works fine (polyline) in my playground and I copy the exact same code in my project, it's a polygon...

1ec5 commented 7 years ago

This is a duplicate of #57, fixed in #58. We’ll publish a release with the fix as soon as #63 lands. In the meantime, you can use the master branch, which includes the fix.