HTML 5, Bing Map Control to Show your Current Location
Hi Guys, My this post simply shows you how to use the HTML 5 navigator object and Bing Map Control to show your current location. Before you Start, 1) You need to have an HTML 5 Compatible browser. Duh, almost all the new browsers supports it. 2) A text Editor (Notepad, Wordpad would do) 3) A Bing API Key (You can get one from www.bingmapsportal.com by registering) Step One : Open the Text Editor and Paste Following HTML and Save it as HTML. <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <script type="text/javascript" src=" http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script > <script type="text/javascript"> var map = null,lat,lng; function errorHandler() { } ...