laptop and a wrench

Bogue

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

Dernière publication: March 14, 2017 ArcGIS for Server
Numéro d’ID de bogue NIM082988
EnvoiJuly 20, 2012
Dernière modificationApril 2, 2025
S’applique àArcGIS for Server
Version trouvée10.1
Système d’exploitationWindows OS
Version du système d’exploitation2008 R2 64 Bit
StatutKnown Limit

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: NIM082988

Logiciel:

  • ArcGIS for Server

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement