Positioning Google Maps in Dreamweaver

I inserted a Google map into a website, but I can’t adjust the position on the page. I only want to move it to the right by 150 pixels, and float some extra text next to it to the right of the map. I got the code off the Google Maps link and followed the instructions on placing a Google map in Dremweaver from a video tutorial, and the map itself seems to be fine. I have tried adjusting various items the CSS fules, using the float and width adjustment. None of the general positioning options make any difference. Padding won’t work either. None of the other divs on that page are responding to any CSS adjustments, which makes me wonder if the map is somehow causing the problem. Can anyone suggest what I can try to be adjust the layout?

Hello Liz,
on "behalf" of SnakEyez02 (he probably has to do other things) I'll will reply: I'm sure he will recommend that you publish the link to your website here in the forum, where your Google map is integrated.
Did you have a look to "Google Places", where you are conducted how to insert Google maps too. I used it on one of my websites.
On the other hand, please have a look to "Adobe Widget Browser", where you will find such a gimmick too, I for my part I'am convinced it's much easier in application, see here please:
Hans-Günter

Similar Messages

  • Adobe Widget browser "Google Map" Search box for address

    First of all I would like to thank Zizzer Zazzer for this google map. I ts really very helpful for the website. I was wondering if this is possible to add text search box for the address in google map? I was trying my self and tried with geocode with no success.If any one of you know about this then plz let me know. Here is my code
    <input type="text" id="search_address" value="" size="98"/>
    <button onclick="search();">Search</button>
      <div id="mapCanvas" style="width:100%; height:100%; min-width:300px; min-height:300px"></div>
    <script type="text/javascript">
    // initialize the google Maps 
         function initializeGoogleMap() {
      // set latitude and longitude to center the map around
      var latlng = new google.maps.LatLng(37.77,
               -122.4);
      // set up the default options
      var myOptions = {
        zoom: 8,
        center: latlng,
        navigationControl: true,
        navigationControlOptions:
         {style: google.maps.NavigationControlStyle.DEFAULT,
        position: google.maps.ControlPosition.TOP_LEFT },
        mapTypeControl: true,
        mapTypeControlOptions:
         {style: google.maps.MapTypeControlStyle.DEFAULT,
        position: google.maps.ControlPosition.TOP_RIGHT },
        scaleControl: true,
         scaleControlOptions: {
              position: google.maps.ControlPosition.BOTTOM_LEFT
        mapTypeId: google.maps.MapTypeId.ROADMAP,
        draggable: true,
        disableDoubleClickZoom: false,
        keyboardShortcuts: true
      var map = new google.maps.Map(document.getElementById("mapCanvas"), myOptions);
      if (true) {
       var trafficLayer = new google.maps.TrafficLayer();
       trafficLayer.setMap(map);
      if (true) {
       var bikeLayer = new google.maps.BicyclingLayer();
       bikeLayer.setMap(map);
      if (true) {
       addMarker(map,37.7715,-122.4,"We are here");
       window.onload = initializeGoogleMap();
      // Add a marker to the map at specified latitude and longitude with tooltip
      function addMarker(map,lat,long,titleText) {
        var markerLatlng = new google.maps.LatLng(lat,long);
       var marker = new google.maps.Marker({
            position: markerLatlng,
            map: map,
            title:"We are here",
       icon: ""});  
      var addressField = document.getElementById('search_address');
    var geocoder = new google.maps.Geocoder();
    function search() {
        geocoder.geocode(
            {'address': addressField.value}, 
            function(results, status) { 
                if (status == google.maps.GeocoderStatus.OK) { 
                    var loc = results[0].geometry.location;
                    // use loc.lat(), loc.lng()
                else {
                    alert("Not found: " + status); 

    Come on guys....!!Any one here to answer or any one knows about it?

  • Google map in internet explorer

    anybody out there that can help me embed a google map using dreamweaver cs4 that will display correctly in internet explorer?
    or any map for that matter!
    Running dreamweaver cs4 on a G5 imac

    google maps will not display in internet explorer, feel free to try it and prove me wrong
    Ok I will.  The following sites are using Google Maps and are all working for me in IE 8.0.6001.18702
    Burger King - http://www.bk.com/en/us/restaurant-locator/index.html
    Perkins - http://www.perkinsrestaurants.com/locations
    Outback - http://www.outback.com/restaurant/locations/
    Advance Auto Parts - http://shop.advanceautoparts.com/webapp/wcs/stores/servlet/StoreLocatorView?storeId=10151& catalogId=10051&langId=-1
    PF Changs - http://www.pfchangs.com/locations/
    University of Alabama - http://tour.ua.edu/dirmap.html
    TD Bank Garden - http://www.tdgarden.com/getting-here/index.html
    Do I really need to continue?  What is the issue you are having?  What version of IE?

  • Dreamweaver template declaration affects Google Map loading

    My Dreamweaver Template declaration statement
    <!-- InstanceBegin template="/Templates/kayaking.dwt" codeOutsideHTMLIsLocked="false" -->
    is preventing a Google Map from loading.  It works fine in IE and Firefox, but not in Safari and Chrome.  The weird thing is, if I move it above the following declaration is works fine.
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    Dreamweaver inserts and locks this code so the only way I get it to work is to either detach it from the template completely or edit the code in a text editor before upload.  I need a different fix.  I'm hoping that there is actually other code in my page that is leading to the declaration problem although it seems unlikly.
    For reference here is the html that calls the map
    <a href="javascript:;" class="content" title="Location Map" onclick="mopen('map1');loadScript();return false">Location Map</a></p>
                      <div id="map1" style="visibility:hidden;"> <span class="content"><a href="javascript:;" class="closemap" onclick="mclose('map1')" title="Close Map">Close</a> </span>
                        <div id="googlemap1"> </div>
                      </div>
    For the code or to see for yourself go to http://www.outbackadventures.com/trips_classes/kayaking/kayak_classes/intro_paddling/index 2_3.html
    Any help would be much appreciated.  Thanks.

    The problem has been solved.  It seems that Google Chrome and Safari do not entirely ignore comment tags such as Dreamweaver's template declaration.
    In my "lazy load" Google Map code taken from a Google employee suggestion
    http://groups.google.com/group/Google-Maps-API/msg/4e2acbe1ca7f0324
    Example at http://imagine-it.org/google/gmaps-samples/dynamicloading.html
    there is this line of code
    document.documentElement.firstChild.appendChild(script);
    As I understand it Chrome and Safari may read the Dreamweaver template comment
    <!-- InstanceBegin template="/Templates/kayaking.dwt" codeOutsideHTMLIsLocked="false" -->
    as the first.Child and therefore results in invalid html causing an error and no loading of the script.
    This was solved by the help of folks at this post:
    http://groups.google.com/group/google-maps-api/browse_thread/thread/101bc4c59d098367/0decf 0c096119f82#0decf0c096119f82
    Essentially the code above needs to be modified so that it reads from the head section rather than from above it. To fix this, replace the above code with either one of the following lines:
    document.getElementsByTagName(\"head\")[0].appendChild(script);
    document.documentElement.getElementsByTagName(\"head\")[0].appendChild(script);

  • Erroneous google map pin position in webapp

    when I initially set up a webapp using the google map option it appeared that all the webapp items were showing correctly. However, upon detailed inspection most pins show correctly but several appear to be in an identical, incorrect  overlapping position. iI I totally remove the street portion of the address for one of the incorrect pins, it stays in the same incorrect postion almost as though the position used is some sort of default position for that zipcode.
    In some cases, two different webapp items with exactly the same address show with one pin in the correct address position and the other in the incorrect, "default" position.
    Any suggestions?

    Hi Gsaison,
    Do you have any progress on these issues? Im working on the same solution right now (SWV + GoogleMaps JS v3 ) I've got some weird issue when i try to spawn a StageWebView inside a View on IOS, it appears inside a scroller and is not open for finger interaction anymore. I use the eskimo framework, but then again, nothing fancy going on there for the rest. I've tried all of the the stage.stageScaleMode options but non of them work. Got any help?
    Kind regards,
    Roy

  • Access af:table values from JavaScript array (for google maps task)

    Hi!
    I have JSP page with af:table where latitude and longitude for google maps are stored. I am using these tutorial [https://blogs.oracle.com/middleware/entry/integrating_google_maps_with_adf] and I know how to access latitude and longitude from output text (for one point). Now i need to do something similar with loop for all table rows. How can I achieve this?
    I have JavaScript code which uses Google Maps API and can display many points on one map. Also I have longitude and latitude data in af:table (bindings), each table row has one point. My task is to take data from af:table and pass it to JavaScript.
    May be it is better to use managed bean as you said. Firstly I will access binding data from managed bean. Then I have to pass this data to JavaScript method? Can you suggest some example? I have "Using JavaScript in ADF Faces Rich Client Applications"

    My table is there :
    <af:table value="#{bindings.LocView1.collectionModel}" var="row"
                                  rows="#{bindings.LocView1.rangeSize}"
                                  emptyText="#{bindings.LocView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                  fetchSize="#{bindings.LocView1.rangeSize}" rowBandingInterval="0"
                                  filterModel="#{bindings.LocView1Query.queryDescriptor}"
                                  queryListener="#{bindings.LocView1Query.processQuery}" filterVisible="true" varStatus="vs"
                                  selectedRowKeys="#{bindings.LocView1.collectionModel.selectedRow}"
                                  selectionListener="#{bindings.LocView1.collectionModel.makeCurrent}" rowSelection="single"
                                  id="t1">
                            <af:column sortProperty="#{bindings.LocView1.hints.SoffOffCode.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffOffCode.label}" id="c1">
                                <af:outputText value="#{row.SoffOffCode}" clientComponent="true" id="ot1"/>
                            </af:column>
                            <af:column sortProperty="#{bindings.LocView1.hints.SoffCode.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffCode.label}" id="c2">
                                <af:outputText value="#{row.SoffCode}" id="ot2"/>
                            </af:column>
                            <af:column sortProperty="#{bindings.LocView1.hints.SoffLat.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffLat.label}" id="c3">
                                <af:outputText value="#{row.SoffLat}" clientComponent="true" id="ot3"/>
                            </af:column>
                            <af:column clientComponent="true" sortProperty="#{bindings.LocView1.hints.SoffLng.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffLng.label}" id="c4">
                                <af:outputText value="#{row.SoffLng}" clientComponent="true" id="ot4"/>
                            </af:column>
                            <af:column sortProperty="#{bindings.LocView1.hints.SoffZoom.name}" filterable="true"
                                       sortable="true" headerText="#{bindings.LocView1.hints.SoffZoom.label}" id="c5">
                                <af:outputText value="#{row.SoffZoom}" id="ot5"/>
                            </af:column>
                        </af:table>
    Javascript code:
    alert(document.getElementById("t1"));
    Result:
    [object HTMLDivElement];
    And
    alert(document.getElementById("t1").innerHTML);
    Result:
    <div id="t1::ch" style="overflow: hidden; position: relative; width: 366px;" _afrcolcount="5" class="xzg"><table class="xzi" summary="This table contains column headers corresponding to the data body table below" id="t1::ch::t" style="position:relative;table-layout:fixed;width:525px" cellspacing="0"><tbody><tr><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th></tr><tr><th _d_index="0" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc1" class="x1u"><input id="t1:_afrFltrc1::content" name="t1:_afrFltrc1" class="x25" type="text"></span></th><th _d_index="1" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc2" class="x1u"><input id="t1:_afrFltrc2::content" name="t1:_afrFltrc2" class="x25" type="text"></span></th><th _d_index="2" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc3" class="x1u"><input id="t1:_afrFltrc3::content" name="t1:_afrFltrc3" class="x25" type="text"></span></th><th _d_index="3" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc4" class="x1u"><input id="t1:_afrFltrc4::content" name="t1:_afrFltrc4" class="x25" type="text"></span></th><th _d_index="4" _afrfiltercol="true" class="xzr" align="left" nowrap="nowrap"><span id="t1:_afrFltrc5" class="x1u"><input id="t1:_afrFltrc5::content" name="t1:_afrFltrc5" class="x25" type="text"></span></th></tr><tr><th id="t1:c1" _d_index="0" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c1::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffOffCode</div></th><th id="t1:c2" _d_index="1" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c2::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffCode</div></th><th id="t1:c3" _d_index="2" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c3::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffLat</div></th><th id="t1:c4" _d_index="3" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c4::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffLng</div></th><th id="t1:c5" _d_index="4" _afrleaf="true" _afrroot="true" class="xzj" align="left"><div style="position:relative; float:right"><table id="t1:c5::afrSI" _afrhoverable="true" style="display:none" class="x104" cellpadding="0" cellspacing="0"><tbody><tr><td _afrsortasc="1"><a tabindex="-1" class="xzm" title="Sort Ascending"></a></td><td _afrsortdesc="1"><a tabindex="-1" class="xzn" title="Sort Descending"></a></td></tr></tbody></table></div><div class="x19p">SoffZoom</div></th></tr></tbody></table></div><div id="t1::db" class="xz9" style="position: relative; width: 366px; overflow: hidden; height: 521px; z-index: 1;" _afrcolcount="5"><table class="xza x102" style="table-layout:fixed;position:relative;width:525px;" _totalwidth="525" _selstate="{'0':true}" _rowcount="179" _startrow="0" cellspacing="0"><tbody><tr _afrrk="0" class="xzy p_AFSelected"><td style="width:100px;" class="xzv" nowrap="nowrap"><span id="t1:0:ot1">26</span></td><td style="width:100px;" class="xzv" nowrap="nowrap">01</td><td style="width:100px;" class="xzv" nowrap="nowrap"><span id="t1:0:ot3">47.90782714384932</span></td><td style="width:100px;" class="xzv" nowrap="nowrap"><span id="t1:0:ot4">106.88643654861448</span></td><td style="width:100px;" class="xzv" nowrap="nowrap">15</td></tr><tr _afrrk="1" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:1:ot1">26</span></td><td class="xzv" nowrap="nowrap">02</td><td class="xzv" nowrap="nowrap"><span id="t1:1:ot3">47.91542113773543</span></td><td class="xzv" nowrap="nowrap"><span id="t1:1:ot4">106.88540658035276</span></td><td class="xzv" nowrap="nowrap">15</td></tr><tr _afrrk="2" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:2:ot1">26</span></td><td class="xzv" nowrap="nowrap">03</td><td class="xzv" nowrap="nowrap"><span id="t1:2:ot3">47.90768330745696</span></td><td class="xzv" nowrap="nowrap"><span id="t1:2:ot4">106.89544877090452</span></td><td class="xzv" nowrap="nowrap">15</td></tr><tr _afrrk="3" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:3:ot1">26</span></td><td class="xzv" nowrap="nowrap">04</td><td class="xzv" nowrap="nowrap"><span id="t1:3:ot3">47.90716549312801</span></td><td class="xzv" nowrap="nowrap"><span id="t1:3:ot4">106.86879834213255</span></td><td class="xzv" nowrap="nowrap">14</td></tr><tr _afrrk="4" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:4:ot1">26</span></td><td class="xzv" nowrap="nowrap">05</td><td class="xzv" nowrap="nowrap"><span id="t1:4:ot3">47.89841940184846</span></td><td class="xzv" nowrap="nowrap"><span id="t1:4:ot4">106.82674130477903</span></td><td class="xzv" nowrap="nowrap">13</td></tr><tr _afrrk="5" class="xzy"><td class="xzv" nowrap="nowrap"><span id="t1:5:ot1">26</span></td><td class="xzv" nowrap="nowrap">06</td><td class="xzv
    .etc
    Javascript:  alert(document.getElementById("t1:121:ot3").innerHTML); this retrieve in value
    But only 50 rows in this result. I have many rows. How I can get all???

  • Questions about BLOG feature and about Google Maps Widget

    Hi, just started using iweb & mobileme to take a break from dreamweaver & ISP host (I am so bored with both of them). iWeb 09 seems very VERY cool, but I chose a theme with a blog feature for a blog I am starting for our studio, and it works strangely. The entries are replicated in full on the blog home page, and that does not make sense. Read more? Why, you just read it all! Albeit in smaller print and different layout. But I am sure that I am missing something there:) Also, how do people comment on the articles? I see nothing there!
    On google map, I want to add a pin but don't see how using the widget. It only gives me a google known address, which are few and far between in Nepal. So how do I fix that?
    Here is the draft site:
    http://web.me.com/studiosphoenix/Blog/TheBird/TheBird.html
    ALSO, BONUS QUESTION: where is the best place to get more/better canned themes for iWeb, and are there tips on installing them? thx!!!

    Draft Link changed!
    http://web.me.com/studiosphoenix/Blog/TheBird/TheBird.html

  • Address Bubble for Google Maps

    On my website I am using the Google Map to display the position of a church. To position it accurately I am using the lat & long (e.g. 53.75135, -2.50707). However, the lat and long show up in the address bubble when I view the web page; I would rather see the church name (dedication). Is there some sneeky syntax I can't find that will enable me to see (for example) "Blackburn: Saint Silas" rather than "53.75135, -2.50707"?

    I've been using the Web Widget from inside iWeb '08 and I was hoping for a solution that would work with that. I've already had to hand-crank a large quantity of html for some other pages (why won't iWeb support tables?) so I was hoping to keep this part of the site as simple as possible.

  • Google Maps and Skyhook - doesn't work as expected; it works better!

    Hello all and thanks for taking the time to read this. 
    I was under the impression that when you pressed the Locate button in the Google Maps application that the iPod took the MAC address of the WiFi Router it was connected to and then polled Skyhook's database to get the Lat and Long of that router. After this the Maps application would also download appropriate map images to display underneath. This is all well and good however today I noticed that without connecting to any router Maps was able to track my position as I walked down a residential road with only encrypted home WiFi connections available - none of which could actually provide me with an Internet connection. Whilst I can see that the iPod could obtain the MAC address of these routers as I walked past I'm at a loss as to explain how it managed to turn this into the Lat and Long which was being displayed as a blue circle. I know I hadn't connected on a free WiFi connection as the Map images didn't update.
    Does anyone have any explaination?
    VMT
    mrtotes

    Thanks for all the replies. 
    I went to watch mrs totes play a Netball match on Saturday, somewhere I've never taken the +iPod touch+ before. It could see two encrypted networks and pretty accurately determined my position. As you can see only a certain amount of cached map image data was available. The fact that it still found my position spoiled my only theory that the iPod might cache a local MAC/Lat/Long table.
    Here are some images to illustrate:
    I guess you are suggesting that it downloads and caches a table of a certain radius when you determine your location and have an Internet connection. Interesting. I'm driving to 40 miles to Bristol tomorrow once I get they I'll see if I can determine my position.
    cheers
    mrtotes
    P.S. They won 31-16 and mrstotes was 'man' of the match.

  • Using XML file in Java script to create Google Map

    Hello,
    I work for a non-profit in San Diego as a GIS Specialist. I have had to teach myself about some scripting to create some dynamic maps, but I am still very limited in my skills, so I have had to explore the internet in order to discover various tutorials and examples that have led me on a positive path.
    Right now I am working on a Google Mash-Up that will incorporate over 14,000 records, which will appear as separate markers that will have pop-up info bubbles with additional info inside (using html), once the marker is clicked.
    Here is the XML script example that is used in the tutorial I am following:
    <markers>
    <marker lat="43.65654" lng="-79.90138" html="Some stuff to display in the<br>First Info Window"
    label="Marker One" />
    <marker lat="43.91892" lng="-78.89231" html="Some stuff to display in the<br>Second Info Window"
    label="Marker Two" />
    <marker lat="43.82589" lng="-79.10040" html="Some stuff to display in the<br>Third Info Window"
    label="Marker Three" />
    </markers>
    ...and this is how it looks when the file is retrieved by the java script and mapped: http://econym.googlepages.com/example_map3.htm
    This is the java script that creates the Google Map. I have emboldened the section of the script that retrieves the data and parses it to create the markers:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Google Maps</title>
    <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA6GoL8P5zqjQlG5A5uM1ETBSUPozAscB0cY3RG8xEGnZyeom4axRySak889rVpvHYRsV4f9OZZzbboA"
    type="text/javascript"></script>
    </head>
    <body onunload="GUnload()">
    <!-- you can use tables or divs for the overall layout -->
    <table border=1>
    <tr>
    <td>
    <div id="map" style="width: 800px; height: 1200px"></div>
    </td>
    <td width = 200 valign="top" style="text-decoration: underline; color: #4444ff;">
    <div id="side_bar"></div>
    </td>
    </tr>
    </table>
    <noscript><b>JavaScript must be enabled in order for you to use Google Maps.</b>
    However, it seems JavaScript is either disabled or not supported by your browser.
    To view Google Maps, enable JavaScript by changing your browser options, and then
    try again.
    </noscript>
    <script type="text/javascript">
    //<![CDATA[
    if (GBrowserIsCompatible()) {
    // this variable will collect the html which will eventualkly be placed in the side_bar
    var side_bar_html = "";
    // arrays to hold copies of the markers used by the side_bar
    // because the function closure trick doesnt work there
    var gmarkers = [];
    var i = 0;
    // A function to create the marker and set up the event window
    function createMarker(point,name,html) {
    var marker = new GMarker(point);
    GEvent.addListener(marker, "click", function() {
    marker.openInfoWindowHtml(html);
    // save the info we need to use later for the side_bar
    gmarkers[i] = marker;
    // add a line to the side_bar html
    side_bar_html += '<a href="javascript:myclick(' + i + ')">' + name + '</a><br>';
    i++;
    return marker;
    // This function picks up the click and opens the corresponding info window
    function myclick(i) {
    GEvent.trigger(gmarkers, "click");
    // create the map
    var map = new GMap2(document.getElementById("map"));
    map.addControl(new GLargeMapControl());
    map.addControl(new GMapTypeControl());
    map.setCenter(new GLatLng( 37.251699,-119.604315), 7);
    *// Read the data from testXML2blackpoolformat.xml*
    var request = GXmlHttp.create();
    request.open("GET", "testXML2blackpoolformat.xml", true);
    *request.onreadystatechange = function() {*
    *if (request.readyState == 4) {*
    var xmlDoc = GXml.parse(request.responseText);
    *// obtain the array of markers and loop through it*
    var markers = xmlDoc.documentElement.getElementsByTagName("ConnectoryRecord");
    *for (var i = 0; i < markers.length; i++) {*
    *// obtain the attribues of each marker*
    *var lat = parseFloat(markers[i].getAttribute("lat"));*
    *var lng = parseFloat(markers[i].getAttribute("lng"));*
    var point = new GLatLng(lat,lng);
    *var html = markers[i].getAttribute("html");*
    *var label = markers[i].getAttribute("label");*
    *// create the marker*
    var marker = createMarker(point,label,html);
    map.addOverlay(marker);
    // put the assembled side_bar_html contents into the side_bar div
    document.getElementById("side_bar").innerHTML = side_bar_html;
    request.send(null);
    else {
    alert("Sorry, the Google Maps API is not compatible with this browser");
    // This Javascript is based on code provided by the
    // Blackpool Community Church Javascript Team
    // http://www.commchurch.freeserve.co.uk/
    // http://econym.googlepages.com/index.htm
    //]]>
    </script>
    </body>
    </html>
    Here is my delima--
    This is the xml format that I need to use because it can accept the rest of my excel file and loop it through the 14,000+ records to create a functioning xml file. This is just a sample (2 records) of the larger file:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <ConnectoryAug2008>
    <ConnectoryRecord>
         <lng>-117.03683</lng>
         <lat>32.944505</lat>
         <ConnectoryID>1</ConnectoryID>
         <Name>$2.95 Guys</Name>
         <StreetAddress>13750 Stowe Drive</StreetAddress>
         <City>Poway</City>
         <State>CA</State>
         <Zip>92064</Zip>
    <Marker>White</Marker>
         <IndustryGroup>Technical Services</IndustryGroup>
         <ConnectoryProfileLink>http://connectory.com/search/profile_view.aspx?connectoryId=1</ConnectoryProfileLink>
    </ConnectoryRecord>
    <ConnectoryRecord>
         <lng>-117.272843</lng>
         <lat>33.13337</lat>
         <ConnectoryID>2</ConnectoryID>
         <Name>(GLDS) Great Lakes Data Systems</Name>
         <StreetAddress>5954 Priestly Drive</StreetAddress>
         <City>Carlsbad</City>
         <State>CA</State>
         <Zip>92008</Zip>
    <Marker>Orange</Marker>
         <IndustryGroup>Technology</IndustryGroup>
         <ConnectoryProfileLink>http://connectory.com/search/profile_view.aspx?connectoryId=2</ConnectoryProfileLink>
    </ConnectoryRecord>
    </ConnectoryAug2008>
    This is the tutorial where I found the formatting techniques to successfully create the large xml file that will format/convert my excel file properly: http://www.mrexcel.com/tip064.shtml
    These variables should appear as html in the info bubble:
    <ConnectoryID>2</ConnectoryID>
         <Name>(GLDS) Great Lakes Data Systems</Name>
         <StreetAddress>5954 Priestly Drive</StreetAddress>
         <City>Carlsbad</City>
         <State>CA</State>
         <Zip>92008</Zip>
    <IndustryGroup>Technology</IndustryGroup>
         <ConnectoryProfileLink>http://connectory.com/search/profile_view.aspx?connectoryId=2</ConnectoryProfileLink>
    The "Marker" variable instructs Google Maps to label the marker with a particular color. I will be so grateful to the person(s) that helps me get through this wall that I have been hitting for a long time. It's very difficult without having the luxury of peers who know about these types of issues.
    Thank you!!

    Here is the relationship: They both contain geographic coordinates that produce a point on a map. I will use the rest of the information in the second xml file (company name, address, link, etc.) to produce the information for the bubble that will pop up once the marker is clicked.
    My problem is that I need to try to keep the second xml file in a relatively similar format, so the rest of my records will still be accepted. If I had a smaller amount of records I could place them directly into the javascript, but because there are so many records, I need to use an xml file that can be retrieved by the java script. I chose to use the second type of xml file because I can easily copy and past the 14,000+ records that are now in excel document.
    After the xml issue is corrected I need to rework the javascript that is now emboldened so that it will read the new xml file correctly. I included the first xml file so that the readers will understand what type of xml format is currently being used to produce the markers in the tutorial map.

  • Solution for google map in Nokia C7 & C6-01

    I have Nokia C7 & C6-01. I installed Google Maps on my C7 & C6-01 with Belle. But I found a solution.
    Latest Version of Google map (V. 4.1.1) works fine with belle, you need to just turn on your wifi for it. Then it will work

    If considering re-installing existing device software via Nokia Suite, I might suggest that after backing up essential data you reset your C6-00 to factory settings, so that Nokia Maps sets itself up from scratch and ensures that Assisted GPS positioning method establishes it's network access point.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • My own Google Map icons are not visible in Firefox 8

    I have many Google Maps on my website and they contain both default Google icons and my own icons, each with their own URLs. They work correctly in all other browsers, and Firefox 7. However, yesterday I loaded Firefox 8. In Firefox 8 the Google default icons are still visible but my own icons are now invisible, but their placeholders are still there. They are still visible in other browsers. Also, if I now try and add one of my icons to a map, the process seems to work correctly, including a placemark name appearing, but the icon is invisible. The invisible icon is definitely there because you can click the placemark and be taken to the correct position on the map for editing, but the icon is not visible.

    Same problem with my maps. You posted that this issue is solved at http://forums.mozillazine.org/viewforum.php?f=25 but it is NOT SOLVED!!!!! I'm not a web developer, so I don't want a solution where I have write code or be a developer to figure it out. It works in every other browser & in FF7, so why can't you just figure it out & fix it, instead of making us have to write code or use our own developers to figure it out??

  • Google maps is not displaying properly on firefox

    I am in the process of building a website for a client and have included a google map on the contact page. The map displays correctly in ie, safari, opera, and chrome, but on firefox the map is way out of position on the page. Firefox seems to be ignoring the existence of the map in the flow of the page and the map is appearing to the left of the rest of the page content. Here is a link to the problem page, http://pennsylvania-hill.com/?page_id=6. The map is supposed to appear in a 980 x 320 space below the navigation bar and above the addresses and contact form. The only solution I can come up with is a firefox hack in the css. I'm hoping for a better solution.
    Thanks,
    Greg

    [[Websites look wrong or appear differently than they should]]

  • Placing Google Map with CS5 [subject edited by moderator]

    I have dreamweaver CS5 and want to know how to embed a google map image please. I have successfully placed a link to the map, but not the image of the map.

    Have you tried the Google instructions?
    Embed a map (new Google Maps) - Google Maps Help

  • I WANT TO BE ABLE TO SYNC GOOGLE MAPS INTO MY CALENDAR EVENTS on IPhone

    I often find myself with spurts of time where I can look up the location of my events, but when I am on the move I don't have a lot time. It would be very helpful to be able to attach locations into my events so that when it's time to go to that event I'm not scrambling trying to find out where it is. I think this would also be helpful for people, like myself, who maintain an executive's calendar and can streamline their day as well. If there is already a way to do this please help...otherwise someone with the means to do this (ie apple/mac) should include this into the next update.
    Thank you for reading this and if you can offer any help it is much appreciated.

    This works for me...
    1. From the Maps app, drop a pin and position it where your event is
    2. share that pin location via an email or MMS to yourself
    3. copy that location from the email/MMS
    4. paste it into the Notes section of your calendar event
    5. you'll then have a link to Google maps in your event for your event location
    ...all from your iPhone.
    Message was edited by: paulcb

Maybe you are looking for

  • Creating a link in a PDF form to open into a new window

    I have created the PDF form and every thing seems to be working fine. But I would like to set a link in the form that would open into a separate page. I have tried target="_blank" and onclick="window.open(this.href, 'child', 'scrollbars,width=650,hei

  • How to create view on dates for a given month for matrix

    hi all i have the following 2 tables Task_Master Task_ID Task_Name Task_Details Task_ID Task_Date Task_Count Both the tables are linked through primary and foreign keys...just want to create a view where i will provide only month and it will return t

  • Xorg doesn't start

    When I try to start the xserver by typing startx [ i've got 'echo startxfce4' in my .xinitrc file ], it gives me these errors: expected keysym, got XF86KbdLightOnOff: line 70 of pc expected keysym, got XF86KbdBrightnessDown: line 71 of pc expected ke

  • Advantages and disadvantages of BAPI_PO_CREATE1 over BAPI_PO_CREATE.

    Advantages and disadvantages of BAPI_PO_CREATE1 over BAPI_PO_CREATE. Please provide details.

  • Mustek SE A3 1200 scanner no longer seems to work with Mac pro

    Hi, I have a Mustek SE A3 usb 1200 pro scanner and it just recently stoped working [I think it is since I updated to Mavericks.] I tried looking for a new driver but there is only one for mac for my scanner. The problem is when I open Image Acquire a