Methods
-
module:M/impl/RenderFeature~RenderFeature.facade2OLFeature(facadeFeature){OLFeature}
impl/ol/feature/RenderFeature.js, line 97 -
This funcion transform M.Feature to OLFeature
Name Type Description facadeFeature
M.Feature M.Feature
Returns:
olFeature - OLFeature
-
module:M/impl/RenderFeature~RenderFeature.olFeature2Facade(olFeature, canBeModified){M.Feature}
impl/ol/feature/RenderFeature.js, line 79 -
This funcion transform OLFeature to M.Feature
Name Type Description olFeature
OLFeature OLFeature
canBeModified
boolean Returns:
facadeFeature - M.Feature
-
getAttribute(attribute){string|number|object}
impl/ol/feature/RenderFeature.js, line 110 -
This function returns the value of the indicated attribute
Name Type Description attribute
string Name attribute
Returns:
returns the value of the indicated attribute
-
getAttributes(){Object}
impl/ol/feature/RenderFeature.js, line 64 -
This function return attributes feature
Returns:
Attributes feature
-
This function returns de centroid of feature
-
getOLFeature(){OLFeature}
impl/ol/feature/RenderFeature.js, line 29 -
This function returns the openlayers object of the features
Returns:
returns the openlayers object of the features
-
getType(){string}
impl/ol/feature/RenderFeature.js, line 40 -
Get geometry type of the feature.
-
setFacadeObj(obj)
impl/ol/feature/RenderFeature.js, line 121 -
This function set facade class vector
Name Type Description obj
object Facade vector
-
setOLFeature(olFeature)
impl/ol/feature/RenderFeature.js, line 51 -
This function set the openlayers object of the features
Name Type Description olFeature
OLFeature ol Feature to feature