Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1065
Removing border of a marker
posted

Hi,

When we are using marker template for polygons, We get a box and then the info in the box. Is there a way to remove this border (box) and just place the info.

I am herewith putting the piece of code. Can you tell me what changes should I make.

markerTemplate: new $.ig.SimpleTextMarkerTemplate({
font: "12pt Arial",
textColor: "Black",

// I dont want these parameters. I just want to print the value of the item (ID).
//backgroundColor: "rgba(0,0,0,.3)",
//backgroundColor:"white"
//borderColor: "gray",
//borderThickness: 1,
//padding: 0,


getText: function (item) {
return item.fieldValues.ID;
}
})

Thanks,

Pavan

Parents
No Data
Reply Children
No Data