This will be a series of posts on leveraging Node.js to generate tile-images on server-side that will be displayed on top of Bing Maps (although applicable to any other mapping API).
For those not familiar with it, Node has gained lots of momentum on the web. It provides a simple event oriented, non-blocking architecture on which one can develop fast and scalable applications using Javascript.
It lends itself really well for generating tile-images and is in-fact being used by some large players like Mapbox.
It lends itself really well for generating tile-images and is in-fact being used by some large players like Mapbox.
I'm going to use an amazing Node module called Canvas which provides the whole HTML5 Canvas API on server-side. My main reason is that it's an API that I know particularly well and I can reuse lots of my existing code.
I'm going to develop on Mac OS X but most of this would be exactly the same on Windows or Linux.
Afterwards, as an extra, I'm also going to provide instructions on how to setup a Linux Virtual Machine in Azure running the resulting node application.
I'm going to develop on Mac OS X but most of this would be exactly the same on Windows or Linux.
Afterwards, as an extra, I'm also going to provide instructions on how to setup a Linux Virtual Machine in Azure running the resulting node application.