You are viewing an older version of Mapbox.js. Check out v3.3.1 for the latest.


Used to load and display tile layers on the map, implements ILayer interface.

Usage example

L.tileLayer('http://{s}{key}/{styleId}/256/{z}/{x}/{y}.png', {
	key: 'API-key',
	styleId: 997


Factory Description
L.tileLayer( <String> urlTemplate, <TileLayer options> options? ) Instantiates a tile layer object given a URL template and optionally an options object.