TileLayer - okstate-maps/sideby GitHub Wiki

TileLayer

A layer served using the XYZ schema. MapBox and Carto are two providers of these types of layers. For layers from MapBox, you'll need to provide an access_token option and also include ?access_token={access_token} at the end of the URL. For more information specific to MapBox, read their documentation for raster tiles. For all of the potential options available, read the Leaflet documentation.

{
    "layer_type": "TileLayer",
    "url": "https://api.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}@2x.jpg90?access_token={access_token}",
    "display_name": "Mapbox Satellite",
    "access_token": "pk.eyJ1Ijoia3JkeWtlIiwiYSI6Ik15RGcwZGMifQ.IR_NpAqXL1ro8mFeTIdifg"
}