Hi.
I'm having problems setting the transparency for my local kml file.
This is the code i'm using:
map.addLayer(new OpenLayers.Layer.Vector("comarcas",
{
protocol: new OpenLayers.Protocol.HTTP({
url: "comarcas.kml",
format: new OpenLayers.Format.KML({
extractStyles: true,
extractAttributes: true,
transparent: true
})
I've also probed with:
setOpacity: 0.5
But nothing seems to work, and I don't know what i'm doing wrong.
Thanks for your help!!
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/KML-set-transparency-tp5061515.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users