Hi, Larry-- Thank you for your response. That link will come in handy in styling the marker down the road. I'm not so concerned with the graphic per say right now, but how to get the users address to appear on the map in the first place. On the Ace map I've linked to above, when you do a search using your address and hit SEARCH, your address appears on the map as well as the store locations nearest you.
I'd like the address that the user is searching for to appear on the map as well. Thank you! --Jason On Feb 3, 6:49 pm, "[email protected]" <[email protected]> wrote: > On Feb 3, 12:09 pm, jandreoni <[email protected]> wrote: > > > I've worked my way through this tutorial (http://code.google.com/apis/ > > maps/articles/phpsqlsearch.html), and I've got my map up and running > > (still in a dev environment). What I would like to know is how to have > > the user's address, when they search for a business nearest them, pop > > up on the map as well as the results, as a green arrow or something. > > You would have to write code to add a custom icon at the location > returned by the geocoder. You can find the "green arrow" by searching > google:http://www.google.com/search?hl=en&source=hp&q=Green+arrow+google+map... > > See Mike Williams' tutorial and the documentation for details on > adding custom icons for GMarkers. Post back here if you run into > trouble. > > -- Larry > > > > > Like on the Ace Hardware demo on the Store Locator tutorial page: > > >http://code.google.com/apis/maps/articles/phpsqlsearch.htmlhttp://www... > > > Here's the link to my map in it's dev state with test addresses: > > >http://www.midwivesofmaine.org/storeLocator/locator.html > > > On my map, type in "belfast, maine" and hit SEARCH. Now, ideally, I'd > > like the map to zoom out as it does to include the users location as > > well. To see Belfast on the map, scroll the map northeast a bit. > > > Thank you! > > > --Jason -- 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.
