是否可以调整注释的图钉图像大小 ti.map

Is it possible to adjust the pin image size of annotation ti.map

我这样添加注释

var annot= Map.createAnnotation({
        latitude: XXXXXXXXXXX,
        longitude: XXXXXXXXXX,
        title: 'myPlace',
        image: 'myPin.png',
        width:'100dp',// doesn't work
        height:'100dp'// doesn't work
    }); 
    this.mapView.addAnnotation(annot);
}

虽然我想改变图像的大小, 好像没办法改了。

所以我需要通过图像编辑器或其他工具自行编辑文件大小。 此外,图像在 Android 或 iPhone 中显示不同。 所以我需要为每个引脚制作两个尺寸。

MapModule.createAnnotation({
    latitude : XXXX,
    longitude : XXXX,
    customView : Ti.UI.createView({
        width : widthImg,
        height : heightImg * 2,
        children : [Ti.UI.createView({
            top : 0,
            width : width,
            height : height,
            backgroundImage : "myPin.png"
        })]
    })
});