Using OpenStreetMap and Away3D

OpenStreetMap... The solution to Google's limitations

OpenStreetMap... The solution to Google's limitations

It was with much disappointment that I discovered Google would not allow us to manipulate its map tiles with Flash bitmap processing. Thus limiting greatly what is possible visually with the look and feel of their maps. Of course that also means no Away3D, PV3D, etc…

I managed to customize the look of Google Maps by using Tweener’s de-saturation feature to render the map tiles in Black and White. Many have posted on the Google Maps API bug reports and feature requests. Google is afraid that we would harvest their tiles and does not want to put a cross domain policy file.

I decided to revisit the issue and to look for alternate services that would allow such use. Of couse no luck with Yahoo! and Microsoft, just like Google, they want to protect their tiles.

But behold the power of open source: OpenStreetMap.org and ModestMaps. Using the Flash API from ModestMaps for openstreetmap and Away3D, I was able to map the maps onto a cube and have it renders beautifully. OpenStreetMap allows you to go trigger happy with their tiles, just as long as you add their security policy file to you project (see the source code). You can even download the tiles for offline use!

Leave a Reply