On Nov 13, 8:59 pm, Umar Farman <[EMAIL PROTECTED]> wrote: > Dear All, > > Hope you people will be fine. I would highly appreciate anyone's help > regarding my problem. Urgent help is required, so any help will be > regarded. > > I am making a web application using javascript and Google Map API's. > My web application will show the google map on the screen together > with a "left panel" and "bottom panel". > > The div for map is: > <div id="map"></div> > > Then comes the div for left panel: > <div id="left-nav"></div> > > And lastly the div for bottom panel: > <div id="bottom-nav"></div> > > On using this div position, my "setCenter(...)" does not return and > breaks the code. I have tried nesting the left panel in the div for > map but on doing that, the "setCenter(...)" successfully returns and > all my markers are loaded on the map but the map div overwrites the > left panel and left panel is not shown. > > Here is the link to my page ::http://58.65.163.97:8080/googlemaptest/ > > I am currently using FireFox and the code is designed only to run in > FireFox. If further code is needed for anyone to help me out, I will > be willing to do that, or for that matter, > anything required will be provided for assistance. > > I understand that this has something to do with the css configuration > of divs. But I dont understand that how css configuration or divs can > make setCenter break. >
1. declare your variables (var map) 2. use the error console 3. don't try to access files on my computer that aren't there: Error: [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_saveState :: line 1901" data: no] Source File: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js Line: 1901 -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
