diff --git a/src/public/index.html b/src/public/index.html index ccc1139..4cfb7bc 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -2037,6 +2037,12 @@ attribution: 'Tiles © Esri | Data from Meshtastic' }); + var googleHybridTileLayer = L.tileLayer('https://{s}.google.com/vt/lyrs=s,h&x={x}&y={y}&z={z}', { + maxZoom: 21, + subdomains: ['mt0', 'mt1', 'mt2', 'mt3'], + attribution: 'Tiles © Google | Data from Meshtastic' + }); + // create layer groups var nodesLayerGroup = new L.LayerGroup(); var neighboursLayerGroup = new L.LayerGroup(); @@ -2080,6 +2086,7 @@ var tileLayers = { "Map": openStreetMapTileLayer, "Satellite": esriWorldImageryTileLayer, + "Google Hybrid": googleHybridTileLayer, }; // handle adding/remove legend on map (can't use L.Control as an overlay, so we toggle an empty L.LayerGroup)