Virtual Map is pretty dang easy

Author: Joe Maddalone

Example

Microsoft Virtual Earth is this easy to implement

Code

<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <title></title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="http://dev.virtualearth.net/mapcontrol/v5/mapcontrol.js">
      </script>
      <script type="text/javascript">
      var map = null;

      function GetMap()
      {
         map = new VEMap('myMap');
         map.LoadMap();
      }
      </script>
   </head>
   <body onload="GetMap();">
      <div id='myMap'
      style="position:relative; width:500px; height:400px;"></div>
   </body>
</html>

If you enjoyed this post Bookmark it at del.icio.us

Comments


Leave a Comment

 

 







LATEST POSTS

Portfolio of the Future Just a random bit of sketching I was doing. Random things this month On my way to the interwebs I recall all I have learned today. CSV Splitter Reinventing the wheel one app at a time. Competetive Data Scraping Not yet an Olympic sport. Date Image Thing GDI+ to overprocess blog post dates!

ADS

MOST POPULAR

Multiple IEs in Windows Firefox Vs. The World Who Is Xperya? ActionScript Form Fields Quick Watermark IE 7 beta 2 standalone Text Link Ads

IP Address Tool Chicago Web Design Free Text Messaging