2020-05-05 15:09:29 +02:00
|
|
|
<%= render_flash(timeout: 5000, fixed: true) %>
|
|
|
|
|
|
|
|
<%= render_to_element("#{@selector} + .geo-areas",
|
|
|
|
partial: 'shared/champs/carte/geo_areas',
|
2020-06-09 17:19:59 +02:00
|
|
|
locals: { champ: @champ, editing: true }) %>
|
2020-05-05 15:09:29 +02:00
|
|
|
|
2021-05-06 18:50:06 +02:00
|
|
|
<% if @focus %>
|
|
|
|
<%= fire_event('map:feature:focus', { bbox: @champ.bounding_box }.to_json) %>
|
2020-05-05 15:09:29 +02:00
|
|
|
<% end %>
|