HTTP Tile API Docs

At CloudMade we allow you direct access to our tile server, through our HTTP Tile API. This is useful for those times when our other APIs, such as our Javascript Web Maps Lite API or our J2ME Mobile Maps API, don’t quite fit your development needs.

The URL structure for this API is straightforward, and is instantly recognisable to anyone familiar with the OpenStreetMap tile numbering convention. An example URL of an area in Berlin: Tile of Berlin

So let’s break that down into constituent parts:
the server we’re getting the image from. We have [abc]-subdomains to allow parallel downloads – you get exactly the same tiles whether you access,, or simply just Parallel downloads are a useful technique to get around the simultaneous image-connection limits in many browsers – we’re happy to take all the traffic you want to send!
the API key. This one is ours – you need to substitute it with your own! You generate an API key on your account page.
the style id. We provide different cartographic styles, and you choose between them. Try changing the style id to ‘2’ to see the difference this can make.
the dimensions of the tile, in pixels. We provide tiles in the standard size of 256×256, and also 64×64 – these can be especially useful for you if your application runs on small-screen mobile devices.
the last three numbers specify the exact tile you are looking for. How these work is described in examples, and it’s exactly the same as other providers including OSM.
Cet article a été publié dans Uncategorized. Ajoutez ce permalien à vos favoris.

Laisser un commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:


Vous commentez à l'aide de votre compte Déconnexion / Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion / Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion / Changer )

Photo Google+

Vous commentez à l'aide de votre compte Google+. Déconnexion / Changer )

Connexion à %s