From 26021f5220d9fd3b7306ecc09e1e86a3858a6e5a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 24 Oct 2020 12:31:55 -0700 Subject: Remove unused maps --- modern/src/map/mapManager.js | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'modern/src') diff --git a/modern/src/map/mapManager.js b/modern/src/map/mapManager.js index 9e5d631..a78a598 100644 --- a/modern/src/map/mapManager.js +++ b/modern/src/map/mapManager.js @@ -132,45 +132,6 @@ const element = document.createElement('div'); element.style.width = '100%'; element.style.height = '100%'; -/*const map = new mapboxgl.Map({ - container: this.mapContainer, - style: 'https://cdn.traccar.com/map/basic.json', - center: [0, 0], - zoom: 1 -});*/ - -/*const map = new mapboxgl.Map({ - container: element, - style: { - 'version': 8, - 'sources': { - 'raster-tiles': { - 'type': 'raster', - 'tiles': [ - 'https://a.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}@2x.png', - 'https://b.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}@2x.png', - 'https://c.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}@2x.png', - 'https://d.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}@2x.png' - ], - 'tileSize': 256, - 'attribution': '© OpenStreetMap contributors, © CARTO' - } - }, - 'glyphs': 'https://cdn.traccar.com/map/fonts/{fontstack}/{range}.pbf', - 'layers': [ - { - 'id': 'simple-tiles', - 'type': 'raster', - 'source': 'raster-tiles', - 'minzoom': 0, - 'maxzoom': 22 - } - ] - }, - center: [0, 0], - zoom: 1 -});*/ - const map = new mapboxgl.Map({ container: element, style: { -- cgit v1.2.3