资源简介

asp.net的百度地图程序,里面有很多示例,教你怎么在自己的网页中嵌入百度地图,并且提供API使用例子,例如,输入经纬度,在地图上,直接定位位置,对百度地图开发的,有很大帮助,有极大参考价值

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Threading;

using baseClassLibrary;
using QianYan.BLLFactory;
using QianYan.IBLL;
using QianYan.Model;


namespace BaiDuMap
{
    public partial class ajaxBaiduDb : System.Web.UI.Page
    {
        protected void Page_Load(object sender EventArgs e)
        {

            string key=Request.Params[“m“];
            string str = ““;

            if (!string.IsNullOrEmpty(key))
            {
                IBLLMap ibllmap = BusinessLogic.CreateMap();
                IList list=ibllmap.GetModelList(0 string.Format(“ and SearchText like ‘%{0}%‘“ key) “ id desc“);

                str = JsonTools.objectToJson((object)list);
            }

            Response.ContentType = “text/plain“;
            Response.Clear();
            Response.Write(str);
            Response.End();

            
            
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        322  2011-01-04 17:30  BaiDuMapDemo\.svn\all-wcprops

     文件         39  2010-12-28 15:03  BaiDuMapDemo\.svn\dir-prop-base

     文件        635  2011-01-11 15:54  BaiDuMapDemo\.svn\entries

     文件       4242  2010-12-27 15:45  BaiDuMapDemo\.svn\text-base\BaiDuMap.sln.svn-base

     文件         32  2010-12-27 15:45  BaiDuMapDemo\.svn\text-base\密匙.txt.svn-base

     文件      10692  2011-01-04 17:30  BaiDuMapDemo\BaiDuMap\.svn\all-wcprops

     文件         33  2010-12-27 15:46  BaiDuMapDemo\BaiDuMap\.svn\dir-prop-base

     文件      12871  2011-01-11 15:54  BaiDuMapDemo\BaiDuMap\.svn\entries

     文件       1038  2010-12-28 16:52  BaiDuMapDemo\BaiDuMap\.svn\text-base\ajaxBaiduDb.aspx.cs.svn-base

     文件        835  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\ajaxBaiduDb.aspx.designer.cs.svn-base

     文件        450  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\ajaxBaiduDb.aspx.svn-base

     文件      12860  2011-01-04 17:30  BaiDuMapDemo\BaiDuMap\.svn\text-base\BaiDuMap.csproj.svn-base

     文件       1278  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\BaiDuMap.csproj.user.svn-base

     文件       4635  2011-01-04 17:30  BaiDuMapDemo\BaiDuMap\.svn\text-base\BaiDuMap.Publish.xml.svn-base

     文件       4451  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Default.aspx.cs.svn-base

     文件        846  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Default.aspx.designer.cs.svn-base

     文件       1638  2011-01-04 17:30  BaiDuMapDemo\BaiDuMap\.svn\text-base\Default.aspx.svn-base

     文件        332  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo1.aspx.cs.svn-base

     文件        507  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo1.aspx.designer.cs.svn-base

     文件        976  2011-01-04 17:30  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo1.aspx.svn-base

     文件        330  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo10.aspx.cs.svn-base

     文件        505  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo10.aspx.designer.cs.svn-base

     文件       2260  2011-01-04 17:30  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo10.aspx.svn-base

     文件        330  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo11.aspx.cs.svn-base

     文件        505  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo11.aspx.designer.cs.svn-base

     文件       2768  2011-01-04 17:30  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo11.aspx.svn-base

     文件        330  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo12.aspx.cs.svn-base

     文件        505  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo12.aspx.designer.cs.svn-base

     文件       4165  2011-01-04 17:30  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo12.aspx.svn-base

     文件        330  2010-12-27 15:45  BaiDuMapDemo\BaiDuMap\.svn\text-base\Demo13.aspx.cs.svn-base

............此处省略703个文件信息

评论

共有 条评论