geojson2 library
Classes
- GeoJson
- The main geojson class
-
GeoJsonFeature<
T> - A geojson feature
- GeoJsonFeatureCollection
- A list of features
- GeoJsonGeometryCollection
- A geometry collection
- GeoJsonLine
- A line
- GeoJsonMultiLine
- A multiline
- GeoJsonMultiPoint
- Multiple points
- GeoJsonMultiPolygon
- A multipolygon
- GeoJsonPoint
- A point
- GeoJsonPolygon
- A polygon
- GeoJsonQuery
- A geojson query for search
Enums
- GeoJsonFeatureType
- Geojson feature types
- GeoSearchType
- The type of search to process
Functions
-
featuresFromGeoJson(
String data, {String? nameProperty, bool verbose = false}) → Future< GeoJsonFeatureCollection> - Get a feature collection from a geojson string
-
featuresFromGeoJsonFile(
File file, {String? nameProperty, bool verbose = false}) → Future< GeoJsonFeatureCollection> - Get a feature collection from a geojson file
-
featuresFromGeoJsonMainThread(
String data, {String? nameProperty, bool verbose = false}) → Future< GeoJsonFeatureCollection> - Get a feature collection from a geojson string using a parser in the main thread, without isolates: necessary for the web