Migrate the map editor to mapbox-gl with react component

This commit is contained in:
kara Diaby 2020-04-16 17:39:41 +02:00
parent 92edbd1724
commit 9aea1fffee
17 changed files with 5424 additions and 19 deletions

View file

@ -0,0 +1,18 @@
export const ERROR_GEO_JSON = '';
export const createFeatureCollection = selectionsUtilisateur => {
return {
type: 'FeatureCollection',
features: selectionsUtilisateur
};
};
export const polygonCadastresFill = {
'fill-color': '#EC3323',
'fill-opacity': 0.3
};
export const polygonCadastresLine = {
'line-color': 'rgba(255, 0, 0, 1)',
'line-width': 4,
'line-dasharray': [1, 1]
};