Correct types

This commit is contained in:
Tim Schaub
2017-08-15 15:30:10 -04:00
parent 8e90976bf2
commit 8a08ab6463
29 changed files with 67 additions and 67 deletions

View File

@@ -21,7 +21,7 @@ goog.require('ol.source.State');
* @constructor
* @extends {ol.renderer.Map}
* @param {Element} container Container.
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @api
*/
ol.renderer.canvas.Map = function(container, map) {
@@ -75,7 +75,7 @@ ol.renderer.canvas.Map['handles'] = function(type) {
/**
* Create the map renderer.
* @param {Element} container Container.
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @return {ol.renderer.canvas.Map} The map renderer.
*/
ol.renderer.canvas.Map['create'] = function(container, map) {

View File

@@ -147,7 +147,7 @@ ol.renderer.Layer.prototype.scheduleExpireCache = function(frameState, tileSourc
if (tileSource.canExpireCache()) {
/**
* @param {ol.source.Tile} tileSource Tile source.
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @param {olx.FrameState} frameState Frame state.
*/
var postRenderFunction = function(tileSource, map, frameState) {

View File

@@ -17,7 +17,7 @@ goog.require('ol.transform');
* @abstract
* @extends {ol.Disposable}
* @param {Element} container Container.
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @struct
*/
ol.renderer.Map = function(container, map) {
@@ -27,7 +27,7 @@ ol.renderer.Map = function(container, map) {
/**
* @private
* @type {ol.Map}
* @type {ol.PluggableMap}
*/
this.map_ = map;
@@ -78,7 +78,7 @@ ol.renderer.Map.prototype.disposeInternal = function() {
/**
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @param {olx.FrameState} frameState Frame state.
* @private
*/
@@ -249,7 +249,7 @@ ol.renderer.Map.prototype.getLayerRenderers = function() {
/**
* @return {ol.Map} Map.
* @return {ol.PluggableMap} Map.
*/
ol.renderer.Map.prototype.getMap = function() {
return this.map_;
@@ -296,7 +296,7 @@ ol.renderer.Map.prototype.renderFrame = ol.nullFunction;
/**
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @param {olx.FrameState} frameState Frame state.
* @private
*/

View File

@@ -28,7 +28,7 @@ if (ol.ENABLE_WEBGL) {
* @constructor
* @extends {ol.renderer.Map}
* @param {Element} container Container.
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @api
*/
ol.renderer.webgl.Map = function(container, map) {
@@ -133,7 +133,7 @@ if (ol.ENABLE_WEBGL) {
/**
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @param {?olx.FrameState} frameState Frame state.
* @return {boolean} false.
* @this {ol.renderer.webgl.Map}
@@ -177,7 +177,7 @@ if (ol.ENABLE_WEBGL) {
/**
* Create the map renderer.
* @param {Element} container Container.
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @return {ol.renderer.webgl.Map} The map renderer.
*/
ol.renderer.webgl.Map['create'] = function(container, map) {
@@ -301,7 +301,7 @@ if (ol.ENABLE_WEBGL) {
/**
* @param {ol.Map} map Map.
* @param {ol.PluggableMap} map Map.
* @param {olx.FrameState} frameState Frame state.
* @private
*/