Move GraticuleLabelDataType to Graticule
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user