> 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.
thanks, Rossko.
I am trying to think about what I'm doing, but I'm working at the
severe disadvantage of not having a clue about what I am actually
doing. I appreciate everybody's patience on this one. I've got this
far by adapting lots of code from the excellent examples out there,
lots of trial and lots more error.
but to extend the polyline category to the arrow making routine, in my
twisted idea of how this works, I would add:
var category = lines[a].getAttribute("category");
to the createArrow function
then replace:
midLineArrows(pts)
with:
midLineArrows(pts,category)
but that just completely freaks the map out.
I guess I'm missing something minor but key, but like I say I have no
idea what it may be...
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.