fix type of H.map.Icon.Options.size

according the documentation of HERE datalens, size can be a number: https://developer.here.com/visualization/documentation/datalens/h-datalens-objectlayer.html
This commit is contained in:
Bernd Hacker 2017-06-07 15:17:43 +02:00
parent 71b90dcce7
commit e054978b9c

View File

@ -1743,7 +1743,7 @@ declare namespace H {
* @property crossOrigin {boolean} - Specifies whether to use anonynous Cross-Origin Resource Sharing (CORS) when fetching an image to prevent resulting canvas from tainting, default is false. The option is ignored by IE9-10.
*/
export interface Options {
size?: H.math.ISize;
size?: H.math.ISize | number;
anchor?: H.math.IPoint;
hitArea?: H.map.HitArea;
asCanvas?: H.map.HitArea;