Move GraticuleLabelDataType to Graticule

This commit is contained in:
Andreas Hocevar
2018-03-07 13:45:53 +01:00
parent 41cf1e93f4
commit 7decf90b6a
2 changed files with 5 additions and 9 deletions

View File

@@ -34,6 +34,11 @@ const INTERVALS = [
90, 45, 30, 20, 10, 5, 2, 1, 0.5, 0.2, 0.1, 0.05, 0.01, 0.005, 0.002, 0.001
];
/**
* @typedef {Object} GraticuleLabelDataType
* @property {module:ol/geom/Point~Point} geom
* @property {string} text
*/
/**
* @typedef {{map: (ol.PluggableMap|undefined),

View File

@@ -274,15 +274,6 @@ ol.FeatureLoader;
ol.FeatureUrlFunction;
/**
* @typedef {{
* geom: ol.geom.Point,
* text: string
* }}
*/
ol.GraticuleLabelDataType;
/**
* A function that is called to trigger asynchronous canvas drawing. It is
* called with a "done" callback that should be called when drawing is done.