update utf
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:geojson/geojson.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
@ -21,7 +23,7 @@ class LocationService{
|
||||
// });
|
||||
|
||||
|
||||
return featuresFromGeoJson(response.body);
|
||||
return featuresFromGeoJson(utf8.decode(response.bodyBytes));
|
||||
// await geo.parse(response.body, verbose:true);
|
||||
|
||||
// return fs;
|
||||
|
||||
Reference in New Issue
Block a user