It is because you are using the HTML5 geolocation capabilities and it is moving the center of the map to your location.
-- Luke VP, Keepin' It Real On Fri, Apr 1, 2011 at 10:34 AM, Rick Donohoe <[email protected]> wrote: > Actually yeah, hard to tell as there so close to home, but now I think > look it seems to be centering on my location. > The last calls of the map code though is > > map.fitBounds(bounds); > > poly = new google.maps.Polyline({ > path: path, > strokeColor: "#FF0000", > strokeOpacity: 0.5, > strokeWeight: 5 > }); > > poly.setMap(map); > > So I don't see why it may do a map.setCenter() call?! > > What's your opinion from the Javascipt on the link? > > Rick > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" 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-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
