I need to make some markers semi-transparent depending on position. Is there any way to control the marker opacity?
Asked
Active
Viewed 436 times
1 Answers
0
Use the alpha property
static final Marker defaultMarker = Marker(
markerId: MarkerId("0"),
position: LatLng(0.0, 0.0),
icon: BitmapDescriptor.defaultMarker,
alpha: 0.5)

Simon Fry
- 141
- 1
- 6