Merge pull request #1341 from twpayne/mapguide-clean-ups

Tidy up ol.source.MapGuide and add ratio option
This commit is contained in:
Tom Payne
2013-12-06 12:50:43 -08:00
3 changed files with 57 additions and 39 deletions

View File

@@ -632,14 +632,18 @@
/**
* @typedef {Object} ol.source.MapGuideOptions
* @property {string} url The mapagent url
* @property {number} metersPerUnit The meters-per-unit value
* @property {ol.Extent|undefined} extent Extent.
* @property {boolean} useOverlay If true, will use GETDYNAMICMAPOVERLAYIMAGE
* @property {string|undefined} url The mapagent url.
* @property {number|undefined} metersPerUnit The meters-per-unit value.
* @property {ol.Extent|undefined} extent Extent..
* @property {boolean|undefined} useOverlay If true, will use
* GETDYNAMICMAPOVERLAYIMAGE.
* @property {ol.proj.ProjectionLike} projection Projection.
* @property {number|undefined} ratio Ratio. 1 means image requests are the size
* of the map viewport, 2 means twice the size of the map viewport, and so
* on.
* @property {Array.<number>|undefined} resolutions Resolutions. If specified,
* requests will be made for these resolutions only.
* @property {Object} params additional parameters
* @property {Object|undefined} params Additional parameters.
*/
/**