Module type for ol.PluggableMap
This commit is contained in:
@@ -18,7 +18,7 @@ import Layer from '../layer/Layer.js';
|
|||||||
* visible.
|
* visible.
|
||||||
* @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
|
* @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
|
||||||
* be visible.
|
* be visible.
|
||||||
* @property {ol.PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
|
* @property {module:ol/PluggableMap~PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
|
||||||
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
||||||
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
||||||
* use {@link ol.Map#addLayer}.
|
* use {@link ol.Map#addLayer}.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import {assign} from '../obj.js';
|
|||||||
* @property {number} [preload=0] Preload. Load low-resolution tiles up to `preload` levels. `0`
|
* @property {number} [preload=0] Preload. Load low-resolution tiles up to `preload` levels. `0`
|
||||||
* means no preloading.
|
* means no preloading.
|
||||||
* @property {ol.source.Tile} [source] Source for this layer.
|
* @property {ol.source.Tile} [source] Source for this layer.
|
||||||
* @property {ol.PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
|
* @property {module:ol/PluggableMap~PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
|
||||||
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
||||||
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
||||||
* use {@link ol.Map#addLayer}.
|
* use {@link ol.Map#addLayer}.
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import {createDefaultStyle, toFunction as toStyleFunction} from '../style/Style.
|
|||||||
* * `'vector'`: Vector layers are rendered as vectors. Most accurate rendering even during
|
* * `'vector'`: Vector layers are rendered as vectors. Most accurate rendering even during
|
||||||
* animations, but slower performance.
|
* animations, but slower performance.
|
||||||
* @property {ol.source.Vector} [source] Source.
|
* @property {ol.source.Vector} [source] Source.
|
||||||
* @property {ol.PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
|
* @property {module:ol/PluggableMap~PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
|
||||||
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
||||||
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
||||||
* use {@link ol.Map#addLayer}.
|
* use {@link ol.Map#addLayer}.
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ import {assign} from '../obj.js';
|
|||||||
*
|
*
|
||||||
* When `declutter` is set to `true`, `'hybrid'` will be used instead of `'image'`.
|
* When `declutter` is set to `true`, `'hybrid'` will be used instead of `'image'`.
|
||||||
* @property {ol.source.VectorTile} [source] Source.
|
* @property {ol.source.VectorTile} [source] Source.
|
||||||
* @property {ol.PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
|
* @property {module:ol/PluggableMap~PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
|
||||||
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
||||||
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
||||||
* use {@link ol.Map#addLayer}.
|
* use {@link ol.Map#addLayer}.
|
||||||
|
|||||||
Reference in New Issue
Block a user