Closed furkankurt closed 4 years ago
Hello @furkankurt I think I don't understand your need. You are already able to set InfoWindow for marker in the MarkerBuilder method as it returns a Marker from the google_maps_flutter library, which has it :
static Future<Marker> Function(Cluster) get markerBuilder => (cluster) async {
return Marker(
markerId: MarkerId(cluster.getId()),
position: cluster.location,
onTap: onTap,
infoWindow: InfoWindow(
title: 'Title',
snippet: 'Snippet',
),
icon: await getClusterBitmap(cluster.isMultiple ? 125 : 75,
text: cluster.isMultiple? cluster.count.toString() : null),
);
};
Thank you for package!! I neew an InfoWindow for marker. Or could be clickable markers.