interface MobileDrawOptions {
    minPoints?: number;
    style?: StyleLike;
    type: string;
    wrapX?: boolean;
}

Properties

minPoints?: number

The number of points that must be drawn before a polygon ring or line string can be finished. Default is 3 for polygon rings and 2 for line strings.

style?: StyleLike

Style for sketch features.

type: string

Drawing type ('Point' or 'LineString'.

wrapX?: boolean

Wrap the world horizontally on the sketch overlay. Default is false.