Marker Layer
You can add markers to maps to display specific points to users using MarkerLayer()
.
Excessive use of markers or use of complex markers will create performance issues and lag/'jank' as the user interacts with the map. See for more information.
If you need to use a large number of markers, an existing community maintained plugin (flutter_map_marker_cluster
) might help.
Markers (markers
)
markers
)As you can see MarkerLayerOptions()
accepts list of Markers which determines render widget, position and transformation details like size and rotation.
Last updated