geoPoints method
Implementation
Future<List<GeoPoint>> geoPoints() async {
var map = await html.promiseToFutureAsMap(interop.getGeoPoints(
mapIdMixin,
));
if (map == null || map["list"] == null) {
return [];
}
map = Map.from(map);
final mapGeoPoints = json.decode(map["list"]);
return (List.castFrom(mapGeoPoints))
.map((elem) => GeoPoint.fromMap(Map<String, double>.from(elem)))
.toList();
}