On 1 June 2010 16:07, ELB <[email protected]> wrote: > > because we want to get a map to correspond to a given address - but > when we get two static maps back from Google for a given location- we > can't automate this as we don't know which map to show > > here is a URL whereby we got multiple results, thus we don't show a > map image on the page > > http://sency.com/place.php?city=san-antonio&span=day&index=6
How many San Antonios are there? Static Maps retun the one in Texas: http://maps.google.com/maps/api/staticmap?center=san%20antonio&zoom=5&size=400x400&sensor=false (change the zoom if required; that url shows the context) ...as does the API geocoder. Only one result is returned. So I don't see how you're getting more than one map to show. -- 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.
