getBounds method
Get the db envelope.
@return the array w, e, s, n
of the dataset.
Implementation
List<double> getBounds() {
checkMetadata();
String? boundsWSEN = metadataMap?["bounds"];
if (boundsWSEN == null) {
return [-180, 180, -90, 90];
}
var split = boundsWSEN.split(",");
double w = double.parse(split[0]);
double s = double.parse(split[1]);
double e = double.parse(split[2]);
double n = double.parse(split[3]);
return [w, e, s, n];
}