Marker.fromRectangle constructor

Marker.fromRectangle(
  1. Coordinates topLeft,
  2. Coordinates bottomRight
)

Construct a rectangle shape marker.

Parameters

  • IN topLeft Top left corner coordinates
  • IN bottomRight Bottom right corner coordinates

Implementation

factory Marker.fromRectangle(
    final Coordinates topLeft, final Coordinates bottomRight) {
  return Marker._createFromRectangle(topLeft, bottomRight);
}