【发布时间】:2011-06-13 21:56:25
【问题描述】:
我有以下简单的 kml,它引用了我想覆盖在地图视图上的图像文件:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name>Map Overlay</name><open>0</open>
<GroundOverlay>
<Icon>earthdata.png</Icon>
<LatLonBox>
<north>80.0</north><south>-80.0</south><east>180.0</east><west>-180.0</west>
</LatLonBox>
</GroundOverlay>
<ScreenOverlay>
<name>Colormap</name>
<Icon>
<href>icon.png</href>
</Icon>
<overlayXY x="0" y="0" xunits="fraction" yunits="fraction"/>
<screenXY x="0" y="0" xunits="fraction" yunits="fraction"/>
<size x="-1" y="-1" xunits="fraction" yunits="fraction"/>
</ScreenOverlay>
</Document>
</kml>
谁能告诉我如何在 iPhone 上呈现这个图像视图,类似于这个文件在谷歌地球上的显示方式。
【问题讨论】: