new GeoJSON(options)
Constructor principal de la clase.
| Name | Type | Description |
|---|---|---|
options |
olx.format.GeoJSONOptions |
Opciones del GeoJSON.
|
Extends
- ol.format.GeoJSON
Methods
-
module:IDEE/impl/format/GeoJSON~GeoJSON.applyIcon(feature, icon)
impl/ol/js/format/GeoJSON.js, line 163 -
Este método establece el estilo del icono de un objetos geográficos.
Name Type Description featureIDEE.Feature Objetos geográficos.
iconObject Objeto con las opciones del icono.
-
module:IDEE/impl/format/GeoJSON~GeoJSON.readProjectionFromObject(object){String}
impl/ol/js/format/GeoJSON.js, line 131 -
Este método obtiene la proyección a partir de un objeto GeoJSON.
Name Type Description objectObject Objeto GeoJSON.
Returns:
Proyección obtenida del objeto GeoJSON, si no obtiene ninguna devuelve por defecto EPSG:4326.
-
read(geojson, geojsonFeatures, projection){Array.<IDEE.Feature>}
impl/ol/js/format/GeoJSON.js, line 208 -
Este método lee objetos geográficos de una lista de objetos GeoJSON.
Name Type Description geojsonObject Objeto GeoJSON.
geojsonFeaturesArray.<Object> Lista de objetos GeoJSON.
projectionIDEE.Projection Proyección.
Returns:
Lista de objetos geográficos.
-
readFeatureFromObject(object, options){IDEE.Feature}
impl/ol/js/format/GeoJSON.js, line 49 -
Este método obtiene el objetos geográficos a partir de un objeto GeoJSON.
Name Type Description objectObject Objeto GeoJSON.
optionsObject Opciones.
Returns:
Objetos geográficos.
-
write(features){Array.<Object>}
impl/ol/js/format/GeoJSON.js, line 193 -
Este método escribe una lista de objetos geográficos en objetos GeoJSON.
Name Type Description featuresArray.<IDEE.Feature> Lista de objetos geográficos.
Returns:
Lista de objetos GeoJSON.
-
writeFeatureObject(feature, optionsParameters){Object}
impl/ol/js/format/GeoJSON.js, line 91 -
Este método escribe un objetos geográficos en un objeto GeoJSON.
Name Type Description featureIDEE.Feature Objetos geográficos a escribir.
optionsParametersObject Opciones.
Returns:
Objeto GeoJSON.