This repository was archived by the owner on May 27, 2024. It is now read-only.
This repository was archived by the owner on May 27, 2024. It is now read-only.
Exception when trying to parse geojson #30
Open
Description
I am trying to load and parse simple geojson:
Future<void> parse() async {
final geojson = GeoJson();
String json="{\n" +
" \"type\": \"Point\",\n" +
" \"coordinates\": [\n" +
" -105.01621,\n" +
" 39.57422\n" +
" ]\n" +
"}";
await geojson.parse(json);
}
and I am getting exception:
NoSuchMethodError: The getter 'iterator' was called on null.
Receiver: null
Tried calling: iterator
JSON is valid, what am I doing wrong?
Metadata
Metadata
Assignees
Labels
No labels