Add compatibility cadsatre layer with old API GEO
This commit is contained in:
parent
e74dcb0056
commit
3b85ade440
11 changed files with 206 additions and 155 deletions
|
@ -4,6 +4,6 @@
|
|||
partial: 'shared/champs/carte/geo_areas',
|
||||
locals: { champ: @champ, editing: true }) %>
|
||||
|
||||
<% if @update_cadastres %>
|
||||
<%= fire_event('cadastres:update', { featureCollection: @champ.to_feature_collection }.to_json) %>
|
||||
<% if @focus %>
|
||||
<%= fire_event('map:feature:focus', { bbox: @champ.bounding_box }.to_json) %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue