Skip to content

Commit

Permalink
Set to nocache in ol large example
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornharrtell committed Mar 11, 2024
1 parent 92ac97f commit c9bd51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/openlayers/large.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
// Use flatgeobuf JavaScript API to iterate features as geojson.
// Because we specify a bounding box, flatgeobuf will only fetch the relevant subset of data,
// rather than the entire file.
let iter = flatgeobuf.deserialize('https://flatgeobuf.septima.dk/population_areas.fgb', rect);
let iter = flatgeobuf.deserialize('https://flatgeobuf.septima.dk/population_areas.fgb', rect, undefined, true);
const features = []
for await (let feature of iter) {
feature.getGeometry().transform('EPSG:4326', 'EPSG:3857')
Expand Down

0 comments on commit c9bd51c

Please sign in to comment.