Constructor
new GeoJsonShapefile()
Properties:
| Name | Type | Description |
|---|---|---|
onFailureCallback |
Object | callback(error) |
onSuccessCallback |
Object | callback(shapeRecords); |
- Version:
- 4.1.00
Methods
getShapeFile(dataSource)
Fetches shapefile and fires either the success or failure callback
Parameters:
| Name | Type | Description |
|---|---|---|
dataSource |
String | shapefile url or geojson string |