Marker Layer

You can add single point features - such as pins, labels, or markers - to maps using MarkerLayer and Markers.

No more image only markers! Unlike other popular mapping libraries, we allow usage of any widget as the marker.

  markers: [
      point: LatLng(30, 40),
      width: 80,
      height: 80,
      builder: (context) => FlutterLogo(),

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.

Last updated

© flutter_map Authors & Maintainers