最近在学习esri for windows phone 7 地图开发方面的东西来提升自己,同进也是工作中的耐要。通过一段时间的了解与接触,感觉地图数据是一个很庞大的后台支撑。其实开发是一个简单的过程,看看api大部分东西都能搞定。目前我们知道最大的几个地图公司有google,百度,bingmap,他们的数据是相当全面的,对数据进行了定期与不定期的更新操作,听别人说过做后台数据支持的就有一万多人的团队。
最近在学习关于手机上的地图开发,特写文章记录下来,同时也与大家一起见证我学习过程中的不足。
一、环境搭建
二、加载 bingmap 地图
1.xmal 代码如下:
<phone:phoneapplicationpage.applicationbar> <shell:applicationbar isvisible="true" ismenuenabled="true"> <shell:applicationbariconbutton iconuri="/images/appbar.add.rest.png" text="添加" /> <shell:applicationbar.menuitems> <shell:applicationbarmenuitem text="aerialwithlabels" click="applicationbarmenuitem_click" /> <shell:applicationbarmenuitem text="aerial" click="applicationbarmenuitem_click" /> <shell:applicationbarmenuitem text="road" click="applicationbarmenuitem_click" /> </shell:applicationbar.menuitems> </shell:applicationbar> </phone:phoneapplicationpage.applicationbar> <!--layoutroot is the root grid where all page content is placed--> <grid x:name="layoutroot" background="transparent"> <grid.rowdefinitions> <rowdefinition height="auto" /> <rowdefinition height="*" /> </grid.rowdefinitions> <!--titlepanel contains the name of the application and page title--> <stackpanel x:name="titlepanel" grid.row="0" margin="12,17,0,28"> <textblock x:name="applicationtitle" text="我的应用程序" style="{staticresource phonetextnormalstyle}" /> <textblock x:name="pagetitle" text="esri bing map" margin="9,-7,0,0" style="{staticresource phonetexttitle1style}" /> </stackpanel> <!--contentpanel - place additional content here--> <grid x:name="contentpanel" grid.row="1" margin="12,0,12,0"> <esri:map x:name="mymap" background="white"> <esribing:
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
Windows Phone 7编程实践—推送通知(剖析推送通知实现架构)
Esri for Window Phone 7(一) 加载BingMap
浅谈ListBox在Windows Phone 7 中的使用
网友评论