From 8b23a44f8f392c17ab8dce8d59e2d48b0a97217f Mon Sep 17 00:00:00 2001 From: Florent gravin Date: Thu, 29 Mar 2018 10:13:19 +0200 Subject: [PATCH] Remove useless olx.source.TileArcGISRestOptions --- externs/olx.js | 136 ------------------------------------------------- 1 file changed, 136 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index c9d82d7420..506596fd03 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -49,142 +49,6 @@ olx.render.State.prototype.resolution; olx.render.State.prototype.rotation; -/** - * @typedef {{attributions: (ol.AttributionLike|undefined), - * cacheSize: (number|undefined), - * crossOrigin: (null|string|undefined), - * params: (Object.|undefined), - * tileGrid: (ol.tilegrid.TileGrid|undefined), - * projection: ol.ProjectionLike, - * reprojectionErrorThreshold: (number|undefined), - * tileLoadFunction: (ol.TileLoadFunctionType|undefined), - * url: (string|undefined), - * urls: (Array.|undefined), - * wrapX: (boolean|undefined), - * transition: (number|undefined)}} - */ -olx.source.TileArcGISRestOptions; - - -/** - * Attributions. - * @type {ol.AttributionLike|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.attributions; - - -/** - * Cache size. Default is `2048`. - * @type {number|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.cacheSize; - - -/** - * 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 - * {@link https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image} - * for more detail. - * @type {null|string|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.crossOrigin; - - -/** - * 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` will be set dynamically. Set `LAYERS` to - * override the default service layer visibility. See - * {@link http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Export_Map/02r3000000v7000000/} - * for further reference. - * @type {Object.|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.params; - - -/** - * Tile grid. Base this on the resolutions, tilesize and extent supported by the - * server. - * If this is not defined, a default grid will be used: if there is a projection - * extent, the grid will be based on that; if not, a grid based on a global - * extent with origin at 0,0 will be used. - * @type {ol.tilegrid.TileGrid|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.tileGrid; - - -/** - * Projection. - * @type {ol.ProjectionLike} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.projection; - - -/** - * Maximum allowed reprojection error (in pixels). Default is `0.5`. - * Higher values can increase reprojection performance, but decrease precision. - * @type {number|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.reprojectionErrorThreshold; - - -/** - * Optional function to load a tile given a URL. The default is - * ```js - * function(imageTile, src) { - * imageTile.getImage().src = src; - * }; - * ``` - * @type {ol.TileLoadFunctionType|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.tileLoadFunction; - - -/** - * ArcGIS Rest service URL for a Map Service or Image Service. The - * url should include /MapServer or /ImageServer. - * @type {string|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.url; - - -/** - * Whether to wrap the world horizontally. Default is `true`. - * @type {boolean|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.wrapX; - - -/** - * Duration of the opacity transition for rendering. To disable the opacity - * transition, pass `transition: 0`. - * @type {number|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.transition; - - -/** - * ArcGIS Rest service urls. Use this instead of `url` when the ArcGIS Service supports multiple - * urls for export requests. - * @type {Array.|undefined} - * @api - */ -olx.source.TileArcGISRestOptions.prototype.urls; - - /** * @typedef {{attributions: (ol.AttributionLike|undefined), * cacheSize: (number|undefined),