From 25fdea5d4cc38a12f95566394403bc08b4f376bb Mon Sep 17 00:00:00 2001 From: Clay Smalley Date: Fri, 3 Feb 2023 15:43:20 -0500 Subject: [PATCH] remove casing from drag lifts --- src/layer/aerialway.js | 31 ------------------------------- src/layer/index.js | 1 - 2 files changed, 32 deletions(-) diff --git a/src/layer/aerialway.js b/src/layer/aerialway.js index 0d1de1593..4c83933c7 100644 --- a/src/layer/aerialway.js +++ b/src/layer/aerialway.js @@ -108,37 +108,6 @@ export const liftCasing = { "source-layer": "transportation", }; -export const dragLiftCasing = { - id: "lift_casing", - type: "line", - paint: { - "line-color": Color.backgroundFill, - "line-width": [ - "interpolate", - ["exponential", aerialwayExp], - ["zoom"], - 12, - 2.5, - 20, - 10, - ], - }, - filter: [ - "all", - ["==", ["get", "class"], "aerialway"], - [ - "in", - ["get", "subclass"], - ["literal", ["drag_lift", "platter", "j-bar", "t-bar"]], - ], - ], - layout: { - visibility: "visible", - }, - source: "openmaptiles", - "source-layer": "transportation", -}; - export const legendEntries = [ { description: "Aerial tramway or chairlift", diff --git a/src/layer/index.js b/src/layer/index.js index 5cc7d6450..0e73100be 100644 --- a/src/layer/index.js +++ b/src/layer/index.js @@ -194,7 +194,6 @@ export function build(locales) { lyrOneway.bridge, lyrOneway.bridgeLink, - lyrAerialway.dragLiftCasing, lyrAerialway.dragLift, ];