| HT 的个人资料微软必应地图(Bing Maps, former...照片日志列表 | 帮助 |
|
|
11月11日 微软发布必应地图SilverLight控件1.0经过数月的CTP预览版本,微软终于发布必应地图SilverLight 1.0版(Bing Maps Silverlight Control Version 1.0)。关于必应地图SilverLight版的好处我就不多费口舌了,总之就是通过RIA(Rich Internet Application)创造下一代LBS位置服务应用。还是直接进入主题,看看必应地图SilverLight控件1.0都有什么内容。
<object id='slCtl' data="data:application/x-silverlight,"type="application/x-silverlight-2" width="800" height="500"> <param name="source" value="http://dev.virtualearth.net/silverlight/mapcontrol/v1/Microsoft.Maps.MapControl.xap" /> <param name="enableHtmlAccess" value="true" /> <param name="initParams" value="ApplicationId=Your Key”/> </object> Bing Maps Silverlight SDK支持的描述性feature如下
Set Animation
Set Map View (rectangle, center point, map mode)
Set Culture (localized maps)
Set Visibility of the scale bar
Capture user targets (rectangle, center point, zoom level)
Location (coordinates)
Add Pushpins
Capturing Events (mouse, keyboard, Bing Maps)
Drawing
(Silverlight) http://dev.virtualearth.net/embeddedMap/v1/silverlight/aerial?zoomLevel=10¢er=47.5_-122.5&pushpins=47.5_-122.5
(AJAX) http://dev.virtualearth.net/embeddedMap/v1/AJAX/aerial?zoomLevel=10¢er=47.5_-122.5&pushpins=47.5_-122.5
嵌入式地图支持如下feature:
Map Mode: Set the map mode. mapMode={Road, Aerial, AerialWithLabels, Birdseye, BirdseyeWithLabels}
Zoom Level: Set the map zoom level: zoomLevel={1-21}
Center: Set the map center point: center={latitude_longitude}
Heading: Set the map heading: heading:{North, South, East, West}
Pushpins: Places pushpins on the map: pushpins={latitude_longitude}
Culture: Set the map localization: culture={en-us}
我们还修改了使用条款(Terms of Use),详情参见Chris的Blog: "Bing Maps Terms of Use Changes; Benefit Educators, Not-for-Profits and Developers." 以下是一些有用的资源: 必应地图Silverlight控件下载(.dlls 在.msi包中) 另外可以看一个必应地图SilverLight控件视频(the video about what the Bing Maps Silverlight Control) 引用通告此日志的引用通告 URL 是: http://acnchen.spaces.live.com/blog/cns!9321DA57338F36BA!3463.trak 引用此项的网络日志
|
|
|