Merge pull request #3015 from klokantech/utfgrid

UTFGrid Support
This commit is contained in:
Andreas Hocevar
2014-12-12 12:37:37 +01:00
5 changed files with 597 additions and 0 deletions

View File

@@ -3549,6 +3549,34 @@ olx.source.GPXOptions.prototype.url;
olx.source.GPXOptions.prototype.urls;
/**
* @typedef {{preemptive: (boolean|undefined),
* url: string}}
* @api
*/
olx.source.TileUTFGridOptions;
/**
* 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;
/**
* @type {string}
* @api
*/
olx.source.TileUTFGridOptions.prototype.url;
/**
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
* crossOrigin: (null|string|undefined),