Skip to content

Commit

Permalink
Add Map.
Browse files Browse the repository at this point in the history
  • Loading branch information
markpbaggett committed Apr 11, 2024
1 parent 7c75a68 commit ba601eb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
18 changes: 17 additions & 1 deletion config/canopy.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,21 @@
"summary": {
"none": ["Images for Study and Struggle"]
},
"label": { "none": ["Abolition Now"] }
"label": { "none": ["Abolition Now"] },
"map": {
"defaultBounds": [[51.505, -0.09]],
"enabled": true,
"icon": {
"iconUrl": "images/marker-icon.png",
"iconSize": [24, 36],
"iconAnchor": [12, 36]
},
"tileLayers": [
{
"name": "OpenStreetMap",
"url": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
"attribution": "&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors"
}
]
}
}
4 changes: 4 additions & 0 deletions content/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"path": "/metadata",
"text": "Metadata"
},
{
"path": "/map",
"text": "Map"
},
{
"path": "/guides",
"text": "Study Guides"
Expand Down

0 comments on commit ba601eb

Please sign in to comment.