Class to load JSON formated ShapeFile as output of the JSon Custom Map Converter.
This class loads JSON formated ShapeFile produced by the JSon Custom Map Converter. When loading the JSON file, it calls a iterator function each time a feature is read. This iterator function is provided as parameter to the constructor.
Parameter | Type | Description |
---|---|---|
params | Object | The parameters to initialize this JsonImport instance. |
See the dojox/geo/openlayers/_base.JsonImport reference documentation for more information.
Called when loading is complete.
Parameter | Type | Description |
---|---|---|
items | Object |
Called when an error occurs. Calls the error function is provided in the parameters.
Make a GeometryFeature with the specified points.
Parameter | Type | Description |
---|---|---|
s | Array | |
ulx | Float | |
uly | Float | |
lrx | Float | |
lry | Float | |
ulxLL | Float | |
ulyLL | Float | |
lrxLL | Float | |
lryLL | Float |
Make a geometry with the specified points.
Parameter | Type | Description |
---|---|---|
s | Array | |
ulx | Float | |
uly | Float | |
lrx | Float | |
lry | Float | |
ulxLL | Float | |
ulyLL | Float | |
lrxLL | Float | |
lryLL | Float |