cleaned providers list

This commit is contained in:
Fedor Katurov 2021-04-08 14:49:28 +07:00
parent 5e3c416824
commit c1c99b4562
2 changed files with 3 additions and 34 deletions

1
.gitignore vendored
View file

@ -19,3 +19,4 @@ yarn-error.log
stats.json stats.json
.env .env
build

View file

@ -23,62 +23,30 @@ export type ITileMaps = Record<string, IProvider>
// Стили карт // Стили карт
const TILEMAPS: ITileMaps = { const TILEMAPS: ITileMaps = {
// WATERCOLOR: {
// name: 'Watercolor',
// url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.jpg',
// range: [1, 2, 3, 4],
// },
DGIS: { DGIS: {
name: '2gis', name: '2gis',
url: 'https://tile1.maps.2gis.com/tiles?x={x}&y={y}&z={z}&v=1', url: 'https://tile1.maps.2gis.com/tiles?x={x}&y={y}&z={z}&v=1',
// url: 'https://{s}.dgis.tile.vault48.org/tiles?x={x}&y={y}&z={z}&v=1',
range: ['a','b','c'], range: ['a','b','c'],
}, },
DEFAULT: { DEFAULT: {
name: 'OpenStreetMap', name: 'OpenStreetMap',
url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
// url: 'https://{s}.osm.tile.vault48.org/{z}/{x}/{y}.png',
range: ['a', 'b', 'c'], range: ['a', 'b', 'c'],
}, },
// DARQ: {
// name: 'Darq',
// url: 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png',
// range: [1, 2, 3, 4],
// },
BLANK: { BLANK: {
name: 'Blanque', name: 'Blanque',
// url: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png',
url: 'https://{s}.carto.tile.vault48.org/light_all/{z}/{x}/{y}.png', url: 'https://{s}.carto.tile.vault48.org/light_all/{z}/{x}/{y}.png',
// range: [1, 2, 3, 4], range: [1, 2, 3, 4],
range: ['a','b','c'],
}, },
HOT: { HOT: {
name: 'Hot', name: 'Hot',
// url: 'https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', url: 'https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png',
url: 'https://{s}.hot.tile.vault48.org/hot/{z}/{x}/{y}.png',
range: ['a', 'b', 'c'], range: ['a', 'b', 'c'],
}, },
// SAT: {
// name: 'Google Sattelite',
// url: 'https://mt{s}.google.com/vt/lyrs=s,h&x={x}&y={y}&z={z}',
// range: [0, 1, 2, 3],
// },
// YMAP: {
// name: 'Yandex',
// url: 'https://vec0{s}.maps.yandex.net/tiles?l=map&v=17.04.16-0&x={x}&y={y}&z={z}&scale=1&lang=ru_RU',
// range: [1, 2, 3, 4],
// },
// YSAT: {
// name: 'YandexSat',
// url: 'https://sat0{s}.maps.yandex.net/tiles?l=sat&v=3.330.0&x={x}&y={y}&z={z}&lang=ru_RU',
// range: [1, 2, 3, 4],
// },
ESAT: { ESAT: {
name: 'Sattelite', name: 'Sattelite',
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
// url: 'https://{s}.esat.tile.vault48.org/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
range: [1,2,3,4], range: [1,2,3,4],
// range: ['a','b','c'],
} }
}; };