Add Graticule component

This commit is contained in:
Éric Lemoine
2014-06-04 14:56:44 +02:00
committed by Andreas Hocevar
parent 9c70a49fb0
commit 9bd1ab78fc
3 changed files with 492 additions and 0 deletions

View File

@@ -106,6 +106,41 @@ olx.GeolocationOptions.prototype.projection;
olx.LogoOptions;
/**
* @typedef {{map: (ol.Map|undefined),
* maxLines: (number|undefined),
* targetSize: (number|undefined)}}
*/
olx.GraticuleOptions;
/**
* Reference to an `ol.Map` object.
* @type {ol.Map|undefined}
*/
olx.GraticuleOptions.prototype.map;
/**
* The maximum number of meridians and parallels from the center of the
* map. The default value is 100, which means that at most 200 meridians
* and 200 parallels will be displayed. The default value is appropriate
* for conformal projections like Spherical Mercator. If you increase
* the value more lines will be drawn and the drawing performance will
* decrease.
* @type {number|undefined}
*/
olx.GraticuleOptions.prototype.maxLines;
/**
* The target size of the graticule cells, in pixels. Default
* value is 100 pixels.
* @type {number|undefined}
*/
olx.GraticuleOptions.prototype.targetSize;
/**
* Object literal with config options for the map.
* @typedef {{controls: (ol.Collection|Array.<ol.control.Control>|undefined),