hi Xelawho, i've tried Mike's suggestion but nothing seems to be different. it works on all browsers like before without the map.setCenter() line. On Mac firefox Gears works only till version 3.2; my brother has FF 5 and he can view only a global map because there isn't a Gears version compatible for FF5 on Mac system. Instead on Safari he can download a Gears version compatible and get a centered map.
2011/7/2 xelawho <[email protected]> > > ok i've found the problem. now it works also on IE (windows system) ! > there > > is some command line that was useless, probably from prev changes. > > yes, but I was reading here: > http://econym.org.uk/gmap/basic14.htm > > that if you are using markerBounds like you are that "It is necessary > to perform a map.setCenter() call before starting to add markers." > > and although there doesn't seem to be a problem on the browsers > tested, Mike suggests to just use any values, just to be safe (because > like we've seen, different browsers react different ways). The > suggestion is to add this line: > map.setCenter(new GLatLng(0,0),0); > > where you deleted the other one. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API V2" 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. > > -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
