Merge remote-tracking branch 'upstream/master' into vector-api
Conflicts: src/objectliterals.jsdoc src/ol/attribution.js src/ol/geom/geometry.js src/ol/geom/geometrycollection.js src/ol/geom/linestring.js src/ol/layer/vectorlayer.exports src/ol/layer/vectorlayer.js src/ol/map.js src/ol/proj/proj.js src/ol/renderer/canvas/canvasvectorlayerrenderer.js src/ol/source/imagewmssource.js src/ol/source/tilewmssource.js src/ol/source/vectorsource.exports src/ol/source/vectorsource.js src/ol/source/wmssource.js src/ol/style/style.js src/ol/tilegrid/tilegrid.js src/ol/tilegrid/wmtstilegrid.js src/ol/tilegrid/xyztilegrid.js
This commit is contained in:
@@ -17,14 +17,14 @@ ol.layer.VectorProperty = {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {ol.layer.Layer}
|
||||
* @param {ol.layer.VectorOptions=} opt_options Options.
|
||||
* @param {olx.layer.VectorOptions=} opt_options Options.
|
||||
*/
|
||||
ol.layer.Vector = function(opt_options) {
|
||||
|
||||
var options = goog.isDef(opt_options) ?
|
||||
opt_options : /** @type {ol.layer.VectorOptions} */ ({});
|
||||
opt_options : /** @type {olx.layer.VectorOptions} */ ({});
|
||||
|
||||
goog.base(this, /** @type {ol.layer.LayerOptions} */ (options));
|
||||
goog.base(this, /** @type {olx.layer.LayerOptions} */ (options));
|
||||
|
||||
// FIXME veryify this
|
||||
if (goog.isDef(options.styleFunction)) {
|
||||
|
||||
Reference in New Issue
Block a user