Hi everyone.
One -surely- silly question:
I''ve been trying to set a fill color for a closed polyline (googlev3)
without any success.
I''m pretty sure I''m missing something, just that I
can''t get what.
Once declared the new Polyline object I used:
myPoly.setClosed(true);
myPoly.setColor("#FF0000");
myPoly.setFillColor("#FF0000");
map.addPolyline(myPoly);
but does not work -I tryied with openlayer and this work with them-
I also tryied
var options = {color: "#ff0000", width: 3, fillColor:
"#ff0000", opacity: 0.5};
mapa.addPolylineWithData(myPoly, options)
I can change the stroke color, opacity, with, etc. But with the fill,
it just ignore every option.
Any help will be very appreciated.
Thanks in advance.
--
"Smile, breath, and go slowly."