On Oct 24, 2:38 pm, Adriano Manocchia <[email protected]> wrote:
> I'm using Google Maps to provide walking directions with multiple stops, but
> I can't seem to find any way to customize the popup overlay on each stop. It
> just shows the address I've provided for each waypoint. Is there any way to
> change that?
Yes. Use the suppressMarkers option on the Directions Renderer, then
add your own markers with click listeners that open an infowindow
("popup") with whatever content you want in it.
Here is an example that renders the directions result from scratch,
but it shows how to add markers at the start, waypoint and end.
http://www.geocodezip.com/v3_GoogleEx_directions-waypointsF.html
-- Larry
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.