laptop and a wrench

漏洞

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

上次发布: March 14, 2017 ArcGIS for Server
漏洞 ID 编号 NIM082988
已提交July 20, 2012
上次修改时间April 2, 2025
适用范围ArcGIS for Server
找到的版本10.1
操作系统Windows OS
操作系统版本2008 R2 64 Bit
状态Known Limit

附加信息

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.

解决办法

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.

重现步骤

漏洞 ID: NIM082988

软件:

  • ArcGIS for Server

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项