You could have a database with the min/max lat/lon for each country
(look for free lat/lon country data online).  Then you would just do a
simple loop to see what countries have lat/lons which fall within the
current view.

-Mike Ethetton


On Oct 12, 2:00 pm, Ksor <[email protected]> wrote:
> Hi everyone!
> There is a problem - get a list of all the countries that are visible
> at the moment on the screen.
> I use the following algorithm:
> - Get the coordinates of the borders of the visible region
> (Gmap2.getBounds ());
> - Split the visible area into smaller rectangles;
> - For each rectangle getting its center;
> - For each center doing GClientGeocoder.getLocations();
> Could anyone can suggest a more efficient way to solve this problem?
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to