On Mar 12, 10:07 am, anand <[email protected]> wrote:
> hi forum
> i m new to this forum and if i make a mistake please do correct me.
> i have uploaded the google maps api code on the 
> sitehttp://www.oldstreet.in/contact.htm
>
> i have tested this on my local machine before loading and maps were
> loading fine but now when i try to access this page it says
>
> "The Google Maps API server rejected your request.  This could be
> because the API key used on this site was registered for a different
> web site.  You can generate a new key for this web site 
> athttp://code.google.com/apis/maps/";
>
> whereas i have already taken the code for the base domain that 
> iswww.oldstreet.inbut i m unable to solve this problem
> it would be really nice if someone can tell me my mistake so that it
> works fine

You have 2 problems in these lines:
<script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;sensor=true_or_false
    &amp;key=ABQIAAAAEXaH5qVC_h7iydJDX2vKqBROQypmrsp6jm94cCk3H-
yLnbdc5hTBVnD3utlFRJG_vYJqXpNsjJ7umw"
    type="text/javascript">

1. sensor needs to be "sensor=true" or "sensor=false" not
"sensor=true_or_false"
2. the first three lines can't have line breaks in them

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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