GoogleMapsControl

Discussion in 'ASP.NET 2.0' started by randygastco, Aug 27, 2008.

  1. Hi,
    I'll give you a cookie if you use the Microsoft Live maps API instead. [​IMG]
    In my opinion it's much better for us and it is less buggy on IE8.
    I've been running some tests with it that have blown away my interest in the Google maps. [​IMG]
    http://maps.live.com/
    Salute,
    Mark
     
  2. It does look slick. A quick surf doesn't turn up much implementation stuff though, as opposed to Google.

    Am I to assume that I can use both GoogleMapsControl and LiveMaps in my pages?

    I need to 1. Copy the .dll into bin and 2. register it in my web.config and 3. it should work ?

    I am really not that lazy ;) I am not at my dev machine right now. I am sitting here, building the data that I will add on the server side, assuming that I can do this sort of thing.

    Randy
     
  3. Take a look at this, I'm having fun with it:


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>Microsoft Virtual Earth</title>
    <script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1"></script>
    <script src="core.js" type="text/javascript"></script>
    </head>

    <form id="form1">
    <div id="banner" style="background-color:#CCCCFF;font-family:Helvetica,sans-serif;font-style:italic;font-size:medium;width:680px;"></div>
    <div id='map' style="position:relative; width:680px; height:480px; top: 0px; left: 0px;"></div>
    <div style="height: 77px; width: 678px;">
    <div>
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Note: Drag the map around with your mouse. Drag end points around once they show.
    Start:&amp;nbsp;<input id="start1" type="text"style="width: 500px" value="" /><div style="height: 84px">
    End:&amp;nbsp;&amp;nbsp;<input id="end1" type="text" style="width: 500px" value=""/>
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<input id="Submit1" type="button" value="Show me"
    onclick="SetPins(document.getElementById('start1').value,document.getElementById('end1').value);"/></div>
    </div>
    </div>
    <div id="results"></div>
    </form>
    </body>
    </html>

    Just create a normal HTML page with that code and run it. [​IMG]
     

Share This Page