Skip to content

Commit

Permalink
Fix setting of useInterimTilesOnError
Browse files Browse the repository at this point in the history
With the previous check it was always set to `true`.
  • Loading branch information
Roman Zoller committed Mar 23, 2018
1 parent 17a348e commit 7ebe53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ol/layer/VectorTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const VectorTileLayer = function(opt_options) {
VectorLayer.call(this, /** @type {module:ol/layer/Vector~Options} */ (baseOptions));

this.setPreload(options.preload ? options.preload : 0);
this.setUseInterimTilesOnError(options.useInterimTilesOnError ?
this.setUseInterimTilesOnError(options.useInterimTilesOnError !== undefined ?
options.useInterimTilesOnError : true);

/**
Expand Down

0 comments on commit 7ebe53d

Please sign in to comment.