setOutlineOrder method
Method is used to specify the rendering order of the polyline’s outline.
order The rendering order value for the outline. Default: 0.
Returns true if the operation is successful, false otherwise.
Example:
// Set outline order
bool outlineOrderSuccess = _polylineMapObject!.setOutlineOrder(1);
print("Set polyline outline order to 1: $outlineOrderSuccess");
Implementation
@override
bool setOutlineOrder(int order) {
final _setOutlineOrderFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Pointer<Void>, Int32),
int Function(Pointer<Void>, int)
>('navigine_sdk_flutter_PolylineMapObject_setOutlineOrder__Order'));
final __resultHandle = _setOutlineOrderFfi(this.ptr, order);
final _result = (__resultHandle != 0);
exception.checkCallResult();
return _result;
}