Use 'module:ol/plugins~MapRendererPlugin' instead of 'olx.MapRendererPlugin'
This commit is contained in:
@@ -80,7 +80,7 @@ import {create as createTransform, apply as applyTransform} from './transform.js
|
||||
* @property {module:ol/Collection~Collection.<module:ol/interaction/Interaction~Interaction>} [interactions]
|
||||
* @property {Element|Document} keyboardEventTarget
|
||||
* @property {module:ol/Collection~Collection.<module:ol/Overlay~Overlay>} overlays
|
||||
* @property {olx.MapRendererPlugin} mapRendererPlugin
|
||||
* @property {module:ol/plugins~MapRendererPlugin} mapRendererPlugin
|
||||
* @property {Object.<string, *>} values
|
||||
*/
|
||||
|
||||
@@ -1461,7 +1461,7 @@ function createOptionsInternal(options) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @type {olx.MapRendererPlugin}
|
||||
* @type {module:ol/plugins~MapRendererPlugin}
|
||||
*/
|
||||
let mapRendererPlugin;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ const mapRendererPlugins = [];
|
||||
|
||||
/**
|
||||
* Get all registered map renderer plugins.
|
||||
* @return {Array<olx.MapRendererPlugin>} The registered map renderer plugins.
|
||||
* @return {Array<module:ol/plugins~MapRendererPlugin>} The registered map renderer plugins.
|
||||
*/
|
||||
export function getMapRendererPlugins() {
|
||||
return mapRendererPlugins;
|
||||
@@ -66,7 +66,7 @@ export function register(type, plugin) {
|
||||
switch (type) {
|
||||
case PluginType.MAP_RENDERER: {
|
||||
plugins = mapRendererPlugins;
|
||||
plugins.push(/** @type {olx.MapRendererPlugin} */ (plugin));
|
||||
plugins.push(/** @type {module:ol/plugins~MapRendererPlugin} */ (plugin));
|
||||
break;
|
||||
}
|
||||
case PluginType.LAYER_RENDERER: {
|
||||
|
||||
Reference in New Issue
Block a user