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 markers
http://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
and
http://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.

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