On Oct 20, 8:33 am, xelawho <[email protected]> wrote:
> thanks, Larry
>
> > Your arrows are markers, you can show/hide markers just like you can
> > polylines.  There are lots of threads discussing how to do it.  You
> > need to keep an array of them and loop through it hiding or showing
> > them depending upon whether or not the polyline is visible (you can
> > use the same functions you use for the polylines just add a loop to
> > show/hide the arrows.
>
> thanks, Larry.
>
> I think I'm a little over my head here, though - from what I
> understand, the way I have it set up now is that the markers and
> polylines get shown or hidden according to their category, which is
> defined in the xml file. But the arrowhead markers don't come from the
> xml and aren't assigned a category

If you want to do this you will need to assign them a category.
Search the group for examples, there is a marker categories example as
part of Mike Williams' tutorial.

>  - so even if I did what you are
> suggesting, it would turn off/on all of the arrowheads at the same
> time, where what I want to do is only turn on the ones that are
> associated with the particular polyline that is selected.
>
> But then again I may be completely confused. You wouldn't happen to
> know of a working example that does what I'm talking about that I
> could have a look at?

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.

  -- Larry

>
> thanks,
>
> Lucas

-- 
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.

Reply via email to