Sync your custom maps With Modest-Maps (AS3)

A few weeks ago, I played with a great library randomly found on Twitter: Modest Maps!

AS they already have a great discussion group and excellent tutorials – map transformation calculator and Zoomifyer tile tutorial, I’m not here to spend much time explaining how it works! But this is a really COOL library and I wanted to share it with you!

Get Adobe Flash player

So basically, below is what you need to do in order to create a custom map:

(1) Convert your large custom map to tileGroups with the free version of Zoomifyer,

(2) Create a new class that will extend AbstractZoomifyMapProvider in com.modestmaps.mapproviders,

(3) Then you just need to instantiate your new object from your main class.

Below is the MapLA class implementation and a link to the full source code. Enjoy!

Download Source

Comments are closed.

JibJab eCards

I’m a Web & Media Developer/Freelancer. Spending most of my time looking for pieces of code, techniques and advices on the web, I am attempting to gather in here, everything I found interesting in there… Hope you enjoy this and thank you for reading! Mike