Anyone explored how to make a polyline dashed for ...
# multiplatform
t
Anyone explored how to make a polyline dashed for google map in ios for a compose multiplatfrom project??sharing the code below:
Copy code
GMSPolyline().apply {
    path = decodedPath
    strokeColor = polyLine.color.getColor().toUIColor()
    strokeWidth = polyLine.widthInDp?.toDouble() ?: 0.0
    geodesic = true
    map = view

  
}
j
How are you accessing
GMSPolyline
from Kotlin? Are you using CocoaPods?
t
yup
cocoapods.GoogleMaps.GMSPolyline