[Google Maps API v2] Re: center map on local user position
> 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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home