You are viewing an older version of MapQuest.js. Check out the latest version.
{
// L.mapquest.tileLayer('map') is the MapQuest map tile layer
layers: L.mapquest.tileLayer('map')
}
The id of an map style. The supported style ids are 'map', 'hybrid', 'satellite', 'light', 'dark'.
An object containing any of the following key value options: format, minZoom, and maxZoom.
format: The image format of the tiles, either 'png' or 'jpg'. Default is 'png'.
minZoom: The minimum zoom that tileLayer is visible. Default is 0.
maxZoom: The maximum zoom that tileLayer is visible. Default is 20.
{
format: 'png',
minZoom: 0,
maxZoom: 20
}
An L.tileLayer object that contains the MapQuest map style.