fix documentation for param

This commit is contained in:
Bernd Hacker
2017-06-07 16:38:42 +02:00
parent 3c47bbdafc
commit 7d26db6018
+1 -1
View File
@@ -618,7 +618,7 @@ declare namespace H {
/**
* A factory method for data-driven icons. The method allows you to build an icon from SVG markup or JsonML object. Provides caching of icons with the same markup.
* @param svg {string | Array} - SVG presented as markup or JsonML Array
* @param options {H.map.Icon.Options} - Icon options (eg size and anchor). Note that the default anchor is in the middle.
* @param options {H.map.Icon.Options=} - Icon options (eg size and anchor). Note that the default anchor is in the middle.
* @param options.size {H.math.ISize | number} - When the icon is a square, you can define the size as a number in pixels
* @returns {H.map.Icon} - Icon which can be used for marker or cluster
*/