diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-24 12:31:55 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-24 12:31:55 -0700 |
commit | 26021f5220d9fd3b7306ecc09e1e86a3858a6e5a (patch) | |
tree | f7bdb83ba9097559a611f6e2567af69bd74b9a77 /modern/src/map/mapManager.js | |
parent | 5836e53995f4f70b1e33c108823cf6f3293078de (diff) | |
download | trackermap-web-26021f5220d9fd3b7306ecc09e1e86a3858a6e5a.tar.gz trackermap-web-26021f5220d9fd3b7306ecc09e1e86a3858a6e5a.tar.bz2 trackermap-web-26021f5220d9fd3b7306ecc09e1e86a3858a6e5a.zip |
Remove unused maps
Diffstat (limited to 'modern/src/map/mapManager.js')
-rw-r--r-- | modern/src/map/mapManager.js | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/modern/src/map/mapManager.js b/modern/src/map/mapManager.js index 9e5d631d..a78a598b 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': '© <a target="_top" rel="noopener" href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a target="_top" rel="noopener" href="https://carto.com/attribution">CARTO</a>' - } - }, - '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: { |