Revert "Revert "Revert "feat/4893 - migrate the mapReader to mapbox-gl with react"""

This reverts commit fe0b3c2215.
This commit is contained in:
kara Diaby 2020-04-07 18:14:07 +02:00
parent fe0b3c2215
commit 473ed00b6c
8 changed files with 6 additions and 402 deletions

View file

@ -1,7 +1,4 @@
- if champ.to_s.present?
- if supported_browser?
= react_component("MapReader", { geoData: champ.to_render_data } )
- else
%p La carte n'est pas compatible avec votre navigateur. Afin de l'afficher, nous vous conseillons d'utiliser Chrome, Firefox ou Safari
.carte{ data: { geo: geo_data(champ) } }
.geo-areas
= render partial: 'shared/champs/carte/geo_areas', locals: { champ: champ, error: false }