Commit 0cce373 1 parent 56c20bc commit 0cce373 Copy full SHA for 0cce373
File tree 1 file changed +16
-4
lines changed
front/src/modules/simulationResult/components/SimulationResultsMap
1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,26 @@ interface RenderItineraryProps {
11
11
export default function RenderItinerary ( props : RenderItineraryProps ) {
12
12
const { geojsonPath, layerOrder } = props ;
13
13
14
- const paint = {
15
- 'line-width' : 3 ,
16
- 'line-color' : '#82be00' ,
14
+ const paintBackgroundLine = {
15
+ 'line-width' : 4 ,
16
+ 'line-color' : '#EDF9FF' ,
17
+ } ;
18
+
19
+ const paintLine = {
20
+ 'line-width' : 1 ,
21
+ 'line-color' : '#158DCF' ,
17
22
} ;
18
23
19
24
return (
20
25
< Source type = "geojson" data = { geojsonPath } >
21
- < OrderedLayer id = "geojsonPath" type = "line" paint = { paint } layerOrder = { layerOrder } />
26
+ < OrderedLayer
27
+ id = "geojsonPathBackgroundLine"
28
+ type = "line"
29
+ paint = { paintBackgroundLine }
30
+ beforeId = "geojsonPathLine"
31
+ layerOrder = { layerOrder }
32
+ />
33
+ < OrderedLayer id = "geojsonPathLine" type = "line" paint = { paintLine } layerOrder = { layerOrder } />
22
34
</ Source >
23
35
) ;
24
36
}
You can’t perform that action at this time.
0 commit comments