On Jan 7, 9:31 am, Kaae <[email protected]> wrote: > On 6 Jan., 14:29, Andrew Leach <[email protected]> wrote: > > > The API geocoder searches for **addresses** not business names. To > > find businesses instead of addresses, use Local > > Search.http://code.google.com/apis/ajaxsearch/local.html > > This looks like what I need. However, the samples are all based on > having a search box placed on the map (which is not what I want). > > Is it possible to search for business names and retrieve the latlng- > points?
If you already know which business you want to show, you know where it is. Just put the marker where you want it. Geocoding (and Local Search) are intended to allow map users to choose a location, which is why they work the way they do. Geocoding has an HTTP method in order to allow developers to find locations first so that users don't have to. That way you can find and store a number of fixed locations which you can limit your users' choice to. Andrew
-- 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.
