> but when I "create a line" are we talking about here: > var poly = new GPolyline(pts,colour,width,opacity,1,[category], > name); ? > or are we talking about in the xml file?
Just think about what you are doing. The arrowheads aren't in the XML file, you are making them up in the script. You are using a part of the polyline's associated information (its points) to create the arrowhead markers. You could extend that by using another part of the polyline's info - its category - to create the arrowhead markers ... with a 'clone' of the category. Obviously that's an extra bit of info you need to pass to the arrow- making routine. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
