Options for map graticules.

interface GraticuleOptions {
    color?: ColorRepresentation;
    enabled?: boolean;
    opacity?: number;
    thickness?: number;
    xOffset?: number;
    xStep?: number;
    yOffset?: number;
    yStep?: number;
}

Properties

The graticule color.

enabled?: boolean

Enables the graticule.

opacity?: number

The graticule opacity.

thickness?: number

The graticule thickness, in CRS units.

xOffset?: number

The X coordinate of the starting point of the graticule, in CRS units.

xStep?: number

The distance between vertical lines, in CRS units.

yOffset?: number

The Y coordinate of the starting point of the graticule, in CRS units.

yStep?: number

The distance between horizontal lines, in CRS units.