Hi everyone!
I use:
var dataSource1= new Cesium.KmlDataSource();
dataSource1.load('filename.kmz');
viewer.dataSources.add(dataSource1);
to load .kml. I came up to one kml with nodes of other kml-a which looks like this:
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name>Name</name>
<NetworkLink>
<name>SUB_KML_0_0</name>
<Region>
<LatLonAltBox>
<north>1.0000</north>
<south>2.0000</south>
<east>1.0000</east>
<west>2.0000</west>
</LatLonAltBox>
<Lod>
<minLodPixels>7000</minLodPixels>
<maxLodPixels>-1</maxLodPixels>
</Lod>
</Region>
<Link>
<href>http://server_name/sub_kml_0_0.kmz</href>
<viewRefreshMode>onRegion</viewRefreshMode>
</Link>
</NetworkLink>
<NetworkLink>
<name>SUB_KML_0_1</name>
<Region>
<LatLonAltBox>
<north>2.0000</north>
<south>3.0000</south>
<east>1.0000</east>
<west>2.0000</west>
</LatLonAltBox>
<Lod>
<minLodPixels>7000</minLodPixels>
<maxLodPixels>-1</maxLodPixels>
</Lod>
</Region>
<Link>
<href>http://server_name/sub_kml_0_1.kmz</href>
<viewRefreshMode>onRegion</viewRefreshMode>
</Link>
Q: Is it possible to load somehow in Cesium this kind of .kml or i have to generate one big kml which includes all "sub-kml" files into and load this big kml instead?
Thank you in front!!!