Select to view content in your preferred language

Display specific layers from KMZ

552
1
09-02-2011 11:46 AM
MichaelKohler
Frequent Contributor
Hi,
I couldn't find any way to display only some layers of a kmz in my maps. I added it to the legend control and you can't toggle on/off individual layers. Is there a way to add only certain portions of a kml/kmz to a map? I was thinking along the lines of ArcGisDynamicMapService.VisibleLayers.

Thanks to everyone for helping to make such a great resource!

Mike
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor

Is there a way to add only certain portions of a kml/kmz to a map?

For the moment it's not possible out-of-the-box. The only way is you to tweak the kml layer source code provided on codeplex.

Note that it's planned for a future version : the kml data will be organized by folder and document, and the legend control will allow toggling the visibility of any folder.
0 Kudos