Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Embedded google map co-ordinates busto?

Options
  • 15-01-2009 9:36pm
    #1
    Registered Users Posts: 2,694 ✭✭✭


    Anyone had any issues with embedded google maps recently? This code has been working for the last few months fine and now the map co-ordinates are pointing to the States instead of Drogheda? Looks to be an issue with the GSmapSearchControl. No changes have been made to the code so I'm at a bit of a loss as I'm no coder. :confused: Anyone got an idea of what's gone wrong here?

    Thanks

    ding


    <!-- Map Search Control and Stylesheet -->
    
      <script type="text/javascript">
        window._uds_msw_donotrepair = true;
      </script>
      <script src="http://www.google.com/uds/solutions/mapsearch/gsmapsearch.js?mode=new"
        type="text/javascript"></script>
      <style type="text/css">
        @import url("http://www.google.com/uds/solutions/mapsearch/gsmapsearch.css");
      </style>
    
      <style type="text/css">
        .gsmsc-mapDiv {
          height : 800px;
        }
    
        .gsmsc-idleMapDiv {
          height : 800px;
        }
    
        #mapsearch {
          width : 409px;
          margin: 10px;
          padding: 4px;
        }
      </style>
      <script type="text/javascript">
        function LoadMapSearchControl() {
    
          var options = {
                zoomControl : GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL,
                title : "Campbells Building Supplies? ",
                url : "http://www.campbellsbuildingsupplies.com",
                idleMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM-2,
                activeMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM-2
                }
    
          new GSmapSearchControl(
                document.getElementById("mapsearch"),
                "53.767245 -6.3451218",
                options
                );
    
        }
        // arrange for this function to be called during body.onload
        // event processing
        GSearch.setOnLoadCallback(LoadMapSearchControl);
      </script>
    <!-- ++End Map Search Control Wizard Generated Code++ -->
    


Advertisement