new Simple(options, vendorOptions)
impl/ol/js/style/Simple.js, line 27
Constructor principal de la clase.
| Name | Type | Description |
|---|---|---|
options |
Object |
Opciones de la clase.
|
vendorOptions |
Object |
Opciones de proveedor para la biblioteca base. |
Methods
-
module:IDEE/impl/style/Simple~Simple.getValue(attr, olFeature, layer)
impl/ol/js/style/Simple.js, line 84 -
Este método de la clase obtiene el valor de la función con la que coincide la tecla el parámetro "attr"
Name Type Description attrstring | number | function Atributo o función.
olFeatureol.Feature Objeto geográfico de OpenLayers.
layerIDEE.layer.Vector Capas.
-
applyToFeature(feature)
impl/ol/js/style/Simple.js, line 70 -
Este método aplica los estilos a los objetos geográficos.
Name Type Description featureIDEE.Feature Objetos geográficos.
-
applyToLayer(layer)
impl/ol/js/style/Simple.js, line 52 -
Este método aplica los estilos a la capa.
Name Type Description layerIDEE.layer.Vector Capa.
-
clone(){IDEE.style.Simple}
impl/ol/js/style/Simple.js, line 116 -
Este método clona el estilo.
Returns:
Devuelve un "new Simple".
-
olStyleFn(){Object}
impl/ol/js/style/Simple.js, line 41 -
Este método obtiene la función de estilo de Openlayer de la Implementación.
Returns:
Implementación de Openlayers.