Hi Andrew,- many thanks, I've corrected the javascript to a one-liner and now the key seems to be recognized, however the map is not being shown! The URL I first gave you got broken in the browser but it will work if copy&pasted into the address bar. It basically performs a search of gyms that then are supposed to be plotted on the Map - however that is not happening for some reason...
Best, Vahagn On Jan 14, 5:24 pm, "warden [Andrew Leach - Maps API Guru]" <[email protected]> wrote: > On Jan 14, 3:58 pm, railscoder <[email protected]> wrote: > > > > > However when I try to use this functionality it says the key was > > registered for a different URL: > > >http://functionalgyms.com/gyms/locate?address=San+Diego&within[miles]=1 > > > Can anyone tell me what the issue is here? > > I found the following athttp://functionalgyms.com/gyms/-- the URL > you gave yielded a 500 server error. > > <script type="text/javascript" > src="http://maps.google.com/maps?file=api&v=2& > key=..." > > > I've shortened the key. Having a line-break in the middle of a quoted > string (the src attribute) is not a good idea. Try making sure the > src="..." string is all on one line. > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
