Hi,
That's correct. But i have passed the API KEY through the code. Which is running fine in localhost. But when i have upload to server and chnage the API Code for the URL Then it is show this error. Thanks Smruti On May 11, 3:36 pm, Andrew Leach <[email protected]> wrote: > On May 11, 11:11 am, Himanshu <[email protected]> wrote: > > > > > But i have create API KEY for this URLhttp://managemydream.com/ > > This is correct. > > > But it is not working.It show the Invalid key for this url but i have > > also change the key for > > thishttp://www.reporting.managemydream.com/dev/smruti/GoogleMapControl/Ma... > > but it show as same. > > This is wrong. You should not generate a key for a page, only for a > folder containing a page (which can be as general as just the domain, > like the one above) > > > Can anyone help me that's why i will really appreciate > > You haven't included the key in your page: > <script src="http://maps.google.com/maps?file=api&v=2&key=" > type="text/javascript"></script> > > The key needs to go between key= and the closing " > > You ought also to add &sensor=false into that string since your > page doesn't appear to use a location sensor. > > 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 -~----------~----~----~----~------~----~------~--~---
