Icon anchors are Array.<number>

This commit is contained in:
Éric Lemoine
2014-01-08 10:07:01 +01:00
parent 5efc692b9d
commit 49120e4761
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ ol.style.Icon = function(opt_options) {
options.anchorYUnits : ol.style.IconAnchorUnits.FRACTION;
/**
* @type {ol.Pixel}
* @type {Array.<number>}
*/
var anchor = goog.isDef(options.anchor) ? options.anchor : [0.5, 0.5];