setOrder abstract method

bool setOrder(
  1. int order
)

Method is used to specify the rendering order of the polyline. order The rendering order value. Default: 0. Returns true if the operation is successful, false otherwise.

Example:

// Set rendering order
bool orderSuccess = _polylineMapObject!.setOrder(2);
print("Set rendering order to 2: $orderSuccess");

Implementation

bool setOrder(int order);