From e24d093d28961f7407d9f16cbf6aee025d574a73 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 27 Dec 2016 13:40:02 -0700 Subject: [PATCH] Private enum for vector tile property --- src/ol/layer/vectortile.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ol/layer/vectortile.js b/src/ol/layer/vectortile.js index 7b61343db2..6c3054b08a 100644 --- a/src/ol/layer/vectortile.js +++ b/src/ol/layer/vectortile.js @@ -55,7 +55,7 @@ ol.inherits(ol.layer.VectorTile, ol.layer.Vector); * @api */ ol.layer.VectorTile.prototype.getPreload = function() { - return /** @type {number} */ (this.get(ol.layer.VectorTile.Property.PRELOAD)); + return /** @type {number} */ (this.get(ol.layer.VectorTile.Property_.PRELOAD)); }; @@ -75,7 +75,7 @@ ol.layer.VectorTile.prototype.getRenderMode = function() { */ ol.layer.VectorTile.prototype.getUseInterimTilesOnError = function() { return /** @type {boolean} */ ( - this.get(ol.layer.VectorTile.Property.USE_INTERIM_TILES_ON_ERROR)); + this.get(ol.layer.VectorTile.Property_.USE_INTERIM_TILES_ON_ERROR)); }; @@ -104,8 +104,9 @@ ol.layer.VectorTile.prototype.setUseInterimTilesOnError = function(useInterimTil /** * @enum {string} + * @private */ -ol.layer.VectorTile.Property = { +ol.layer.VectorTile.Property_ = { PRELOAD: 'preload', USE_INTERIM_TILES_ON_ERROR: 'useInterimTilesOnError' };