Legends do not display in Google Earth for a map published as a service with KML capability, after enabling the legends.
上次发布: March 14, 2017ArcGIS for Server
漏洞 ID 编号
NIM082988
已提交
July 20, 2012
上次修改时间
April 2, 2025
适用范围
ArcGIS for Server
找到的版本
10.1
操作系统
Windows OS
操作系统版本
2008 R2 64 Bit
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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.