Skip to content

Commit f302f9a

Browse files
natiginfogithub-actions[bot]
authored andcommitted
[maps-android] remove cutout related code from DynamicViewAnnotationActivity (#9444)
GitOrigin-RevId: e51648b85981da9c3af21d252ba94837ed6a6cb9
1 parent b0d6cf0 commit f302f9a

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

app/src/main/java/com/mapbox/maps/testapp/examples/markersandcallouts/viewannotation/DynamicViewAnnotationActivity.kt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,19 +191,15 @@ class DynamicViewAnnotationActivity : AppCompatActivity() {
191191
+routeLayerAlt.apply {
192192
lineColor(Color.parseColor("#FF999999"))
193193
// make map elements around (30m) route line visible through obstructing 3D buildings and other aboveground features
194-
lineWidth(30.0)
195-
lineCutoutOpacity(0.0)
196-
lineCutoutFadeWidth(0.5)
194+
lineWidth(15.0)
197195
lineBorderWidth(2.0)
198196
lineBorderColor(Color.parseColor("#FF333333"))
199197
}
200198
// layer for main route
201199
+routeLayerMain.apply {
202200
lineColor(Color.parseColor("#FF57A9FB"))
203201
// make map elements around (30m) route line visible through obstructing 3D buildings and other aboveground features
204-
lineWidth(30.0)
205-
lineCutoutOpacity(0.0)
206-
lineCutoutFadeWidth(0.5)
202+
lineWidth(15.0)
207203
lineCap(LineCap.ROUND)
208204
lineBorderWidth(2.0)
209205
lineBorderColor(Color.parseColor("#FF327AC2"))

0 commit comments

Comments
 (0)