From d37e04e8f342b752ef720c5fe5887a8ea5fa8bf7 Mon Sep 17 00:00:00 2001 From: William Wall Date: Tue, 25 Sep 2018 14:00:23 -0600 Subject: [PATCH] Fix type checks in ImageArcGISRest Added proper @link tags to links in descriptions. Fixed unclosed backtick. Made params optional like the description says. --- src/ol/source/ImageArcGISRest.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ol/source/ImageArcGISRest.js b/src/ol/source/ImageArcGISRest.js index 9f160bfc15..a7ef921e35 100644 --- a/src/ol/source/ImageArcGISRest.js +++ b/src/ol/source/ImageArcGISRest.js @@ -18,16 +18,16 @@ import {appendParams} from '../uri.js'; * @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 * 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 * the remote server. * @property {import("../Image.js").LoadFunction} [imageLoadFunction] Optional function to load an image given * a URL. - * @property {Object} params ArcGIS Rest parameters. This field is optional. Service + * @property {Object} [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 - * `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 - * 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. * @property {import("../proj.js").ProjectionLike} projection Projection. * @property {number} [ratio=1.5] Ratio. `1` means image requests are the size of the map viewport,