Members
-
module:ol/render/canvas.labelCache{?}
-
The label cache for text rendering. To change the default cache size of 2048 entries, use
module:ol/structs/LRUCache#setSize. Deprecated - there is no label cache any more.- Deprecated
- Yes
Type Definitions
-
DeclutterImageWithText{Object.<number, module:ol/render/canvas/Executor~ReplayImageOrLabelArgs>}
-
-
FillState{Object}
-
Properties:
Name Type Description fillStylemodule:ol/colorlike~ColorLike -
FillStrokeState{Object}
-
Properties:
Name Type Argument Description currentFillStylemodule:ol/colorlike~ColorLike <optional>
currentStrokeStylemodule:ol/colorlike~ColorLike <optional>
currentLineCapCanvasLineCap <optional>
currentLineDashArray.<number> currentLineDashOffsetnumber <optional>
currentLineJoinCanvasLineJoin <optional>
currentLineWidthnumber <optional>
currentMiterLimitnumber <optional>
lastStrokenumber <optional>
fillStylemodule:ol/colorlike~ColorLike <optional>
strokeStylemodule:ol/colorlike~ColorLike <optional>
lineCapCanvasLineCap <optional>
lineDashArray.<number> lineDashOffsetnumber <optional>
lineJoinCanvasLineJoin <optional>
lineWidthnumber <optional>
miterLimitnumber <optional>
-
Label
-
Properties:
Name Type Description widthnumber heightnumber contextInstructionsArray.<(string|number)> -
SerializableInstructions{Object}
-
Properties:
Name Type Argument Description instructionsArray.<*> The rendering instructions.
hitDetectionInstructionsArray.<*> The rendering hit detection instructions.
coordinatesArray.<number> The array of all coordinates.
textStatesObject.<string, module:ol/render/canvas~TextState> <optional>
The text states (decluttering).
fillStatesObject.<string, module:ol/render/canvas~FillState> <optional>
The fill states (decluttering).
strokeStatesObject.<string, module:ol/render/canvas~StrokeState> <optional>
The stroke states (decluttering).
-
StrokeState{Object}
-
Properties:
Name Type Description lineCapCanvasLineCap lineDashArray.<number> lineDashOffsetnumber lineJoinCanvasLineJoin lineWidthnumber miterLimitnumber strokeStylemodule:ol/colorlike~ColorLike -
TextState{Object}
-
Properties:
Name Type Argument Description fontstring textAlignstring <optional>
textBaselinestring placementstring <optional>
maxAnglenumber <optional>
overflowboolean <optional>
backgroundFillmodule:ol/style/Fill~Fill <optional>
backgroundStrokemodule:ol/style/Stroke~Stroke <optional>
scalemodule:ol/size~Size <optional>
paddingArray.<number> <optional>
OpenLayers