Skip to content

Commit

Permalink
Fixed prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Philion committed Jan 18, 2024
1 parent 70acd2e commit 108bfd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/leaflet-component/site-marker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export function siteMarker(
signal strength: ${round2(summary?.dbm * MULTIPLIERS.dbm)} ${UNITS.dbm}<br/>
ping: ${round2(summary?.ping * MULTIPLIERS.ping)} ${UNITS.ping}<br/>
upload speed: ${round2(summary?.upload_speed * MULTIPLIERS.upload_speed)} ${
UNITS.upload_speed
}<br/>
UNITS.upload_speed
}<br/>
download speed: ${round2(
summary?.download_speed * MULTIPLIERS.download_speed,
)} ${UNITS.download_speed}`,
Expand Down
9 changes: 5 additions & 4 deletions src/vis/MeasurementMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '&copy; <a href="https://stadiamaps.com/" target="_blank">Stadia Maps</a> ' +
const ATTRIBUTION =
'&copy; <a href="https://stadiamaps.com/" target="_blank">Stadia Maps</a> ' +
'&copy; <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> ' +
'&copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> ' +
'&copy; <a href="https://www.openstreetmap.org/about/" target="_blank">OpenStreetMap contributors</a>';

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;
Expand Down

0 comments on commit 108bfd1

Please sign in to comment.