I thought I was clear in my original post, but perhaps not enough.
Yes, I would like the address that the user is searching against to
appear on the map as well. It just so happens that the green arrow I
mentioned in my original post was just an example I was using. The
graphic itself is not a concern at this point, I just want to get the
address on the map.

>From my previous post:

"So on this page:
http://midwivesofmaine.org/storeLocator/locator.html
If you type in say "BELFAST, MAINE", you get your search results on
the left side bar and on the map. I know that the geocoding done to
create the search is there, but what I don't know how to do is
actually get "BELFAST, MAINE" to appear on the map"

Belfast, Maine was just an example in relation to the addresses I have
stored in my DB.

Thanks!

--Jason

On Feb 4, 8:18 pm, "[email protected]" <[email protected]>
wrote:
> On Feb 4, 5:10 pm, jandreoni <[email protected]> wrote:
>
> > Thanks for the response, but this still isn't the information I am
> > looking for.
>
> > This link:http://econym.org.uk/gmap/custom.htm
> > is for creating the actual graphic for a custom marker. I need to get
> > the marker on the map in the first place before I can style it.
>
> > So on this page:http://midwivesofmaine.org/storeLocator/locator.html
> > If you type in say "BELFAST, MAINE", you get your search results on
> > the left side bar and on the map. I know that the geocoding done to
> > create the search is there, but what I don't know how to do is
> > actually get "BELFAST, MAINE" to appear on the map.
>
> What do you mean by "actually get "BELFAST, MAINE" to appear on the
> map"?  Do you want that text to appear?  I thought you wanted the
> "green arrow", that would be a custom icon for the marker.  If you
> want that text to appear somewhere on the map, that is different.
>
>   -- Larry
>
>
>
>
>
> > I've looked at the GMarker reference from above, but I just can't seem
> > to get it to work.
>
> > As I've stated above, I am totally new to the Google API, and am not a
> > JS expert. But I am learning. Thanks for any help.
>
> > --Jason
>
> > On Feb 4, 10:49 am, "[email protected]" <[email protected]>
> > wrote:
>
> > > On Feb 4, 7:26 am, jandreoni <[email protected]> wrote:
>
> > > > Thanks for the response, Andrew--
>
> > > > I'm having trouble figuring out exactly what code to use to achieve
> > > > this. I am fairly new to the Google Map API. I'd appreciate any help/
> > > > guidance you could give me.
>
> > > Did you see my post:> See Mike Williams' tutorial
>
> > > which is:http://econym.org.uk/gmap/
>
> > > In particular:
> > > Part 9 Making your own custom markershttp://econym.org.uk/gmap/custom.htm
>
> > > > and the documentation for details on
> > > > adding custom icons for GMarkers.
>
> > >http://code.google.com/apis/maps/documentation/reference.html#GIcon
> > > andhttp://code.google.com/apis/maps/documentation/reference.html#GMarker
>
> > > > Post back here if you run into trouble.
>
> > > Sorry, I get tired of digging up the references every time someone
> > > asks (it seems to me like you should have been able to find them from
> > > the information in my earlier post, but maybe not...)
>
> > >   -- Larry
>
> > > > --Jason
>
> > > > On Feb 4, 8:22 am, Andrew Leach <[email protected]> wrote:
>
> > > > > 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.- Hide quoted text -
>
> > - Show quoted text -

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