javascript - URL conventions for Maps on Windows Phone 7 - Stack Overflow

What is the best practice for opening a map from the mobile internet explorer on windows phone 7? On Bl

What is the best practice for opening a map from the mobile internet explorer on windows phone 7? On BlackBerry you use a JavaScript method and on Android/iOS you simply link to a google maps URL.

I am planning to integrate the different ways of opening maps into my mobile geo javascript library and don't have a windows phone device.

/

Thanks, Stan Wiechers

What is the best practice for opening a map from the mobile internet explorer on windows phone 7? On BlackBerry you use a JavaScript method and on Android/iOS you simply link to a google maps URL.

I am planning to integrate the different ways of opening maps into my mobile geo javascript library and don't have a windows phone device.

http://code.google./p/geo-location-javascript/

Thanks, Stan Wiechers

Share Improve this question asked Jan 4, 2011 at 20:39 Stan WiechersStan Wiechers 2,09232 silver badges48 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 8

Use the maps: protocol for WP7. I haven't found any documentation but this works.

<a href="maps:Vancouver V5L 4G1"></a>

<a href="maps:49.275267 -122.988617"></a>

There currently isn't a built in way to link to the maps application from within a webpage on a device (or emulator). (Nor is it possible from other apps either.)

I'd remend linking directly to a mobile Bing page. Such as the following which searches / shows a map for "London":

http://m.bing./search/search.aspx?A=mapdetails&L=London

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744738991a4590917.html

相关推荐

  • javascript - URL conventions for Maps on Windows Phone 7 - Stack Overflow

    What is the best practice for opening a map from the mobile internet explorer on windows phone 7? On Bl

    9小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信