Marker Layer

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

An example Marker, using FlutterLogo as the child
MarkerLayer(
  markers: [
    Marker(
      point: LatLng(30, 40),
      width: 80,
      height: 80,
      builder: (context) => FlutterLogo(),
    ),
  ],
),

Rotation

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

Was this helpful?