Marker.custom constructor

const Marker.custom({
  1. required List<Location> locations,
  2. required String icon,
  3. MarkerAnchor? anchor,
})

Create marker with custom icon

Implementation

const factory Marker.custom({
  required List<Location> locations,
  required String icon,
  MarkerAnchor? anchor,
}) = CustomMarker;