﻿<?xml version="1.0" encoding="utf-8"?>
<mapplet>
	<Property title="Hello World" description="Mapplet开发的简单范例" author="lingtu" email="liaoqingkun@lingtu.com" screenshot="http://life.51ditu.com/lets/mapplet_helloworld_screenshot.gif" thumbnail="http://life.51ditu.com/lets/mapplet_helloworld_thumbnail.gif" site="http://www.51ditu.com">
		<Require feature="dynamic-height"/>
	</Property>
	<Content>
	<![CDATA[
		<DIV style="font-size:12px;">
			<B>在该Mapplet之中，会在地图上显示一个标记</B>
		</DIV>
		<script language="javascript">
			var map=new LTMaps();
			var point=new LTPoint(11629886,4004734);
			var marker=new LTMarker(point);
			map.addOverLay(marker);
			map.centerAndZoom(point,0);
			function onMarkerClick()
			{
				marker.openInfoWinHtml("北京灵图软件技术有限公司");
			}
			LTEvent.addListener(marker,"click",onMarkerClick);
		</script>
	]]>
	</Content>
</mapplet>