Remove olx.source.TileUTFGridOptions

This commit is contained in:
Florent gravin
2018-03-28 17:27:45 +02:00
parent 1d99524ed1
commit 1bf17fecea
2 changed files with 18 additions and 50 deletions
-49
View File
@@ -49,55 +49,6 @@ olx.render.State.prototype.resolution;
olx.render.State.prototype.rotation;
/**
* @typedef {{preemptive: (boolean|undefined),
* jsonp: (boolean|undefined),
* tileJSON: (TileJSON|undefined),
* url: (string|undefined)}}
*/
olx.source.TileUTFGridOptions;
/**
* Use JSONP with callback to load the TileJSON. Useful when the server
* does not support CORS. Default is `false`.
* @type {boolean|undefined}
* @api
*/
olx.source.TileUTFGridOptions.prototype.jsonp;
/**
* If `true` the TileUTFGrid source loads the tiles based on their "visibility".
* This improves the speed of response, but increases traffic.
* Note that if set to `false`, you need to pass `true` as `opt_request`
* to the `forDataAtCoordinateAndResolution` method otherwise no data
* will ever be loaded.
* Default is `true`.
* @type {boolean|undefined}
* @api
*/
olx.source.TileUTFGridOptions.prototype.preemptive;
/**
* TileJSON configuration for this source. If not provided, `url` must be
* configured.
* @type {TileJSON|undefined}
* @api
*/
olx.source.TileUTFGridOptions.prototype.tileJSON;
/**
* TileJSON endpoint that provides the configuration for this source. Request
* will be made through JSONP. If not provided, `tileJSON` must be configured.
* @type {string|undefined}
* @api
*/
olx.source.TileUTFGridOptions.prototype.url;
/**
* @typedef {{cacheSize: (number|undefined),
* layer: string,