Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
BryonLewis committed Feb 7, 2025
1 parent 1362fcc commit 0b70f5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion uvdat/core/tasks/map_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ def calculate_styling(geojson_data, style_options):
if has_render_height:
updated_style_options['layers']['fill-extrusion'] = {'enabled': True, 'color': '#CCCCCC'}
# make the largest geometry type single selectable with the selectColor being cyan
enabled = [layer for layer, options in updated_style_options['layers'].items() if options['enabled']]
enabled = [
layer for layer, options in updated_style_options['layers'].items() if options['enabled']
]

for layer in ['fill-extrusion', 'fill', 'line']:
if layer in enabled:
Expand Down

0 comments on commit 0b70f5a

Please sign in to comment.