diff --git a/src/leaflet-component/site-marker.ts b/src/leaflet-component/site-marker.ts index f0e9fd5..5c51846 100644 --- a/src/leaflet-component/site-marker.ts +++ b/src/leaflet-component/site-marker.ts @@ -58,8 +58,8 @@ export function siteMarker( signal strength: ${round2(summary?.dbm * MULTIPLIERS.dbm)} ${UNITS.dbm}
ping: ${round2(summary?.ping * MULTIPLIERS.ping)} ${UNITS.ping}
upload speed: ${round2(summary?.upload_speed * MULTIPLIERS.upload_speed)} ${ - UNITS.upload_speed - }
+ UNITS.upload_speed + }
download speed: ${round2( summary?.download_speed * MULTIPLIERS.download_speed, )} ${UNITS.download_speed}`, diff --git a/src/vis/MeasurementMap.tsx b/src/vis/MeasurementMap.tsx index 8e6ec23..c60b422 100644 --- a/src/vis/MeasurementMap.tsx +++ b/src/vis/MeasurementMap.tsx @@ -17,14 +17,15 @@ import { GeoSearchControl, OpenStreetMapProvider } from 'leaflet-geosearch'; import 'leaflet-geosearch/dist/geosearch.css'; // Updated with details from: https://stadiamaps.com/stamen/onboarding/migrate/ -const ATTRIBUTION = '© Stadia Maps ' + +const ATTRIBUTION = + '© Stadia Maps ' + '© Stamen Design ' + '© OpenMapTiles ' + '© OpenStreetMap contributors'; - const URL = `https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}${ - devicePixelRatio > 1 ? '@2x' : '' - }.png`; +const URL = `https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}${ + devicePixelRatio > 1 ? '@2x' : '' +}.png`; const BIN_SIZE_SHIFT = 0; const DEFAULT_ZOOM = 10;