Skip to content

Commit

Permalink
Fix layer activation via map controls
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Jul 3, 2024
1 parent 1515ad6 commit b792ede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slapp/templates/forms/layer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="map-layer__legend-color{% if form.layer.symbol == 'circle' %} map-layer__legend-color--rounded{% endif %}"
style="background-color: {{ form.layer.get_color }}"></div>
<div class="map-layer__legend-text">
<label class="form-check-label" for="{{ form.layer.get_layer_id }}">{{ form.layer.name }}</label>
<label class="form-check-label" for="{{ form.layer.layer_id }}">{{ form.layer.name }}</label>
</div>
</div>
<div class="map-layer__control">
Expand All @@ -17,7 +17,7 @@
<div class="form-check form-switch">
<input class="form-check-input layer__switch"
type="checkbox"
id="{{ form.layer.get_layer_id }}" />
id="{{ form.layer.layer_id }}" />
</div>
</div>
</div>
Expand Down

0 comments on commit b792ede

Please sign in to comment.