You need a IP - to - Location service http://www.google.com/search?q=ip2location
... that gives you a country Once you have a country, can use the GoogleMaps Geocoder, to get a 'view-extent' for the country - so can center and zoom the map. On Fri, Mar 23, 2012 at 3:25 PM, az az <lefte...@bgnet.bg> wrote: > Hi all > is there a way to center the map using coordinates obtained by the > country that the user is accessing the website from? > I.e. if one opens the site from the UK the map to be centered on UK > (as well as zoomed the the right level). > If other opens the site from USA to see map centered on USA (and again > zoom level OK) > I guess zoom level need to be calculated so that the country is shown > in the size of the map canvas. > > -- > 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 google-maps-js-api-v3@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com. > 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.