TileStream is an open source tile server devel­oped by Map­Box, which bor­rows exten­sively from their com­mer­cial Map­Box tile server prod­uct. TileStream loads map layer pack­ages cre­ated in the TileMill appli­ca­tion, which are stored on the server as SQLite data­bases in the mbtiles specification/schema. On the other hand, Heroku is a cloud appli­ca­tion plat­form that sup­ports Python, Ruby, Java and Node.js apps, the lat­ter of which TileStream is depen­dent upon. This post will show how to deploy a TileStream server on the Heroku cloud appli­ca­tion plat­form, thereby allow­ing you to serve your map tiles using scal­able infra­struc­ture that can respond to fluc­tu­a­tions in the demand of your web maps. See the result here.

Con­tinue reading »