Introduce ol.render.Feature
This commit is contained in:
@@ -24,6 +24,7 @@ ol.source.VectorTile = function(options) {
|
||||
|
||||
goog.base(this, {
|
||||
attributions: options.attributions,
|
||||
cacheSize: ol.DEFAULT_TILE_CACHE_HIGH_WATER_MARK / 16,
|
||||
extent: options.extent,
|
||||
logo: options.logo,
|
||||
opaque: options.opaque,
|
||||
@@ -38,10 +39,6 @@ ol.source.VectorTile = function(options) {
|
||||
wrapX: options.wrapX
|
||||
});
|
||||
|
||||
this.assumeRightHandedPolygons_ =
|
||||
goog.isDef(options.assumeRightHandedPolygons) ?
|
||||
options.assumeRightHandedPolygons : false;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.format.Feature}
|
||||
@@ -60,14 +57,6 @@ ol.source.VectorTile = function(options) {
|
||||
goog.inherits(ol.source.VectorTile, ol.source.UrlTile);
|
||||
|
||||
|
||||
/**
|
||||
* @return {boolean} Assume right handed polygons.
|
||||
*/
|
||||
ol.source.VectorTile.prototype.getRightHandedPolygons = function() {
|
||||
return this.assumeRightHandedPolygons_;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user