Fix type checks in ImageArcGISRest
Added proper @link tags to links in descriptions. Fixed unclosed backtick. Made params optional like the description says.
This commit is contained in:
@@ -18,16 +18,16 @@ import {appendParams} from '../uri.js';
|
|||||||
* @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
|
* @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
|
||||||
* you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to
|
* you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to
|
||||||
* access pixel data with the Canvas renderer. See
|
* access pixel data with the Canvas renderer. See
|
||||||
* https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
|
* {@link https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image} for more detail.
|
||||||
* @property {boolean} [hidpi=true] Use the `ol/Map#pixelRatio` value when requesting the image from
|
* @property {boolean} [hidpi=true] Use the `ol/Map#pixelRatio` value when requesting the image from
|
||||||
* the remote server.
|
* the remote server.
|
||||||
* @property {import("../Image.js").LoadFunction} [imageLoadFunction] Optional function to load an image given
|
* @property {import("../Image.js").LoadFunction} [imageLoadFunction] Optional function to load an image given
|
||||||
* a URL.
|
* a URL.
|
||||||
* @property {Object<string,*>} params ArcGIS Rest parameters. This field is optional. Service
|
* @property {Object<string,*>} [params] ArcGIS Rest parameters. This field is optional. Service
|
||||||
* defaults will be used for any fields not specified. `FORMAT` is `PNG32` by default. `F` is
|
* defaults will be used for any fields not specified. `FORMAT` is `PNG32` by default. `F` is
|
||||||
* `IMAGE` by default. `TRANSPARENT` is `true` by default. `BBOX, `SIZE`, `BBOXSR`, and `IMAGESR`
|
* `IMAGE` by default. `TRANSPARENT` is `true` by default. `BBOX`, `SIZE`, `BBOXSR`, and `IMAGESR`
|
||||||
* will be set dynamically. Set `LAYERS` to override the default service layer visibility. See
|
* will be set dynamically. Set `LAYERS` to override the default service layer visibility. See
|
||||||
* http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Export_Map/02r3000000v7000000/
|
* {@link http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Export_Map/02r3000000v7000000/}
|
||||||
* for further reference.
|
* for further reference.
|
||||||
* @property {import("../proj.js").ProjectionLike} projection Projection.
|
* @property {import("../proj.js").ProjectionLike} projection Projection.
|
||||||
* @property {number} [ratio=1.5] Ratio. `1` means image requests are the size of the map viewport,
|
* @property {number} [ratio=1.5] Ratio. `1` means image requests are the size of the map viewport,
|
||||||
|
|||||||
Reference in New Issue
Block a user