Skip to content

Commit

Permalink
follow the foldername of noto water supply kml
Browse files Browse the repository at this point in the history
  • Loading branch information
matobaa committed Jan 9, 2024
1 parent 25ceab9 commit 0284c24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/config/2024-noto-earthquake.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"icon_class": "fas fa-plug",
"class": "layer_charger"
},
"能登半島地震 給水": {
"能登半島地震 給水_石川・富山": {
"name": "給水所",
"name_en": "Water Supply",
"color": "#285797",
Expand Down
4 changes: 2 additions & 2 deletions components/PrintableMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ div
:class='{show: isDisplayAllCategory || activeCategory === getMarkerCategoryText(group.category, $i18n.locale)}'
)
h2.list-title(
:style="{backgroundColor:mapConfig.layer_settings[group.category]?.color}"
)
:style="{backgroundColor:mapConfig.layer_settings[group.category]?.color||group.markers[0]?.feature?.properties['marker-color']||'darkgreen'}"
)
span.list-title-mark
i(
:class="mapConfig.layer_settings[group.category]?.icon_class"
Expand Down

0 comments on commit 0284c24

Please sign in to comment.