I have tried to read through the numerous posts in this group to find
this answer, but nothing has worked. I am sure it is something simple
but, like I said I can't seem to get it to work.

I am getting that error message that a lot of people are getting:
The Google Maps API key used on this web site was registered for a
different web site. You can generate a new key for this web site at
http://code.google.com/apis/maps/.

Here is the site that I am trying to have a map on:
http://www.uky.edu/UKFCU/membership.html

I do not have a lot of skill in javascript but it works when I view it
in file:// in my browser, which makes me think it is just something to
do with the API key.

I am not sure if this has an affect on this but, this website is
hosted at www.uky.edu/ukfcu/  but if you go to http://www.ukfcu.org it
redirects you to http://www.uky.edu/ukfcu/

Here is the code from the site:
<script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAAIRJtQ-9xYPpWWydoDKj5BR-
SsTIgMvoAxQTWbkIv5qQT9_ZtxStdFMzyLYFZxlKsxGHm5wdNFaVxA"
    type="text/javascript">
  </script>

    <script src="http://www.google.com/uds/api?
file=uds.js&v=1.0&amp;key=ABQIAAAAAIRJtQ-9xYPpWWydoDKj5BR-
SsTIgMvoAxQTWbkIv5qQT9_ZtxStdFMzyLYFZxlKsxGHm5wdNFaVxA" type="text/
javascript"></script>
    <script src="http://www.google.com/uds/solutions/localsearch/
gmlocalsearch.js" type="text/javascript"></script>

    <style type="text/css">
      @import url("http://www.google.com/uds/css/gsearch.css";);
      @import url("http://www.google.com/uds/solutions/localsearch/
gmlocalsearch.css");

      #map {
        border : 1px solid #979797;
        width : 475px;
        height : 500px;
      }
    </style>

    <script type="text/javascript">
      //<![CDATA[
      function load() {
        if (GBrowserIsCompatible()) {

          // Create and Center a Map
          var map = new GMap2(document.getElementById("map"));
          map.setCenter(new GLatLng(38.06809, -84.53245), 11);
          map.addControl(new GLargeMapControl());
          map.addControl(new GMapTypeControl());
                  map.addOverlay(new GGeoXml("http://www.uky.edu/ukfcu/Scripts/
area.kml"));

          // bind a search control to the map, suppress result list
          map.addControl(new google.maps.LocalSearch());


        }
      }
      GSearch.setOnLoadCallback(load);
      //]]>
    </script>


Any help is appreciated, thank you in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to