fromHttp static method

Future<Atlas> fromHttp(
  1. String atlasURL
)

Loads an Atlas from the URL atlasURL.

Throws an Exception in case the atlas could not be loaded.

Implementation

static Future<Atlas> fromHttp(String atlasURL) async {
  return _load(atlasURL, (file) async {
    return (await http.get(Uri.parse(file))).bodyBytes;
  });
}