Fixed some jsdoc issues.
This commit is contained in:
@@ -32,10 +32,6 @@ import {listen, unlistenByKey} from '../events.js';
|
||||
* visible.
|
||||
* @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
|
||||
* be visible.
|
||||
* @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
|
||||
* visible.
|
||||
* @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
|
||||
* be visible.
|
||||
* @property {Array<import("./Base.js").default>|import("../Collection.js").default<import("./Base.js").default>} [layers] Child layers.
|
||||
*/
|
||||
|
||||
|
||||
@@ -163,6 +163,7 @@ class ImageStyle {
|
||||
/**
|
||||
* Get the image pixel ratio.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @return {number} Pixel ratio.
|
||||
*/
|
||||
getPixelRatio(pixelRatio) {
|
||||
return 1;
|
||||
|
||||
@@ -243,6 +243,7 @@ class RegularShape extends ImageStyle {
|
||||
/**
|
||||
* Get the image pixel ratio.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @return {number} Pixel ratio.
|
||||
*/
|
||||
getPixelRatio(pixelRatio) {
|
||||
return pixelRatio;
|
||||
|
||||
Reference in New Issue
Block a user