On Jul 22, 11:46 am, 123gotoandplay <[email protected]> wrote: > Hi, > > Back in version 2 i had > > function returnGIcon(type) { > var icon = new GIcon(); > switch(type) { > > > > } > return icon; > } > > How do i use this in v3??? > > var path = new google.maps.Polyline({ > path: coordinates, > strokeColor: "#FF0000", > strokeOpacity: 1.0, > strokeWeight: 2 > }); > hardloopRoutePath.setMap(map);//test
Why would you use an icon for a polyline (in either v2 or v3)? If you provided a link to your map(s), perhaps we might be able to see what you were trying to do. -- 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.
