updated readme, added colors to map, misc cleanup, new screenshot#1
Merged
updated readme, added colors to map, misc cleanup, new screenshot#1
Conversation
derekeder
commented
Mar 12, 2026
| } | ||
|
|
||
| export default function RestaurantPermitMap() { | ||
| const colors = ["#eff3ff", "#bdd7e7", "#6baed6", "#2171b5"] |
Member
Author
There was a problem hiding this comment.
imported these from https://colorbrewer2.org/. may be worth keeping in
derekeder
commented
Mar 12, 2026
| .then((data) => setCurrentYearData(data)) | ||
| }, [currentUrl]) | ||
|
|
||
| function getColor(pcntPermits) { |
Member
Author
There was a problem hiding this comment.
this could be a function we stub out but ask them to implement
derekeder
commented
Mar 12, 2026
| fillOpacity: pcntPermits, | ||
| color: "#000000", | ||
| weight: 1, | ||
| fillOpacity: 0.7, |
Member
Author
There was a problem hiding this comment.
these default styles can be kept in
derekeder
commented
Mar 12, 2026
| <TileLayer | ||
| attribution='© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' | ||
| url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" | ||
| url="https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}@2x.png" |
derekeder
commented
Mar 12, 2026
| - map-db-data:/var/lib/postgresql | ||
| ports: | ||
| - 32001:5432 | ||
| - 5432:5432 |
Member
Author
There was a problem hiding this comment.
site would not successfully come up before changing this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
.envrequirement and example fileDemo
Notes
Got this error in my stack trace when initially setting up the repo
I believe it was resolved after I changed the port mapping