On Apr 30, 11:04 am, Bill Chadwick <[email protected]> wrote: > Using the Lat/Lng to pixel and reverse transformations to work out the > Arrow head coords in LatLon is what the BDCC ArrowedPolyline code > does. I agree that rendering is slow with lots of arrow heads drawn > with polylines. > > It might also be worth taking a look at the SVG/VML arrow demo which > uses native VML/SVG to draw the arrow heads and the sub-classed > Polyline (BdccPolyline) and try and mix the two. Both these demos are > onhttp://www.bdcc.co.uk/Gmaps/BdccGmapBits.htm. If achievable, this > should be a high performance solution for directed GPolylines on all > browsers that support VML or SVG (most of the main ones).
The only reason for generating the arrowheads in-line is to reduce the number of GPoly objects. Each has a fair amount of overhead. As Andrew / Warden observed, scaling & spacing at different zoom levels are issues. Unfortunately, encoded GPoly zoom strings add rather than reduce detail at deep levels. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
