Skip to content

Commit

Permalink
Delete useless dynamicWidth function for osm-boundaries style
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienKN committed May 24, 2024
1 parent 9ed2e7c commit 4c824f0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions demo/osm-boundaries.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,7 @@ async function run () {
else return "black"
}
}

function dynamicWidth(z, f) {
if (f.props.admin_level < 4) return 6
if (f.props.admin_level >=4 && f.props.admin_level <6) return 5
else return 4
}


let paintRules = []
for (let adminLevel = 2; adminLevel <= 8; adminLevel++){
paintRules.push(
Expand Down

0 comments on commit 4c824f0

Please sign in to comment.