在你的网站上实现地图功能
<div id="myMap" style="position:relative; float:left;width:300px; height:225px;"></div>
<script language="javascript" type="text/javascript" src="http://api.51ditu.com/js/maps.js" charset="utf-8"></script>
<script language="javascript" type="text/javascript" charset="utf-8">
var x;
var y;
var maps = new LTMaps( "myMap" );
maps.cityNameAndZoom( "shijiazhuang" , 2 );
maps.centerAndZoom( new LTPoint( x , y ) , 2 );
var marker1 = new LTMarker( new LTPoint( x , y ) );
maps.addOverLay( marker1 );
</script>
string x = dsbtf.Tables["ds"].Rows[0][1].ToString();// 地图中的经纬度从数据库中读出
string y = dsbtf.Tables["ds"].Rows[0][2].ToString();
this.Page.RegisterClientScriptBlock("x", "<script language='javascript' type='text/javascript' charset='utf-8'>x='" + x + "'</script>");
this.Page.RegisterClientScriptBlock("y", "<script language='javascript' type='text/javascript' charset='utf-8'>y='" + y + "'</script>");