thanks Rossko for the suggestions...i now used checkResize in javascript function where i changed div display style to block.... coming to second point,actually i m using loop to display 10 listings and against each listing there will b a google map.I now try to use loop variable with map variable so that each map variable name will b different.But even doing this,it doesnt bring the market in the center.Its still dispay marker on top right conner just outside map div and i have to drag to see the marker.
On Fri, Feb 20, 2009 at 3:25 PM, Rossko <[email protected]> wrote: > > > From ur suggestion it seems i have to call checkResize() function in > > javascript function which is chaging div hidden to block. > > Yes. > You want checkResize() to operate on your map AFTER the <div> has been > unhidden or size changed or whatever. It tells the map to check the > <div> it is living in and resize itself to fit ... > > The next problem you will run into is that every one of your many maps > re-uses the same javascript object called 'map'. > When you apply map.checkresize() I wonder which 'map' it's going to > try to operate on? > > cheers, Ross K > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
