Marker Layer
Last updated
Last updated
© flutter_map Authors & Maintainers
You can add single point features - such as pins, labels, or markers - to maps using MarkerLayer
and Marker
s.
No more image only markers! Unlike other popular mapping libraries, we allow usage of any widget as the marker.
Excessive use of markers may create performance issues.
Marker rotation support isn't built in (other than counter rotating to the map, to ensure the marker is always displayed right side up), but can easily be implemented through a rotation widget, such as Transform.rotate
.
Consider using a clustering plugin to merge nearby markers together, reducing the work that needs to be done when rendering: .