coordinates property
Corners of image specified in longitude, latitude pairs. Note: When using globe projection, the image will be centered at the North or South Pole in the respective hemisphere if the average latitude value exceeds 85 degrees or falls below -85 degrees.
Implementation
Future<List<List<double?>?>?> get coordinates async {
return _style?.getStyleSourceProperty(id, "coordinates").then((value) {
if (value.value != null) {
return List<List<double>>.from((value.value as List<dynamic>)
.map((e) => List<double>.from(e as List<dynamic>)));
} else {
return null;
}
});
}