Open
Description
Hi,
I'm working on add the user location on the map using the LocationIndicatorLayer
mapboxMap.style.addLayer(LocationIndicatorLayer(
id: 'locationIndicator',
location: [latitude, longitude, altitude],
accuracyRadius: accuracy,
visibility: Visibility.VISIBLE,
topImage: 'location_indicator',
accuracyRadiusColor: Color.fromARGB(125, 2, 89, 130).toARGB32(),
));
But the accuracyRadiusColor transparency don't apply :
Color.fromARGB(125, 2, 89, 130) -> Not transparent at all
Color.fromARGB(1, 2, 89, 130) -> Not transparent at all
Color.fromARGB(0, 2, 89, 130) -> Not visible
Is there is something i'm doing wrong ?
if needed :
mapbox_maps_flutter: 2.7.0
Flutter 3.29.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ea121f8859 (9 days ago) • 2025-04-11 19:10:07 +0000
Engine • revision cf56914b32
Tools • Dart 3.7.2 • DevTools 2.42.3
Metadata
Metadata
Assignees
Labels
No labels