forked from OpenRailwayMap/OpenRailwayMap-CartoCSS
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SDF sprites to render icon halos (#128)
Uses maplibre/martin#1492 Unfortunately, SDF sprites cannot be layered right below each image, they have to be in their own layer below the icons. Symbols with outline: ![image](https://github.com/user-attachments/assets/da290ed7-441a-4c88-881a-88ee845d3acf) Hovering on rail lines in their native color: ![image](https://github.com/user-attachments/assets/79556b75-e6ab-4c37-95d6-87c9d22264ab) Railway direction including hover: ![image](https://github.com/user-attachments/assets/fe071904-2e9d-450f-8f63-e0613c8ac515)
- Loading branch information
Showing
31 changed files
with
678 additions
and
1,170 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM ghcr.io/maplibre/martin | ||
FROM ghcr.io/maplibre/martin:main | ||
|
||
COPY martin /config | ||
COPY symbols /symbols | ||
COPY tiles /tiles | ||
|
||
CMD ["/tiles", "--listen-addresses", "[::]:3000", "--sprite", "/symbols", "--font", "/config/fonts"] | ||
CMD ["/tiles", "--listen-addresses", "[::]:3000", "--sprite", "/symbols", "--font", "/config/fonts"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM ghcr.io/maplibre/martin | ||
FROM ghcr.io/maplibre/martin:main | ||
|
||
COPY martin /config | ||
COPY symbols /symbols | ||
|
||
CMD ["--config", "/config/configuration.yml", "--sprite", "/symbols", "--font", "/config/fonts"] | ||
CMD ["--config", "/config/configuration.yml", "--sprite", "/symbols", "--font", "/config/fonts"] |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.