Map Tile API Developer's Guide

Custom Map Style Tile

This article shows how to make a request for a custom map style tile.

This kind of request can be used to display special styles designed for a specific purpose.

User story

The user wants to obtain a map image of the center of Madrid in the specific style of the game Dreamworks. The tile requested uses the style parameter.

Request Summary

The following list summarizes the elements required to create a request matching the user story and shows, in square brackets, how those elements are used in the example(s) below. Note that the request example also uses the authentication parameters.

Resource: maptile [maptile], see also (resource) type
URL variables: {map id} [newest], see also Requesting the Right Map Version
  {scheme} [], see also scheme
  {zoom}/{column}/{row} [14/8024/6177], see also The Mercator Projection
  {size} [256], see also size
  {format} [png8], see also format
Parameters: style = ?style=dreamworks, see also style


The code block below demonstrates a complete request for a custom map style tile.


The response to the request delivers the following map image of central Madrid:

Figure 1. Custom Map Style Tile