Display KML Data

368
1
03-06-2020 04:36 AM
AlexanderLippling
New Contributor

Hi,

how can I display KML data (from a String/Byte[]/Stream) in a map?

I found examples to load KML data from an URL or file, but I want to do it in memory without network access.

Thanks

Alexander

Tags (2)
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor

There is no direct API allowing to create a KML dataset or a KML layer from a stream. You have to create a temporary file from your stream and to create the KML dataset/layer from this file.

0 Kudos