Module type for ol.PluggableMap
This commit is contained in:
@@ -145,7 +145,7 @@ LayerRenderer.prototype.scheduleExpireCache = function(frameState, tileSource) {
|
||||
if (tileSource.canExpireCache()) {
|
||||
/**
|
||||
* @param {ol.source.Tile} tileSource Tile source.
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
|
||||
*/
|
||||
const postRenderFunction = function(tileSource, map, frameState) {
|
||||
|
||||
@@ -17,7 +17,7 @@ import {compose as composeTransform, invert as invertTransform, setFromArray as
|
||||
* @abstract
|
||||
* @extends {module:ol/Disposable~Disposabl}
|
||||
* @param {Element} container Container.
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @struct
|
||||
*/
|
||||
const MapRenderer = function(container, map) {
|
||||
@@ -26,7 +26,7 @@ const MapRenderer = function(container, map) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.PluggableMap}
|
||||
* @type {module:ol/PluggableMap~PluggableMap}
|
||||
*/
|
||||
this.map_ = map;
|
||||
|
||||
@@ -78,7 +78,7 @@ MapRenderer.prototype.removeLayerRenderers = function() {
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
|
||||
*/
|
||||
function expireIconCache(map, frameState) {
|
||||
@@ -246,7 +246,7 @@ MapRenderer.prototype.getLayerRenderers = function() {
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.PluggableMap} Map.
|
||||
* @return {module:ol/PluggableMap~PluggableMap} Map.
|
||||
*/
|
||||
MapRenderer.prototype.getMap = function() {
|
||||
return this.map_;
|
||||
@@ -293,7 +293,7 @@ MapRenderer.prototype.renderFrame = UNDEFINED;
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
|
||||
* @private
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@ import SourceState from '../../source/State.js';
|
||||
* @constructor
|
||||
* @extends {ol.renderer.Map}
|
||||
* @param {Element} container Container.
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @api
|
||||
*/
|
||||
const CanvasMapRenderer = function(container, map) {
|
||||
@@ -76,7 +76,7 @@ CanvasMapRenderer['handles'] = function(type) {
|
||||
/**
|
||||
* Create the map renderer.
|
||||
* @param {Element} container Container.
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @return {ol.renderer.canvas.Map} The map renderer.
|
||||
*/
|
||||
CanvasMapRenderer['create'] = function(container, map) {
|
||||
|
||||
@@ -36,7 +36,7 @@ const WEBGL_TEXTURE_CACHE_HIGH_WATER_MARK = 1024;
|
||||
* @constructor
|
||||
* @extends {ol.renderer.Map}
|
||||
* @param {Element} container Container.
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @api
|
||||
*/
|
||||
const WebGLMapRenderer = function(container, map) {
|
||||
@@ -141,7 +141,7 @@ const WebGLMapRenderer = function(container, map) {
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @param {?module:ol/PluggableMap~FrameState} frameState Frame state.
|
||||
* @return {boolean} false.
|
||||
* @this {ol.renderer.webgl.Map}
|
||||
@@ -186,7 +186,7 @@ WebGLMapRenderer['handles'] = function(type) {
|
||||
/**
|
||||
* Create the map renderer.
|
||||
* @param {Element} container Container.
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @return {ol.renderer.webgl.Map} The map renderer.
|
||||
*/
|
||||
WebGLMapRenderer['create'] = function(container, map) {
|
||||
@@ -310,7 +310,7 @@ WebGLMapRenderer.prototype.disposeInternal = function() {
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~PluggableMap} map Map.
|
||||
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
|
||||
* @private
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user