Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
473 changes: 416 additions & 57 deletions dist/georaster.browser.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/georaster.browser.bundle.min.js

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions dist/georaster.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/georaster.bundle.min.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,14 @@ class GeoRaster {
this._data = data;
this.rasterType = 'geotiff';
this.sourceType = 'ArrayBuffer';
this._metadata = metadata;
} else if (Array.isArray(data) && metadata) {
this._data = data;
this.rasterType = 'object';
this._metadata = metadata;
}
if ( metadata && metadata.readOnDemand !== undefined ) {
this.readOnDemand = metadata.readOnDemand;
}
this._metadata = metadata;

if (debug) console.log('this after construction:', this);
}
Expand Down