Namespace: Vector

Vector

Vector data that is rendered client-side.

See:

Methods


setRender3D(r)

ol.layer.Vector.prototype.setRender3D

Parameters:
Name Type Description
r ol.render3D

setTextPathStyle(style, maxResolution)

Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. If it is undefined the default style is used. If it is null the layer has no style (a null style). See ol.style for information on the default style.

Parameters:
Name Type Description
style ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction
maxResolution Number

to display text, default: 0