On Dec 4, 12:42 pm, LZ <[email protected]> wrote: > Hi there, > I am quite new with jQUery and the jsapi of google maps. > > I have got an issue, I don't know what is causing it. > > Please go to:http://www.localizziamo.it/maptest/test1.html
I get the "This web site needs a different Google Maps API key. ..." at that URL, but the map does work. That message is because of this line: <script type="text/javascript" src="http://www.google.com/jsapi? key=YOUR_KEY"></script> YOUR_KEY is not a valid key... The map I see has the typical symptoms of a map which is created when the div containing it has zero size. Either use the size option when you create the GMap2 object http://code.google.com/apis/maps/documentation/reference.html#GMapOptions.size or call map.checkResize() after it is displayed and the browser can return its actual size. http://code.google.com/apis/maps/documentation/reference.html#GMap2.checkResize > then click the "map" tab: you will see the content of the tab "map" > loaded via jQuery. The map is loaded but it is not centered. The > marker is there but not at the center of the map. Can anyone help me > please? > > If you need to have a look at the code of the map page included into > the main page, then go to http://www.localizziamo.it/maptest/test2.html That URL gives me a javascript error... -- Larry > > Regards, > LZ -- 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.
