Merge pull request #947 from elemoine/attribution

Make ol.Attribution take an options object
This commit is contained in:
Éric Lemoine
2013-09-02 03:10:41 -07:00
13 changed files with 96 additions and 64 deletions

View File

@@ -1,3 +1,10 @@
/**
* @typedef {Object} ol.AttributionOptions
* @property {string} html HTML markup for this attribution.
* @property {Object.<string, Array.<ol.TileRange>>|undefined} tileRanges
* Tile ranges (FOR INTERNAL USE ONLY).
*/
/**
* @typedef {Object} ol.DeviceOrientationOptions
* @property {boolean|undefined} tracking Tracking.