From 25202cae6dbf1404b1fbf4f087be71ad2632f6be Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Mon, 25 Jun 2012 22:46:11 +0200 Subject: [PATCH] Add a LineStringLike typedef. --- src/api/geom/linestring.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/api/geom/linestring.js b/src/api/geom/linestring.js index 52c89ff022..4debb2a62c 100644 --- a/src/api/geom/linestring.js +++ b/src/api/geom/linestring.js @@ -4,9 +4,14 @@ goog.require('ol.geom.LineString'); goog.require('ol.geom.point'); goog.require('ol.projection'); +/** + * @typedef {Array.} linestring LineString. + */ +ol.LineStringLike; + /** * @export - * @param {Array.} opt_arg Point. + * @param {ol.LineStringLike} opt_arg Points. * @return {ol.geom.LineString} LineString. */ ol.geom.linestring = function(opt_arg){