【发布时间】:2014-06-19 17:36:41
【问题描述】:
有人知道如何使用本地磁盘或网络驱动器中的图像显示自定义 KML 地标图标吗?
我试过了,但它不起作用:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Style id="icon">
<IconStyle>
<Icon>
<href>c:\etnasss.jpg</href>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name>Simple placemark</name>
<description>Attached to the ground. Intelligently places itself
at the height of the underlying terrain.</description>
<styleUrl>#icon</styleUrl>
<Point>
<coordinates>-122.0822035425683,37.42228990140251,0</coordinates>
</Point>
</Placemark>
</kml>
谢谢
【问题讨论】:
标签: icons kml google-earth