Marker.fromCoords constructor
- List<
Coordinates> coordinates
Create a marker from a list of geographic coordinates.
The created marker will contain a single part populated with the provided coordinates.
Parameters
coordinates: A list of Coordinates that will be assigned to the marker's first part.
Returns
- A new Marker instance initialized with the provided coordinates.
Implementation
factory Marker.fromCoords(final List<Coordinates> coordinates) {
return Marker._createFromCoords(coordinates);
}