// Create the KML Layer
var vector = new ol.layer.Vector({
source: new ol.source.KML({
projection: 'EPSG:21781',
url: 'bln-style.kml'
}), style: function(feature, resolution) {var styleFromKml = feature.getStyleFunction().call(feature, resolution);
var textStyle = new ol.style.Text({ text: feature.get('name'),color: '#ff0000',fontFamily: 'Arial',fontSize: 11,opacity: 0.6
});
return [styleFromKml, textStyle]
} });
--
You received this message because you are subscribed to the Google Groups "GeoAdmin API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.