GeoJsonParser class

A parser for GeoJSON files or URLs that converts GeoJSON geometries into CoffeeMapboxGeometryResponse objects, which include polylines and markers suitable for use with CoffeeMapbox.

Constructors

GeoJsonParser()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

parseFile(String path) → Future<List<CoffeeMapboxGeometryResponse>>
Reads a local GeoJSON file from path and parses it into a list of CoffeeMapboxGeometryResponse.
parseUrl(String url) → Future<List<CoffeeMapboxGeometryResponse>>
Fetches a GeoJSON from a remote url and parses it into a list of CoffeeMapboxGeometryResponse.