On Feb 4, 12:58 pm, jandreoni <[email protected]> wrote:
>
> I'd like the address that the user is searching for to appear on the
> map as well.

You already geocode the address in order to find where to centre your
search. Just use that centre location to position a marker.

I would suggest that within function searchLocationsNear(), *just*
before your map.setCenter() line, you add your "home" marker to the
map using the "center" location which was passed in, *and* extend the
bounds with "center" as well. Then it will be included in the map
display with the other markers.

-- 
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