私は以下のコードを使用してKMLファイルを読みました。 kmlファイルから抽出したスタイルを取得する方法。私は正しくgetStyle()関数を使用していますか?Openlayers 3のfeature.getStyle()関数で使用できる関数は何ですか?
var parser = new ol.format.KML({extractStyles: true});
var testfeat=parser.readFeatures(kmlAsString,{featureProjection:'EPSG:3857' });
for(i=0;i<testfeat.length;i++)
{
console.log(testfeat[i].getStyle()); // What are the functions that use with getStyle()?
}
ありがとうございました – neo