How to Adding Google Maps in Panel or Window

  1. #1

    How to Adding Google Maps in Panel or Window

    Hi guys, i'm newbie in here..

    I just ask about how to adding google maps in tab or panel in Coolite..
    I use VS 2005.. and C# Programming

    Thank u before
    I need your help, please
  2. #2

    RE: How to Adding Google Maps in Panel or Window

    [CODE]
    <script type="text/javascript" src="http://www.google.com/jsapi?key=ABCDEFG"></script><script type="text/javascript">
    google.load("maps", "2.x");

    // Call this function when the page has been loaded
    function initialize() {
    var map = new google.maps.Map2(document.getElementById("map"));
    map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13);
    }
    google.setOnLoadCallback(initialize);</script> <div id="map">



  3. #3

    RE: How to Adding Google Maps in Panel or Window

    uhm... so adding in coolite panel,

    how it is ?
  4. #4

    RE: How to Adding Google Maps in Panel or Window

    I think you should embed the JS part in <header> part, and insert <div id="map">
    into the panel's body :

    
    <ext:Panel 
            ID="Panel1" 
            runat="server" 
            Height="150" 
            Width="350"
            Title="Html"
            BodyStyle="padding:5px;">
            <Body>
                <div id="map">
    
            </Body>
    
    ...

Similar Threads

  1. Google Maps in Ext.panel
    By bayoglu in forum 1.x Help
    Replies: 1
    Last Post: Jun 21, 2012, 9:44 PM
  2. Google Maps using EXT.NET
    By nailuj-nallim in forum 1.x Help
    Replies: 5
    Last Post: Mar 05, 2012, 5:01 PM
  3. [CLOSED] Adding Google Marker From Code Behind
    By dev in forum 1.x Premium Help
    Replies: 6
    Last Post: Dec 13, 2011, 1:51 PM
  4. [CLOSED] Adding Google Marker with mouse
    By kenanhancer in forum 1.x Premium Help
    Replies: 2
    Last Post: Jun 22, 2011, 2:30 PM
  5. Isn't there a Google Map Panel somewhere?
    By dbassett74 in forum 1.x Help
    Replies: 0
    Last Post: May 06, 2009, 9:43 PM

Posting Permissions