Loading play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/LiteGoogleMap.kt +8 −2 Original line number Diff line number Diff line Loading @@ -286,8 +286,14 @@ class LiteGoogleMapImpl(context: Context, var options: GoogleMapOptions) : Abstr styleBuilder.withLayer(LineLayer("l${circle.id}s", "${circle.id}s").withProperties( PropertyFactory.lineWidth(circle.strokeWidth), PropertyFactory.lineColor(circle.strokeColor), PropertyFactory.lineCap(Property.LINE_CAP_ROUND) )).withSource(GeoJsonSource("${circle.id}s", circle.line.annotationOptions.geometry)) PropertyFactory.lineCap(Property.LINE_CAP_ROUND), ).apply { circle.strokePattern?.let { val name = it.getName(circle.strokeColor, circle.strokeWidth) withProperties(PropertyFactory.linePattern(name)) styleBuilder.withImage(name, it.makeBitmap(circle.strokeColor, circle.strokeWidth)) } }).withSource(GeoJsonSource("${circle.id}s", circle.line.annotationOptions.geometry)) } // Add markers Loading Loading
play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/LiteGoogleMap.kt +8 −2 Original line number Diff line number Diff line Loading @@ -286,8 +286,14 @@ class LiteGoogleMapImpl(context: Context, var options: GoogleMapOptions) : Abstr styleBuilder.withLayer(LineLayer("l${circle.id}s", "${circle.id}s").withProperties( PropertyFactory.lineWidth(circle.strokeWidth), PropertyFactory.lineColor(circle.strokeColor), PropertyFactory.lineCap(Property.LINE_CAP_ROUND) )).withSource(GeoJsonSource("${circle.id}s", circle.line.annotationOptions.geometry)) PropertyFactory.lineCap(Property.LINE_CAP_ROUND), ).apply { circle.strokePattern?.let { val name = it.getName(circle.strokeColor, circle.strokeWidth) withProperties(PropertyFactory.linePattern(name)) styleBuilder.withImage(name, it.makeBitmap(circle.strokeColor, circle.strokeWidth)) } }).withSource(GeoJsonSource("${circle.id}s", circle.line.annotationOptions.geometry)) } // Add markers Loading