laptop and a wrench

Bug

Legends do not display in Google Earth for a map published as a service with KML capability, after enabling the legends.

Last Published: March 14, 2017 ArcGIS for Server
Bug ID Number NIM082988
SubmittedJuly 20, 2012
Last ModifiedApril 2, 2025
Applies toArcGIS for Server
Version found10.1
Operating SystemWindows OS
Operating System Version2008 R2 64 Bit
StatusKnown Limit

Additional Information

Support for KML legends was discontinued with the release of ArcGIS 10.1, because the legends are dependent on MXD based services which are no longer supported.

Workaround

1. Publish a map service. 2. Use Manager to create a KML network link, and select the 'Vector Layers as vectors ... ' option. 3. Copy the KML network link file (which ends in .kmz) to a file that ends in .zip, and unzip the file.4. Manually edit the doc.kml network link file in the unzipped folder and add a KML ScreenOverlay referencing the desired legend image. The legend may be exported from ArcMap as a PDF and converted to an image or, in a worst-case scenario, be captured by a Prnt Scrn (print-screen), or it can be completely fabricated by some other image processing or drawing program. Refer to <a href="http://www.google.com/earth/outreach/tutorials/screenoverlays.html" target="_blank">http://www.google.com/earth/outreach/tutorials/screenoverlays.html</a> for detailed instructions.5. Re-zip the folder with the doc.kml file.6. Rename the file as it was in step 3 with a .kmz extension.7. Add the .kmz document to any client. It now receives dynamic kml and has a legend.

Steps to Reproduce

Bug ID: NIM082988

Software:

  • ArcGIS for Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options