Polyline Example for Yahoo! Maps, Using ExplorerCanvas and GD fallback
Please email tom at tom-carden co uk if you're planning on using this code. It's 'alpha' quality and may change at any time.
Todo:
clip lines, don't skip points Now draws entire polyline - may not scale with long lines, perhaps need to partition and redraw on the fly?
- z-index on overlays should be below markers - email sent to yws-maps group
- removeOverlay needs to be possible
- reuse objects where possible
- use Mapstraction classes
- If canvas/vml isn't available:
maybe use a Flash overlay? - won't work in Linux because transparency is apparently broken (see VGMaps NYC subway)
maybe use a transparent PNG overlay? done, but don't know how to set line thickness in GD