Zoomify, Virtual Earth, Yahoo Maps, Google Maps, OpenStreetMap and Bluemarble all in one AS3 flex library
Update: now includes Mars and Moon.
After some thinking on how to integrate the code for linearly-projected maps (zoomify …) and mercator-projected maps (almost all others) into a single AS3 model, i found a very good, easy and straight-forward architecture.
The trick was to separate the coordinate conversion into two steps:
- linearisation and
- linear interpolation on the pixel data.
Linearly projected maps ( like zoomify) skip step 1 and only do step 2.
The demo: FlexMap
All layers tagged “(overlay)” are mostly transparent. All others need to have their alpha value changed to not cover the layers “below”.
Enable some layers and adjust their alpha by clicking on the slider. Dragging the sliders is a bit strange, because you also can arrange the layers with drag&drop.
Drag the map around and use the mouse-wheel (or the upper right) buttons to zoom in and out.

2 Responses to “Zoomify, Virtual Earth, Yahoo Maps, Google Maps, OpenStreetMap and Bluemarble all in one AS3 flex library”
September 28th, 2009 saat: 10:55
Your Google-Maps-Overlays (Map, Streets, Aerial) doesnt work…
February 28th, 2010 saat: 23:18
Updated to current versions of maps.
Leave a Reply