Monday, November 16, 2009

Re: Getting error while generating google map

On Nov 16, 2:44 pm, shaveta mahajan <shaveta....@gmail.com> wrote:
> HI all!
> I am getting the error that "The website needs a diffrent google map
> api key, A new key can be generated athttp://code.google.com/apis/maps"
>
> I have generated api many times but getting same problem.
>
> my website ishttp://yellowpages.webworldsolutions.org

The solution is that this line
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key="
type="text/javascript"></script>
has to contain the key between the last = and the "

You should also have &sensor=true or &sensor=false in there as well
(depending on whether you use a sensor of some description).

And the url is http://yellowpages.webworldsolutions.org/GoogleMaps.aspx,
not as you quoted.

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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate