Skip to content

Commit

Permalink
add layer for country boundaries solid lines
Browse files Browse the repository at this point in the history
  • Loading branch information
cashc committed Jun 12, 2023
1 parent 844628e commit 70a97f3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions base/src/base_layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -797,11 +797,23 @@ export function nolabels_layers(source: string, c: Theme): any[] {
"line-dasharray": [6, 10],
},
},
{
id: "boundaries_country",
type: "line",
source: source,
"source-layer": "boundaries",
filter: ["<=", "pmap:min_admin_level", 2],
paint: {
"line-color": c.boundaries,
"line-width": 1,
},
},
{
id: "boundaries",
type: "line",
source: source,
"source-layer": "boundaries",
filter: [">", "pmap:min_admin_level", 2],
paint: {
"line-color": c.boundaries,
"line-width": 0.5,
Expand Down

0 comments on commit 70a97f3

Please sign in to comment.