updateClusteredMarkers method
Future<void>
updateClusteredMarkers(
{ - required String clusterId,
- required String geoJson,
- int? clusterRadius,
- String? defaultMarkerColor,
- String? defaultClusterColor,
- double? textSize,
- String? textColor,
- String? stop1Color,
- String? stop2Color,
- String? iconPath,
})
Implementation
Future<void> updateClusteredMarkers({
required String clusterId,
required String geoJson,
int? clusterRadius,
String? defaultMarkerColor,
String? defaultClusterColor,
double? textSize,
String? textColor,
String? stop1Color,
String? stop2Color,
String? iconPath,
}) async {
try {
await _invoke('updateClusteredMarkers', {
'clusterId': clusterId,
'geoJson': geoJson,
'clusterRadius': clusterRadius,
'defaultMarkerColor': defaultMarkerColor,
'defaultClusterColor': defaultClusterColor,
'textSize': textSize,
'textColor': textColor,
'stop1Color': stop1Color,
'stop2Color': stop2Color,
'iconPath': iconPath,
});
} catch (e) {
debugPrint('Error updating clustered markers: $e');
}
}