<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="地图移动和动画" height="300">
  <Require feature="sharedmap"/>
</ModulePrefs>
<Content type="html"><![CDATA[

<small>
以下示例跳到北京的故宫博物院，等两秒，然后平滑移动到新的中心点。
</small>

<script>
var map = new GMap2();
map.setCenter(new GLatLng(39.917, 116.397), 14);
window.setTimeout(function() {
  map.panTo(new GLatLng(39.932, 116.412));
}, 2000);
</script>

]]></Content>
</Module>
