From 5d173c18074a9cc9e79c463e160012c14896712a Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Sun, 15 Jan 2012 18:09:11 +0100 Subject: [PATCH] Fix OpenLayers.Icon apidoc 'size' parameter for OpenLayers.Icon.setSize can be either a Size or a simple javascript object. --- lib/OpenLayers/Icon.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Icon.js b/lib/OpenLayers/Icon.js index 708eb8623f..3d8fb50335 100644 --- a/lib/OpenLayers/Icon.js +++ b/lib/OpenLayers/Icon.js @@ -114,7 +114,8 @@ OpenLayers.Icon = OpenLayers.Class({ * Method: setSize * * Parameters: - * size - {} + * size - {|Object} An OpenLayers.Size or + * an object with a 'w' and 'h' properties. */ setSize: function(size) { if (size != null) {