coordinates property

Future<List<List<double?>?>?> get coordinates

Corners of image specified in longitude, latitude pairs.

Implementation

Future<List<List<double?>?>?> get coordinates async {
  return _style?.getStyleSourceProperty(id, "coordinates").then((value) {
    if (value.value != '<null>') {
      return (json.decode(value.value) as List).cast<List<double>>();
    } else {
      return null;
    }
  });
}