Module: IDEE/impl/style/builder

IDEE/impl/style/builder


Members

module:IDEE/impl/style/builder.iconCache{Object}

Esta función devuelve el icono.

Methods

module:IDEE/impl/style/builder.getFill(options, featureVariable, layer){Object}

impl/ol/js/style/builder.js, line 33

Esta función devuelve el relleno.

Name Type Description
options Object

Opciones ("color" y "opacity").

featureVariable Object

Objetos geográficos.

layer Object

Capa.

Returns:
Devuelve el relleno.

module:IDEE/impl/style/builder.getFillPatern(options, featureVariable, layer){Object}

impl/ol/js/style/builder.js, line 337

Esta función devuelve el relleno.

Name Type Description
options Object

Opciones ("color", "width", "size", "spacing", "image", "angle", "scale", "offset" y "fill").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve el relleno.

module:IDEE/impl/style/builder.getIconForm(options, featureVariable, layer){Object}

impl/ol/js/style/builder.js, line 284

Esta función devuelve la forma del icono.

Name Type Description
options Object

Opciones ("form", "gradient", "glyph", "fontSize", "radius", "rotation", "rotateWithView", "offsetX", "offsetY", "fill", "stroke", "anchor", "anchorXUnits", "anchorYUnits", "src", "opacity", "scale", "snapToPixel", "offsetOrigin", "offset", "crossOrigin", "anchorOrigin" y "size").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve la forma del icono.

module:IDEE/impl/style/builder.getIconSrc(options, featureVariable, layer){Object}

impl/ol/js/style/builder.js, line 224

Esta función devuelve el icono.

Name Type Description
options Object

Opciones ("anchor", "anchorXUnits", "anchorYUnits", "src", "opacity", "scale", "rotation", "rotateWithView", "snapToPixel", "offsetOrigin", "offset", "crossOrigin", "anchorOrigin" y "size").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve el icono.

module:IDEE/impl/style/builder.getLabel(options, featureVariable, layer){Object}

impl/ol/js/style/builder.js, line 154

Esta función devuelve la etiqueta.

Name Type Description
options Object

Opciones ("text", "align", "baseline", "font", "rotateWithView", "scale", "offsetX", "offsetY", "fill", "textAlign", "textBaseline", "text" y "rotation").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve la etiqueta.

module:IDEE/impl/style/builder.getLineStroke(options, featureVariable, layer){Object}

impl/ol/js/style/builder.js, line 402

Esta función devuelve el trazo de la línea.

Name Type Description
options Object

Opciones ("color", "opacity" y "width").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve el trazo de la línea.

module:IDEE/impl/style/builder.getLineStyle(options, featureVariable, layer){Array}

impl/ol/js/style/builder.js, line 547

Esta función devuelve el estilo de la línea.

Name Type Description
options Object

Opciones ("fill").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve el estilo de la línea.

module:IDEE/impl/style/builder.getLineText(options, featureVariable, layer){Object}

impl/ol/js/style/builder.js, line 436

Esta función devuelve el texto de la línea.

Name Type Description
options Object

Opciones ("color", "width", "lineCap", "lineJoin", "lineDash", "lineDashOffset" y "miterLimit").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve el texto de la línea.

module:IDEE/impl/style/builder.getPointStyle(options, featureVariable, layer){Array}

impl/ol/js/style/builder.js, line 496

Esta función devuelve el estilo del punto.

Name Type Description
options Object

Opciones ("radius", "snapToPixel", "src", "form" y "label").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve el estilo del punto.

module:IDEE/impl/style/builder.getPolygonStyle(options, featureVariable, layer){Array}

impl/ol/js/style/builder.js, line 589

Esta función devuelve el estilo del polígono.

Name Type Description
options Object

Opciones ("fill", "stroke" y "label").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve el estilo del polígono.

module:IDEE/impl/style/builder.getStroke(options, featureVariable, layer){Object}

impl/ol/js/style/builder.js, line 65

Esta función devuelve el borde.

Name Type Description
options Object

Opciones ("color", "opacity", "width", "lineDash", "lineDashOffset", "lineCap", "lineJoin" y "miterLimit").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve el borde.

module:IDEE/impl/style/builder.getStrokePatern(options, featureVariable, layer){Object}

impl/ol/js/style/builder.js, line 106

Esta función devuelve el patrón del borde.

Name Type Description
options Object

Opciones ("color", "opacity", "width", "size", "spacing", "image", "angle", "scale", "offset" y "fill").

featureVariable Object

Objetos geográficos.

layer Object

Capas.

Returns:
Devuelve el borde.