The SDK allows you to easily add markers to the map. You can customize the marker’s icon, size, and position.

StaticMapOptions(
  width: 400,
  height: 400,
  padding: 70,
  scale: 2,
  overlays: [
    const StaticMapMarker(
      point: StaticMapLatLng(37.7860, -122.4258),
      color: Color(0xffC21DB3),
      size: 8,
      label: 'San Francisco',
      labelSize: 14,
      labelColor: Colors.black,
    ),
    const StaticMapMarker(
      point: StaticMapLatLng(40.7473, -73.9879),
      color: Color(0xffC21DB3),
      size: 8,
      label: 'New York City',
      labelSize: 14,
      labelColor: Colors.black,
    ),
  ],
);

The code above will generate the following static map: