<commit_before>Leaflet-providers
=================
An extension to [Leaflet](http://leafletjs.com/) that contains configurations for various free tile providers.

# Usage
```Javascript
//add Stamen Watercolor to map.
L.tileLayer.provider('Stamen.Watercolor').addTo(map);
```

Providers
===

Current options suitable for basemaps are:
* OpenStreetMap
    * OpenStreetMap.Mapnik
    * OpenStreetMap.BlackAndWhite
    * OpenStreetMap.DE
* OpenCycleMap
* Thunderforest
    * Thunderforest.OpenCycleMap
    * Thunderforest.Transport
    * Thunderforest.Landscape
    * Thunderforest.Outdoors
* OpenMapSurfer
    * Grayscale
* MapQuestOpen
    * MapQuestOpen.OSM
    * MapQuestOpen.Aerial
* Stamen
    * Stamen.Toner
    * Stamen.TonerBackground
    * Stamen.TonerHybrid
    * Stamen.TonerLines
    * Stamen.TonerLabels
    * Stamen.TonerLite
    * Stamen.Terrain
    * Stamen.TerrainBackground
    * Stamen.Watercolor
* Esri
    * Esri.WorldStreetMap
    * Esri.DeLorme
    * Esri.WorldTopoMap
    * Esri.WorldImagery
    * Esri.WorldTerrain
    * Esri.WorldShadedRelief
    * Esri.WorldPhysical
    * Esri.OceanBasemap
    * Esri.NatGeoWorldMap
    * Esri.WorldGrayCanvas
* Acetate
    * Acetate.all
    * Acetate.basemap
    * Acetate.terrain
    * Acetate.foreground
    * Acetate.roads
    * Acetate.labels
    * Acetate.hillshading

Current options suitable for overlays are:
* OpenSeaMap
* OpenWeatherMap
    * OpenWeatherMap.Clouds
    * OpenWeatherMap.CloudsClassic
    * OpenWeatherMap.Precipitation
    * OpenWeatherMap.PrecipitationClassic
    * OpenWeatherMap.Rain
    * OpenWeatherMap.RainClassic
    * OpenWeatherMap.Pressure
    * OpenWeatherMap.PressureContour
    * OpenWeatherMap.Wind
    * OpenWeatherMap.Temperature
    * OpenWeatherMap.Snow

We also have Nokia basemaps which require a devID and appID specified in the options, they are
* Nokia.normalDay
* Nokia.normalGreyDay
* Nokia.satelliteNoLabelsDay
* Nokia.satelliteYesLabelsDay
* Nokia.terrainDay

Lastly we support Mapbox maps, so if your user name is YourName and your map is called MyMap you can add it with
```JavaScript
L.tileLayer.provider('Mapbox.YourName.MyMap');
```

Goodies
===

An other little goodie this library provides is a prefilled layer control,so you can just provide an array of strings:

```JavaScript
var baseLayers = ["Stamen.Watercolor", "OpenStreetMap.Mapnik"],
	overlays = ["OpenWeatherMap.Clouds"];
	
var layerControl = L.control.layers.provided(baseLayers, overlays).addTo(map);

//you can still add your own afterwards with
layerControl.addBaseLayer(layer, name);
```

This work was inspired from <https://gist.github.com/1804938>, and originally created by [<NAME>](https://github.com/seelmann).<commit_msg>Added details of CloudMade to the readme file<commit_after>Leaflet-providers
=================
An extension to [Leaflet](http://leafletjs.com/) that contains configurations for various free tile providers.

# Usage
```Javascript
//add Stamen Watercolor to map.
L.tileLayer.provider('Stamen.Watercolor').addTo(map);
```

Providers
===

Current options suitable for basemaps are:
* OpenStreetMap
    * OpenStreetMap.Mapnik
    * OpenStreetMap.BlackAndWhite
    * OpenStreetMap.DE
* OpenCycleMap
* Thunderforest
    * Thunderforest.OpenCycleMap
    * Thunderforest.Transport
    * Thunderforest.Landscape
    * Thunderforest.Outdoors
* OpenMapSurfer
    * Grayscale
* MapQuestOpen
    * MapQuestOpen.OSM
    * MapQuestOpen.Aerial
* Stamen
    * Stamen.Toner
    * Stamen.TonerBackground
    * Stamen.TonerHybrid
    * Stamen.TonerLines
    * Stamen.TonerLabels
    * Stamen.TonerLite
    * Stamen.Terrain
    * Stamen.TerrainBackground
    * Stamen.Watercolor
* Esri
    * Esri.WorldStreetMap
    * Esri.DeLorme
    * Esri.WorldTopoMap
    * Esri.WorldImagery
    * Esri.WorldTerrain
    * Esri.WorldShadedRelief
    * Esri.WorldPhysical
    * Esri.OceanBasemap
    * Esri.NatGeoWorldMap
    * Esri.WorldGrayCanvas
* Acetate
    * Acetate.all
    * Acetate.basemap
    * Acetate.terrain
    * Acetate.foreground
    * Acetate.roads
    * Acetate.labels
    * Acetate.hillshading

Current options suitable for overlays are:
* OpenSeaMap
* OpenWeatherMap
    * OpenWeatherMap.Clouds
    * OpenWeatherMap.CloudsClassic
    * OpenWeatherMap.Precipitation
    * OpenWeatherMap.PrecipitationClassic
    * OpenWeatherMap.Rain
    * OpenWeatherMap.RainClassic
    * OpenWeatherMap.Pressure
    * OpenWeatherMap.PressureContour
    * OpenWeatherMap.Wind
    * OpenWeatherMap.Temperature
    * OpenWeatherMap.Snow

We also have Nokia basemaps which require a devID and appID specified in the options, they are
* Nokia.normalDay
* Nokia.normalGreyDay
* Nokia.satelliteNoLabelsDay
* Nokia.satelliteYesLabelsDay
* Nokia.terrainDay

In addition we support Mapbox maps, so if your user name is YourName and your map is called MyMap you can add it with
```JavaScript
L.tileLayer.provider('Mapbox.YourName.MyMap');
```

Maps from CloudMade are now supported. CloudMade is a commercial map tile provider and the company behind Leaflet.js. 
To use one of the hundreds of map styles offered by CloudMade you must sign up for an API key at http://cloudmade.com. 
your first 500,000 tile requests are free. Once you have an account you can also design your own map tiles. Your API 
key and chosen map style are specified in the apiKey and styleID properties on options. So if your API key was 
MyAPIKey and your chosen map style was 123 you would add it with
```JavaScript
L.tileLayer.provider('CloudMade', { apiKey: 'MyAPIKey', styleID: '123' });
```

Goodies
===

An other little goodie this library provides is a prefilled layer control,so you can just provide an array of strings:

```JavaScript
var baseLayers = ["Stamen.Watercolor", "OpenStreetMap.Mapnik"],
	overlays = ["OpenWeatherMap.Clouds"];
	
var layerControl = L.control.layers.provided(baseLayers, overlays).addTo(map);

//you can still add your own afterwards with
layerControl.addBaseLayer(layer, name);
```

This work was inspired from <https://gist.github.com/1804938>, and originally created by [<NAME>](https://github.com/seelmann).
{'fraction_non_alphanumeric': 0.08950566595500083, 'fraction_numerical': 0.004269995073082608, 'mean_word_length': 3.931174089068826, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5053867', 'n_tokens_mistral': 2099, 'n_tokens_neox': 1918, 'n_words': 491}