Fix OpenLayers.Icon apidoc
'size' parameter for OpenLayers.Icon.setSize can be either a Size or a simple javascript object.
This commit is contained in:
@@ -114,7 +114,8 @@ OpenLayers.Icon = OpenLayers.Class({
|
||||
* Method: setSize
|
||||
*
|
||||
* Parameters:
|
||||
* size - {<OpenLayers.Size>}
|
||||
* size - {<OpenLayers.Size>|Object} An OpenLayers.Size or
|
||||
* an object with a 'w' and 'h' properties.
|
||||
*/
|
||||
setSize: function(size) {
|
||||
if (size != null) {
|
||||
|
||||
Reference in New Issue
Block a user