PlacemarkIcon.composite constructor

PlacemarkIcon.composite(
  1. List<PlacemarkCompositeIconItem> iconParts
)

Used to describe a set of icons to be used as part of a single icon to represent a PlacemarkMapObject on the map.

Implementation

factory PlacemarkIcon.composite(List<PlacemarkCompositeIconItem> iconParts) {
  return PlacemarkIcon._({
    'type': 'composite',
    'iconParts': iconParts.map((e) => e.toJson()).toList()
  });
}