Skip to content

Commit

Permalink
remove bunk interactive properties in style section; add to draw blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
nvkelso committed May 25, 2017
1 parent 5a6a179 commit 8eb4a49
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions layers/ux-sdk-overlay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ layers:
data: { source: mz_route_line }
draw:
ux-route-line-overlay:
interactive: global.sdk_interactive
color: [1.000, 1.000, 0.000, 1.00]
order: 500
width: [[0,5px],[5,12px],[11,12px],[13,14px],[14,18px],[15,24px],[16,28px],[17,30px],[18,30px]]
mz_route_line_dash:
data: { source: mz_dash_line }
draw:
ux-route-line-dash-overlay:
interactive: global.sdk_interactive
color: [1.000,1.000,0.000]
order: 500
width: [[2,2px],[5,2.5px],[11,3px],[16,7px],[17,9px]]
Expand All @@ -21,6 +23,7 @@ layers:
# each transit route segment could be a different "line" each with it's own color
# but some transit lines don't define a color, in those cases default to blue
# and since the color is coming from Transit.land they call it "color" instead of "colour"
interactive: global.sdk_interactive
color: function() { return feature.color || '#06a6d4'; }
order: 500
width: [[0,5px],[5,12px],[11,12px],[13,14px],[14,18px],[15,24px],[16,28px],[17,30px],[18,30px]]
Expand Down Expand Up @@ -221,13 +224,15 @@ layers:
data: { source: mz_default_line }
draw:
sdk-line-overlay:
interactive: global.sdk_interactive
color: [1.000,0.000,1.000]
order: 503
width: 3px
mz_default_polygon:
data: { source: mz_default_polygon }
draw:
sdk-polygon-overlay:
interactive: global.sdk_interactive
color: [1.000,0.000,1.000,0.5] #'#06b1e2'
order: 501
sdk-line-overlay:
Expand Down Expand Up @@ -262,25 +267,21 @@ styles:
ux-location-gem-overlay:
base: points
mix: icons
interactive: global.sdk_interactive
blend: overlay
blend_order: 2
ux-icons-overlay:
base: points
mix: icons
interactive: global.sdk_interactive
blend: overlay
blend_order: 3
sdk-point-overlay:
base: points
mix: icons
interactive: global.sdk_interactive
blend: overlay
blend_order: 3
sdk-shield-overlay:
base: points
mix: icons
interactive: global.sdk_interactive
blend: overlay
blend_order: 3
sdk-line-overlay:
Expand Down

0 comments on commit 8eb4a49

Please sign in to comment.