new GeoJSON(options)
facade/js/format/GeoJSON.js, line 20
Constructor principal de la clase. Crea una capa con parámetros especificados por el usuario.
| Name | Type | Description |
|---|---|---|
options |
string | Object |
Parámetros opcionales.
|
Extends
- IDEE.facade.Base
Methods
-
read(geojson){Array.<IDEE.Feature>}
facade/js/format/GeoJSON.js, line 80 -
Este método lee los objetos geográficos "FeatureCollection" y los transforma a una matriz de "IDEE.Feature".
Name Type Description geojsonobject GeoJSON para analizar como un matriz IDEE.Feature.
Returns:
Matriz con objetos geográficos.
-
write(features){Array.<Object>}
facade/js/format/GeoJSON.js, line 61 -
Crea un GeoJSON con los objetos geográficos que se le pasa por parámetros.
Name Type Description featuresArray.<IDEE.Feature> Array de objetos geográficos que se transformará en un GeoJSON "FeatureCollection".
Returns:
Matriz con objetos "FeatureCollection".