Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cartographic delights #223

Merged
merged 6 commits into from
Mar 12, 2025

Conversation

michaelkirk
Copy link
Contributor

@michaelkirk michaelkirk commented Mar 11, 2025

FIXES #198 and a followup item mentioned in #220

Really, we could merge any subset of these commits. I tried to keep them separable.

Apart from the individual design changes, the big structural change is that I've vendored the maptiler style.

Alternatively we could continue with the previous pattern of downloading and post-processing the given style, but as our diversions get more complex, it becomes increasingly hard to reason about. There's a reason these style files are declarative!

I also think that it's totally reasonable that we are starting to develop our own cartography - the needs of our app are special, and unique from some platonic "general purpose map".

Screenshots

before:

Screenshot 2025-03-11 at 13 24 22

after: "main" roads are gray

Screenshot 2025-03-11 at 13 24 52

before:

Screenshot 2025-03-11 at 13 24 32

after: most notable here is the relative building and cell contrast

Screenshot 2025-03-11 at 13 24 58

before:

Screenshot 2025-03-11 at 13 24 40

after: most notable here is the relative building and cell contrast

Screenshot 2025-03-11 at 13 25 21

Buildings are useful context for orienting yourself on the map,
especially when you're a local expert who recognizes the landmarks.

With the colored cells, it's a bit hard to see the buildings. The 3-d
building layer which we used to show while zoomed in was a actually a
little easier to distinguish. Now that we're showing the 2-d layer, I've
compensated by making it a bit darker.
Lowering the cell fill opacity can cause the cells to be a bit
"mushier", so add a border to maintain a crisp distinction between
cells.
@michaelkirk michaelkirk force-pushed the mkirk/cartographic-delights branch from 13d3c50 to 9aa3664 Compare March 11, 2025 20:23
@michaelkirk
Copy link
Contributor Author

Added some screenshots (how could I forget!)

@dabreegster
Copy link
Collaborator

These cartographic delights have cartographic ends...

This is wonderful! Everything looks much crisper. Vendoring the style is definitely the right choice; I think indeed we'll customize it more and more, especially at high zoom.

@dabreegster dabreegster merged commit 102a0be into a-b-street:main Mar 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

render building footprint above cell coloring
2 participants