Skip to content

Commit

Permalink
Merge pull request #104 from Vizzuality/SKY30-162-fe-complete-ux-for-…
Browse files Browse the repository at this point in the history
…users-to

[SKY30-162]: flow for drawing and analysis
  • Loading branch information
SARodrigues authored Nov 30, 2023
2 parents ad0d6c5 + a9c91a7 commit 42abc71
Show file tree
Hide file tree
Showing 15 changed files with 197 additions and 341 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/map/draw-controls/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const DRAW_STYLES: (
'line-join': 'round',
},
paint: {
'line-color': '#000',
'line-color': '#02B07C',
'line-width': 2,
},
},
Expand All @@ -34,8 +34,8 @@ export const DRAW_STYLES: (
type: 'fill',
filter: ['all', ['==', '$type', 'Polygon'], ['!=', 'mode', 'static']],
paint: {
'fill-color': '#000',
'fill-outline-color': '#000',
'fill-color': '#02B07C',
'fill-outline-color': '#02B07C',
'fill-opacity': 0.2,
},
},
Expand All @@ -60,7 +60,7 @@ export const DRAW_STYLES: (
'line-join': 'round',
},
paint: {
'line-color': '#000',
'line-color': '#02B07C',
'line-width': 2,
},
},
Expand All @@ -71,7 +71,7 @@ export const DRAW_STYLES: (
filter: ['all', ['!=', 'mode', 'static']],
paint: {
'circle-radius': 6,
'circle-color': '#000',
'circle-color': '#02B07C',
},
},
// vertex point halos
Expand Down
66 changes: 0 additions & 66 deletions frontend/src/components/map/draw-controls/index.tsx

This file was deleted.

47 changes: 0 additions & 47 deletions frontend/src/components/map/drawing/index.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions frontend/src/components/map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,3 @@ export const Map: FC<CustomMapProps> = ({
export default Map;
export { default as ZoomControls } from './zoom-controls';
export { default as Attributions } from './attributions';
export { default as DrawControls } from './draw-controls';
export { default as Drawing } from './drawing';
39 changes: 0 additions & 39 deletions frontend/src/components/sidebar-content/analysis/index.tsx

This file was deleted.

102 changes: 0 additions & 102 deletions frontend/src/components/sidebar-content/drawing/index.tsx

This file was deleted.

35 changes: 0 additions & 35 deletions frontend/src/components/sidebar-content/index.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions frontend/src/components/sidebar-content/overview/index.tsx

This file was deleted.

Loading

0 comments on commit 42abc71

Please sign in to comment.