As you can see, when you createA Polyline it depends of a array dont? so you just have to create all arrays as colors you want and create diferents polylines whit those arrays that's all
2011/3/13 dixromos98 <[email protected]> > hello > i have a a map that takes lat/lng from an > xml file and puts markerr on the map according > to lat/lng. i also have made a some polygons > on the map and i want to check if a marker > is within the polygon and if so i would like the > polygon to get color. > > so if a marker point is within the polygon bounds > i want that polygon to get color else stay as it is. > > any sujestions on how to do something like that?? > > 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. > > -- 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.
