Not sure about the line color, but as far as a custom marker, you can
do something like this:

var marker1 = new google.maps.Marker({
                    position: new google.maps.LatLng(point,point),
                    map: map,
                    clickable: true,
                    shadow: shadow,
                    icon: new google.maps.MarkerImage('path/toyour/image/
cstommarker.png'),
                    title: "whatever"
                });
                google.maps.event.addListener(
                        marker1, "click", function() {
                                infowindow1.open(map, marker1);
                        }
                );

-Mike
On Dec 26, 2:10 pm, Toaster <[email protected]> wrote:
> Hello
>
> Is there a way to use custom markers and alter the line color for
> directions? I haven't found anything regarding this in the docs and I
> was wondering if anybody had an idea. Thanks in advance

--

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.


Reply via email to