Type Definitions
-
experimental olx.style.CircleOptionsObject
-
Properties:
Name Type Description fillol.style.Fill | undefined Fill style.
radiusnumber Circle radius.
strokeol.style.Stroke | undefined Stroke style.
-
experimental olx.style.FillOptionsObject
-
Properties:
Name Type Description colorol.Color | string | undefined Color.
-
experimental olx.style.IconOptionsObject
-
Properties:
Name Type Description anchorArray.<number> | undefined Anchor. Default value is
[0.5, 0.5](icon center).anchorOriginol.style.IconAnchorOrigin | undefined Origin of the anchor:
bottom-left,bottom-right,top-leftortop-right. Default istop-left.anchorXUnitsol.style.IconAnchorUnits | undefined Units in which the anchor x value is specified. A value of
'fraction'indicates the x value is a fraction of the icon. A value of'pixels'indicates the x value in pixels. Default is'fraction'.anchorYUnitsol.style.IconAnchorUnits | undefined Units in which the anchor y value is specified. A value of
'fraction'indicates the y value is a fraction of the icon. A value of'pixels'indicates the y value in pixels. Default is'fraction'.crossOriginnull | string | undefined crossOrigin setting for image.
scalenumber | undefined Scale.
rotateWithViewboolean | undefined Whether to rotate the icon with the view. Default is
false.rotationnumber | undefined Rotation.
sizeol.Size | undefined Icon size in pixel.
srcstring Image source URI.
-
experimental olx.style.StrokeOptionsObject
-
Properties:
Name Type Description colorol.Color | string | undefined Color.
lineCapstring | undefined Line cap style:
butt,round, orsquare. Default isround.lineJoinstring | undefined Line join style:
bevel,round, ormiter. Default isround.lineDashArray.<number> | undefined Line dash pattern. Default is
undefined(no dash).miterLimitnumber | undefined Miter limit. Default is
10.widthnumber | undefined Width.
-
experimental olx.style.StyleOptionsObject
-
Properties:
Name Type Description fillol.style.Fill | undefined Fill style.
imageol.style.Image | undefined Image style.
strokeol.style.Stroke | undefined Stroke style.
textol.style.Text | undefined Text style.
zIndexnumber | undefined Z index.
-
experimental olx.style.TextOptionsObject
-
Properties:
Name Type Description fontstring | undefined Font.
offsetXnumber | undefined Horizontal text offset in pixels. A positive will shift the text right. Default is
0.offsetYnumber | undefined Vertical text offset in pixels. A positive will shift the text down. Default is
0.scalenumber | undefined Scale.
rotationnumber | undefined Rotation.
textstring | undefined Text.
textAlignstring | undefined Text alignment.
textBaselinestring | undefined Text base line.
fillol.style.Fill | undefined Fill style.
strokeol.style.Stroke | undefined Stroke style.
OpenLayers 3