小编use*_*877的帖子

使用kml在Google地球中设置线条动画

我很熟练使用animated update谷歌地球的功能,并使用它来移动models.我真正想做的是能够line在谷歌地球上制作(例如上下)动画,但我发现这很棘手.

我在开始时拥有该线的经度和纬度.例如,线坐标是:

-88,17,100 -88.20270841086835,17.21899813162266,100

然后,我希望在raise5秒的时间内将该线的一端达到500的高度.

我使用LineString以下方式画线:

<Placemark id="path1">
    <name>Untitled Path man</name>
    <LineString>
        <tessellate>1</tessellate>
        <coordinates>
            -88.,17,100 -88.20270841086835,17.21899813162266,100 
        </coordinates>
    </LineString>
</Placemark>
Run Code Online (Sandbox Code Playgroud)

但我现在迷失了如何使用<gx:AnimatedUpdate>将一端从100移动到500.

我确定它很容易 - 有人能指出我正确的方向吗?

kml google-earth

5
推荐指数
1
解决办法
2002
查看次数

标签 统计

google-earth ×1

kml ×1