From 7decf90b6a66d5c593dd716f0d73583d12072f8e Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Wed, 7 Mar 2018 13:45:53 +0100 Subject: [PATCH] Move GraticuleLabelDataType to Graticule --- src/ol/Graticule.js | 5 +++++ src/ol/typedefs.js | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/ol/Graticule.js b/src/ol/Graticule.js index 9dc8c5eda0..fc8b5f3932 100644 --- a/src/ol/Graticule.js +++ b/src/ol/Graticule.js @@ -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), diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index 268aca9050..5078f36e90 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -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.