On 20 October 2010 16:56, xelawho <[email protected]> wrote: >> Nope, not offhand, with the exception of Mike Williams' tutorial which >> is not about arrowheads on polylines but about showing and hiding >> markers by category. > > yes, but this is the problem that I'm talking about - Mike's tutorials > assign categories using the xml file, but the arrows don't come from > xml, they are generated by the createArrow function, so I can't see a > space in the code where I would actually assign a category, or if > there were, how I could assign different categories to the arrows > depending on which line they belonged to. > > ... which kind of makes me think I may be stuck. Any ideas would be > great...
But each line needs its arrowheads. When you create a line, create its arrowheads with the same category name. Then, when you show and remove a particular line, you can show and remove that category of marker. -- 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.
