You could do that, but you'd have to change your polylines whenever the
map zooms. If a polyline is 30 pixels long at a certain zoom level, it
will be 60 pixels long when you zoom in one level, etc. That would work
for a small number of polylines, but could be quite sluggish if there
are many of them.
Perhaps you could create a custom GIcon that simply consists of a line.
If you move the actual marker 30 px up, then set the GSize of the "line"
marker to 30 pixels and add it at the same location. You might want to
give the "line" marker {clickable:false} and you might possibly want to
set its {zIndexProcess} such that it can never be on top of a "real"
marker.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---