Hi, <div><br></div><div>I would like to know if it is possible to draw a point feature with a background color..</div><div><br></div><div>I define a style like that:</div><div><br></div><div><div>ImgStyle = {</div><div> externalGraphic: imgURL,</div>
<div> label: text,</div><div> labelXOffset: "0",</div><div> labelYOffset: "-10",</div><div> fontColor: txt_colfont,</div><div> fontSize: "10px",</div><div> fontFamily: "Arial",</div>
<div> fontWeight: "bold",</div><div> pointRadius: 10,</div><div> labelAlign: "cm",</div><div> labelPadding: "3px",</div><div> labelBackgroundColor: txt_colback,</div>
<div> labelBorderColor: "#cfcfcf",</div><div> labelBorderSize: "1px"</div><div> };</div></div><div><br></div><div>And what I would like to do, is draw a background to the image..</div>
<div><br></div><div>By now, I'm drawing two elements in the same position, one is the point with the externalGraphic, and the other one is the same but without the externalGraphic and with a background color.. With this I can see the effect of a background under the image..</div>
<div><br></div><div>But, I would like to draw as a unique element... Because I'm loading a large amount of markers to the map.</div><div><br></div><div>And also, I would like to apply a cluster strategy to the layer.. And drawing the background and the image as separate features modifies the clustering..</div>
<div><br></div><div>Thanks!</div><div><br></div><div><br></div>