On May 5, 10:15 am, Alex Neskin <[email protected]> wrote: > > But the problem is, that when i use: > map.setCenter(37.4419, -122.1419, 13); - nothing happens
I expect there will be an error. setCenter doesn't work like that, it works like this... > when i use map.setCenter(new GLatLng(37.4419, -122.1419), 13); it > works, However all that does is set the centre and zoom. So this... > but all my loaded marker disappeared. is likely to mean that your markers aren't in the viewport. Simply setting the centre/zoom shouldn't remove them. Perhaps something else does? (Like changing the centre removes markers which aren't in the viewport and loads markers which are; but you haven't any markers in Palo Alto) > looking for advice, thanks Give a link. See this post for information about free hosting: http://groups.google.com/group/google-maps-api/msg/41fbad8311e7cd1d -- 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.
