Select to view content in your preferred language

KML Layer problems

648
2
01-10-2012 02:07 PM
BjørnarSundsbø
Deactivated User
Hi

I have two problems with KML layer. The first one is in a previous post with no resolution from ESRI. The problem is that the original file is in ANSI, and KmlLayer is unable to load it. There is a resolution I would very much like to have in the next release. It's a bit inconvenient having to apply the same change whenever a new version is released.

The other issue is that KmlLayer is not loaded asynchronously. The Url from the previous post has a sample where it takes a while to load, and the application hangs. As the file is not compressed, it takes longer than I'd prefer. GeoRssLayer is asynchronous and works as it should. Any way this could be changed for an upcoming release?

I'm using version 2.3.

Bjørnar Sundsbø
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
The first issue will be fixed in the final 3.0 release.

Concerning the asynchronous issue, from 2.3 onwards, only the visible folders/documents are initially loaded. Then the folders are loaded when they becomes visible.
This should fix your issue. Nevertheless this KML sample displays information depending on the time.

For the moment, the SL KML layers are not timeaware and thus the information is not filtered by the time.
We are considering to add this functionality in 3.0 final.
0 Kudos
BjørnarSundsbø
Deactivated User
The first issue will be fixed in the final 3.0 release.


Excellent (do you have atimeframe on that?)


Concerning the asynchronous issue, from 2.3 onwards, only the visible folders/documents are initially loaded. Then the folders are loaded when they becomes visible.
This should fix your issue. Nevertheless this KML sample displays information depending on the time.

I haven't tested with enabling different layers inside that data, so that might help. All sublayers (if any) are now visible if the GroupLayer is visible. Nevertheless, enabled asynch loading might be a great benefit for the users experience if it is available in the next release.


For the moment, the SL KML layers are not timeaware and thus the information is not filtered by the time.
We are considering to add this functionality in 3.0 final.


I hope you make it 😮
0 Kudos