Hi, By taking your advice, now the error message is gone. But it doesn't show the map, while it shows on my localhost. What could be the problem?
Thanks for help!! And your fast reply will be much appreciated. George On Feb 26, 12:48 am, marine maiden <[email protected]> wrote: > Whoops. Can't believe I forget to throw one of them away... -.-" And > I'm stuck for 2 days at it... -.-" > Thanks for pointing it out. :D > > On Feb 26, 10:05 am, AnthonyP <[email protected]> wrote: > > > Yup... A couple things. First, it cannot break on two lines and you > > need to set sensor equal to either true or false. In the case, below > > I changed it to false. > > > <script src="http://maps.google.com/maps? > > file=api&v=2&sensor=false&key=ABQIAAAA1oR0l1b2krYVeWqi6zKwABSZx > > ptjILcZM8qJAkQ6D3GdbIrMoxT1_QUs7d46aX0eMmgMbZEYM- > > muEA" type="text/javascript"> > > > -Tony > > > On Feb 25, 8:00 pm, marine maiden <[email protected]> wrote: > > > > I tried to create a google map page in my > > > sitehttp://www.maps.doodoonet.net > > > but it just won't load... It says the API used is registered for > > > different site. I've even made sure that my domain name is correct > > > using alert(window.location.host) as you can see if you try to visit > > > the domain..... > > > They key generated is the one I use in the index page source: > > > <script src="http://maps.google.com/maps? > > > file=api&v=2&sensor=true_or_false > > > > &key=ABQIAAAA1oR0l1b2krYVeWqi6zKwABSZxptjILcZM8qJAkQ6D3GdbIrMoxT1_QUs7d > > > 46aX0eMmgMbZEYM- > > > muEA" > > > type="text/javascript"> > > > </script> > > > > Is there anything wrong with the site's domain? Or I can't use google > > > map in bluehost web hosting? I tried google map in my localhost and it > > > can run well. I only have this problem recently when I tried to upload > > > it to webhosting... Does anyone experienced this before? T.T --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
