Last active
February 18, 2018 17:59
-
-
Save dylanmaryk/870e4db6383aca4177706fab572269bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let strokeStyles = [GMSStrokeStyle.solidColor(.black), GMSStrokeStyle.solidColor(.clear)] | |
let strokeLengths = [NSNumber(value: 10), NSNumber(value: 10)] | |
if let path = polyline.path { | |
polyline.spans = GMSStyleSpans(path, strokeStyles, strokeLengths, .rhumb) | |
} | |
polyline.map = mapView |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment