Fix additional doc links
This commit is contained in:
@@ -36,7 +36,7 @@ import {listen, unlistenByKey} from '../events.js';
|
||||
* @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
|
||||
* be visible.
|
||||
* @property {SourceType} [source] Source for this layer. If not provided to the constructor,
|
||||
* the source can be set by calling {@link module:ol/layer/Layer#setSource layer.setSource(source)} after
|
||||
* the source can be set by calling {@link module:ol/layer/Layer~Layer#setSource layer.setSource(source)} after
|
||||
* construction.
|
||||
* @property {import("../PluggableMap.js").default} [map] Map.
|
||||
* @property {RenderFunction} [render] Render function. Takes the frame state as input and is expected to return an
|
||||
@@ -69,7 +69,7 @@ import {listen, unlistenByKey} from '../events.js';
|
||||
* Layers group together those properties that pertain to how the data is to be
|
||||
* displayed, irrespective of the source of that data.
|
||||
*
|
||||
* Layers are usually added to a map with {@link module:ol/Map#addLayer}. Components
|
||||
* Layers are usually added to a map with {@link import("../PluggableMap.js").default#addLayer map.addLayer()}. Components
|
||||
* like {@link module:ol/interaction/Select~Select} use unmanaged layers
|
||||
* internally. These unmanaged layers are associated with the map using
|
||||
* {@link module:ol/layer/Layer~Layer#setMap} instead.
|
||||
@@ -77,7 +77,7 @@ import {listen, unlistenByKey} from '../events.js';
|
||||
* A generic `change` event is fired when the state of the source changes.
|
||||
*
|
||||
* Please note that for performance reasons several layers might get rendered to
|
||||
* the same HTML element, which will cause {@link module:ol/Map~Map#forEachLayerAtPixel} to
|
||||
* the same HTML element, which will cause {@link import("../PluggableMap.js").default#forEachLayerAtPixel map.forEachLayerAtPixel()} to
|
||||
* give false positives. To avoid this, apply different `className` properties to the
|
||||
* layers at creation time.
|
||||
*
|
||||
@@ -237,12 +237,12 @@ class Layer extends BaseLayer {
|
||||
/**
|
||||
* Sets the layer to be rendered on top of other layers on a map. The map will
|
||||
* not manage this layer in its layers collection, and the callback in
|
||||
* {@link module:ol/Map#forEachLayerAtPixel} will receive `null` as layer. This
|
||||
* {@link module:ol/Map~Map#forEachLayerAtPixel} will receive `null` as layer. This
|
||||
* is useful for temporary layers. To remove an unmanaged layer from the map,
|
||||
* use `#setMap(null)`.
|
||||
*
|
||||
* To add the layer to a map and have it managed by the map, use
|
||||
* {@link module:ol/Map#addLayer} instead.
|
||||
* {@link module:ol/Map~Map#addLayer} instead.
|
||||
* @param {import("../PluggableMap.js").default} map Map.
|
||||
* @api
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user