Thank you all. I found the solution by searching the groups. I am using facelets and I need to wrap the content using the following tag <f:view contentType="text/html"> and google map is displayed in FireFox. Thanks, Malu
On Feb 26, 2:25 pm, Barry Hunter <[email protected]> wrote: > On 26/02/2009, [email protected] <[email protected]> wrote: > > > > > > > > > On Feb 26, 11:52 am,malus<[email protected]> wrote: > > > Hello All, > > > Can Google maps be displayed correctly in Firefox in xhtml format? > > > > Works fine in IE, But I get the following error in fireFox. > > > > "Error: uncaught exception: [Exception... "Object cannot be created in > > > this context" code: "9" nsresult: "0x80530009 > > > (NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location: "http://maps.google.com/ > > > maps?file=api&v=2&key=XXXX Line: 1"] > > > > Error: GMap2 is not defined > > > > I searched the groups and found several solutions. Clearing browser > > > cache doesn't work. I understand that document.write() doesn't work > > > with XML. > > > > Then how can we make google map display in firefox in xhtml? > > > You might find this thread interesting: > > http://groups.google.com/group/Google-Maps-API/browse_frm/thread/2c40... > > LOL, forgot about that. I even used the demo linked above in trying it out :) > > > -- Larry > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk-- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
