Some Tile5 Library Rework

5 views
Skip to first unread message

Damon Oehlman

unread,
Dec 14, 2010, 12:15:05 AM12/14/10
to Tile5
Hey All,

Just a note regarding some pretty hefty changes I am doing under the
hood at the moment, which with any luck will only have a minimal
impact on the external interface to Tile5. On the flip-side after the
changes have been completed, the library will be in an excellent
position to move forward with some additional people helping out.

I have already received a few emails with people interested in
pitching in which is fantastic. With any luck early in the cleanup
work will be completed by the new year.

I will push periodic updates up to Github to the "sandbox" branch but
will keep the master clear of this refactoring until it has
stablized. If you are interested the sandbox branch can be accessed
via the following url:

https://github.com/sidelab/tile5/tree/sandbox

Also if you have a look at the following Gist (which is a version of
the "Easing around Europe" demo modified to work with the changes thus
far) you will see that most external interfaces are preserved:

https://gist.github.com/738649

The only real point of difference (apart from some class renaming
around T5.Vector to T5.XY, etc) is the way you tell the map you have
tiles. Essentially, the following takes the place of the MapProvider
implementation which we had earlier.

map.setLayer('tiles', new T5.ImageLayer('osm.cloudmade', {
apikey: "7960daaf55f84bfdb166014d0b9f8d41"
}));

Using the above will open up additional possibilities for map
generation which I am quite excited about. Once things have settled
down a little bit, I will push some updates to the Sandbox for review
but it will probably be a week or so before things get that far.

If you have any questions in the meantime, feel free to email the
group.

Cheers,
Damon.
Reply all
Reply to author
Forward
0 new messages