Here is my code split into Alloy/JS/Styling
No Matter where I place the borderRadius/borderWidth
properties it ignores it
Alloy:
<Label id="image_label"></Label>
JS:
function setAnnotation(location) {
var annotation = map.createAnnotation({
title: location.title,
subtitle: location.latitude + ', ' + location.longitude,
latitude: location.latitude,
longitude: location.longitude,
image: $.image_label.toImage(),
borderRadius:22, //DOESNT WORK
borderWidth: 6, //DOESNT WORK
});
$.map.setAnnotations([annotation]);
}
Style:
//LABEL ANNOTATION
"#image_label": {
color : 'black',
font : {fontSize:'15dp',font:"monospace",fontWeight:"bold"},
height : '30dp',
width : '30dp',
borderRadius:999, //DOESNT WORK
borderWidth: 99, //DOESNT WORK
backgroundImage:'https://pbs.twimg.com/profile_images/604644048/sign051.gif'
}