On Mar 23, 2:39 pm, UKFCU UKFCU <[email protected]> wrote: > I had to move the API map for interactivity while I get this figured out, > the API version can be found at: > > http://www.uky.edu/UKFCU/membershipSearch.html > > oh and in case this is needed to help troubleshoot this, I generated the API > key for the domain:http://www.uky.edu/UKFCU/
You should be able to use a key for http://uky.edu The "directory" is not needed and can cause problems. Not that it looks like that is what is causing your problem. It does definitely seem to be a key problem. If I replace yours with mine, it doesn't get the key error on my server: http://www.geocodezip.com/uky_edu_membershipSearchB.html -- Larry > > Thanks again > > On Mon, Mar 23, 2009 at 4:36 PM, andy - ukfcu <[email protected]> wrote: > > > > > > > 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 atwww.uky.edu/ukfcu/ but if you go tohttp://www.ukfcu.orgit > > redirects you tohttp://www.uky.edu/ukfcu/ > > > Here is the code from the site: > > <script src="http://maps.google.com/maps? > > file=api&v=2&sensor=false&key=ABQIAAAAAIRJtQ-9xYPpWWydoDKj5BR- > > SsTIgMvoAxQTWbkIv5qQT9_ZtxStdFMzyLYFZxlKsxGHm5wdNFaVxA<http://maps.google.com/maps?%0Afile=api&v=2&sensor=false&...> > > " > > type="text/javascript"> > > </script> > > > <script src="http://www.google.com/uds/api? > > file=uds.js&v=1.0&key=ABQIAAAAAIRJtQ-9xYPpWWydoDKj5BR- > > SsTIgMvoAxQTWbkIv5qQT9_ZtxStdFMzyLYFZxlKsxGHm5wdNFaVxA<http://www.google.com/uds/api?%0Afile=uds.js&v=1.0&key=ABQIAAAAAI...>" > > type="text/ > > javascript"></script> > > <script src="http://www.google.com/uds/solutions/localsearch/ > > gmlocalsearch.js<http://www.google.com/uds/solutions/localsearch/%0Agmlocalsearch.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- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
