I am trying to design a site feature that displays the
locations of events that are stored on the database of the company I work
for. It would iterate over all the venue
locations and their corresponding city and state and display the results as
place markers on the map. I’ve been
using the places API PlacesService.search(request,
callback); feature. Some search
queries show results when done on this V2 example:
http://code.google.com/apis/maps/documentation/javascript/v2/examples/control-googlebar.html
(try: Mortensen Hall, Hartford CT). But when done using the mentioned V3 places
method only some of the terms work, but some do not (the Mortensen Hall ex. does
not). I am not sure how the V2 code
works but it does not seem as customizable (from looking at the source
code). Running the same query on the
main Google maps site produces similar results to the V2 code.
So my questions are these:
Why are the results different? (Some queries show up using
the V3 places API, just not all)?
How do I use the same Google map search results, only customize
the markers, info windows and other features?
Thanks.
Because the database only has the state, town and the name of the venue stored on it, not the address. I am trying to harness Google’s search service to return the address and have it displayed on the map.
> It's a
different service.
I don’t really care what service I am using, all I am looking for is the ability to enter the state, town and venue and have it show up on Google maps. If at all possible, I would use JavaScript to achieve this.