leafletjs openstreets example

Solutions on MaxInterview for leafletjs openstreets example by the best coders in the world

showing results for - "leafletjs openstreets example"
Estee
26 Mar 2017
1var OpenStreetMap_Mapnik = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
2	maxZoom: 19,
3	attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
4});
5var OpenAIP = L.tileLayer('http://{s}.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_basemap@EPSG%3A900913@png/{z}/{x}/{y}.{ext}', {
6	attribution: '<a href="https://www.openaip.net/">openAIP Data</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-NC-SA</a>)',
7	ext: 'png',
8	minZoom: 4,
9	maxZoom: 14,
10	tms: true,
11	detectRetina: true,
12	subdomains: '12'
13});
14
Miley
22 Apr 2020
1var OpenStreetMap_Mapnik = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
2	maxZoom: 19,
3	attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
4});
5var OpenAIP = L.tileLayer('http://{s}.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_basemap@EPSG%3A900913@png/{z}/{x}/{y}.{ext}', {
6	attribution: '<a href="https://www.openaip.net/">openAIP Data</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-NC-SA</a>)',
7	ext: 'png',
8	minZoom: 4,
9	maxZoom: 14,
10	tms: true,
11	detectRetina: true,
12	subdomains: '12'
13});
14