Skip to content

Commit

Permalink
attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
dschep committed Jan 10, 2025
1 parent 5751058 commit 329511f
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 8 deletions.
9 changes: 8 additions & 1 deletion docs/max_severity.ultra
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ type: geojson
popupTemplate: false
options:
bounds: [-77.64038085937504,37.44433544620035,-77.35868453979496,37.60716014465312]
attributionControl: { compact: false }
attributionControl:
compact: false
customAttribution: '<a href="https://maprva.org">MapRVA</a>'
controls:
- type: HTMLControl
position: bottom-left
Expand Down Expand Up @@ -32,6 +34,11 @@ controls:
style:
extends: https://api.protomaps.com/styles/v4/grayscale/en.json?key=7942a4a49dd1cdb5
sources:
protomaps:
type: vector
tiles: ["https://api.protomaps.com/tiles/v4/{z}/{x}/{y}.mvt?key=7942a4a49dd1cdb5"]
maxzoom: 15
attribution: '<a href="https://openstreetmap.org">OpenStreetMap</a>'
boundary:
type: geojson
data: https://maprva.github.io/2025-water-crisis/boundary.geojson
Expand Down
9 changes: 8 additions & 1 deletion docs/mode_severity.ultra
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ popupTemplate: >
🟢&nbsp;{{ properties.sev4 }}
options:
bounds: [-77.64038085937504,37.44433544620035,-77.35868453979496,37.60716014465312]
attributionControl: { compact: false }
attributionControl:
compact: false
customAttribution: '<a href="https://maprva.org">MapRVA</a>'
controls:
- type: HTMLControl
position: bottom-left
Expand All @@ -35,6 +37,11 @@ controls:
style:
extends: https://api.protomaps.com/styles/v4/grayscale/en.json?key=7942a4a49dd1cdb5
sources:
protomaps:
type: vector
tiles: ["https://api.protomaps.com/tiles/v4/{z}/{x}/{y}.mvt?key=7942a4a49dd1cdb5"]
maxzoom: 15
attribution: '<a href="https://openstreetmap.org">OpenStreetMap</a>'
boundary:
type: geojson
data: https://maprva.github.io/2025-water-crisis/boundary.geojson
Expand Down
10 changes: 8 additions & 2 deletions docs/sev1_median_duration.ultra
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ popupOnHover: true
popupTemplate: "{{ properties.duration }} hours<br>{{ properties.count }} reports"
options:
bounds: [-77.6,37.44433544620035,-77.35868453979496,37.60716014465312]
attributionControl: { compact: false }

attributionControl:
compact: false
customAttribution: '<a href="https://maprva.org">MapRVA</a>'
style:
extends: https://api.protomaps.com/styles/v4/black/en.json?key=7942a4a49dd1cdb5
sources:
protomaps:
type: vector
tiles: ["https://api.protomaps.com/tiles/v4/{z}/{x}/{y}.mvt?key=7942a4a49dd1cdb5"]
maxzoom: 15
attribution: '<a href="https://openstreetmap.org">OpenStreetMap</a>'
boundary:
type: geojson
data: https://maprva.github.io/2025-water-crisis/boundary.geojson
Expand Down
10 changes: 8 additions & 2 deletions docs/sev2_median_duration.ultra
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ popupOnHover: true
popupTemplate: "{{ properties.duration }} hours<br>{{ properties.count }} reports"
options:
bounds: [-77.6,37.44433544620035,-77.35868453979496,37.60716014465312]
attributionControl: { compact: false }

attributionControl:
compact: false
customAttribution: '<a href="https://maprva.org">MapRVA</a>'
style:
extends: https://api.protomaps.com/styles/v4/black/en.json?key=7942a4a49dd1cdb5
sources:
protomaps:
type: vector
tiles: ["https://api.protomaps.com/tiles/v4/{z}/{x}/{y}.mvt?key=7942a4a49dd1cdb5"]
maxzoom: 15
attribution: '<a href="https://openstreetmap.org">OpenStreetMap</a>'
boundary:
type: geojson
data: https://maprva.github.io/2025-water-crisis/boundary.geojson
Expand Down
10 changes: 8 additions & 2 deletions docs/sev3_median_duration.ultra
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ popupOnHover: true
popupTemplate: "{{ properties.duration }} hours<br>{{ properties.count }} reports"
options:
bounds: [-77.6,37.44433544620035,-77.35868453979496,37.60716014465312]
attributionControl: { compact: false }

attributionControl:
compact: false
customAttribution: '<a href="https://maprva.org">MapRVA</a>'
style:
extends: https://api.protomaps.com/styles/v4/black/en.json?key=7942a4a49dd1cdb5
sources:
protomaps:
type: vector
tiles: ["https://api.protomaps.com/tiles/v4/{z}/{x}/{y}.mvt?key=7942a4a49dd1cdb5"]
maxzoom: 15
attribution: '<a href="https://openstreetmap.org">OpenStreetMap</a>'
boundary:
type: geojson
data: https://maprva.github.io/2025-water-crisis/boundary.geojson
Expand Down

0 comments on commit 329511f

Please sign in to comment.