Other Properties

Feedback


Point2D

Used to describe the coordinate information of a two-dimensional point.

Attribute Type Description

x

number

[Required]

The x coordinate value.

y

number

[Required]

The y coordinate value.

Rectangle2D

Used to determine a rectangular area, which can be used to represent the smallest bounding rectangle of a geometric object, the visible range of the map window, and the geographic range of the dataset.

Attribute Type Description

leftBottom

Point2D

[Required]

The coordinates of the bottom left corner of the rectangle object.

rightTop

Point2D

[Required]

The coordinates of the upper right corner of the rectangle object.

VisibleScale

Used to define the visible scale range of a layer.

Attribute Type Description

minScale

string

The minimum visible scale of the layer.

maxScale

string

The maximum visible scale of the layer.

Graticule

Used to define the relevant information of the latitude and longitude grid added to the map.

Attribute Type Description

visible

boolean

The visibility of the graticule.

extent

array<number>

The graticule extent.

strokeColor

string

The color of the graticule line. The value is the hexadecimal code corresponding to the color, for example: "#0000ff".

strokeWidth

number

The width of the graticule line.

lineDash

array<number>

The graticule line style.

interval

array<number>

The graticule interval.

lonLabelStyle

LabelStyle

The style of the longitude line label.

latLabelStyle

LabelStyle

The style of the latitude line label.