Hi Larry thxs for pointing out that i forgot to setCenter in the beginning. The map didn't load up as expected is because there are no results found from the DB.
Cheers Reynard On Wed, Jun 9, 2010 at 12:48 PM, [email protected] <[email protected]>wrote: > On Jun 8, 8:43 pm, Reynard <[email protected]> wrote: > > Hi Larry > > > > thxs for your prompt response. I'm sorry that i posted at the wrong > > group. But anyway the link to my site is: > http://www.tutorme.sg/mainmap.php > > > > i didn't change any of my codes ever since the maps are loading > > properly. > > Really? > > How about your data? > The xml doesn't contain any locations: > http://www.tutorme.sg/googlemaps/phpsqlajax_genxml2.php > > The xml processing is attempting to geocode each entry, I find it hard > to believe that ever worked for more than one entry. > > Your map is blank because your code never initializes it by calling > map.setCenter. > > If you have the phpsqlajax_genxml2.php return valid xml containing a > single location with an attribute "postal" that contains a valid > address in Singapore, it might work again. > > -- Larry > > > > > pls advise me on how to resolve this issue. > > > > Thank You > > Reynard > > > > On Jun 9, 11:24 am, "[email protected]" <[email protected]> > > wrote: > > > > > On Jun 8, 8:20 pm, Reynard <[email protected]> wrote: > > > > > > Hi all > > > > > > i'm using googlemaps for 1 of my webpages, previously it was working > > > > perfectly fine. However recently i noticed the map doesn't load at > all > > > > and only shows a grey background. > > > > > > Using IE i noticed that there is an error as follows: > > > > Message: 'x' is null or not an object > > > > Line: 569 > > > > Char: 83 > > > > Code: 0 > > > > URI: > http://maps.gstatic.com/intl/en_ALL/mapfiles/242c/maps2.api/main.js > > > > > > Does this error got to do with the recent shifting of Google Maps > > > > Javascript API from V2 to V3? > > > > > No. What did you change? > > > > > > And how can i go about solving this issue? > > > > > We might be able to help if you posted a link. But as you map is v2, > > > you should probably post in the v2 group: > http://groups.google.com/group/google-maps-api > > > > > -- Larry > > > > > > Thank You > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
