{"version":3,"sources":["webpack:///./src/projectModules/toyotaWaterLeakage/searchAreaSampleOptions.js"],"names":["geoJsonOptions","common","style","feature","color","weight","opacity","fill","onEachFeature","layer","on","console","log","shimoyama","properties","Risk","fillColor"],"mappings":"gHAAA,WAAMA,EAAiB,CAErBC,OAAQ,CACNC,MAAK,SAACC,GACJ,MAAO,CACLC,MAAO,UACPC,OAAQ,EACRC,QAAS,IACTC,MAAM,IAGVC,cAAa,SAACL,EAASM,GACrBA,EAAMC,GAAG,SAAS,WAChBC,QAAQC,IAAIT,QAMlBU,UAAW,CACTX,MAAK,SAACC,GACJ,IAAIC,EAAQ,UAIZ,OAHgC,IAA5BD,EAAQW,WAAWC,KAAYX,EAAQ,UACN,IAA5BD,EAAQW,WAAWC,KAAYX,EAAQ,UACX,IAA5BD,EAAQW,WAAWC,OAAYX,EAAQ,WACzC,CACLA,MAAOA,EACPC,OAAQ,EACRC,QAAS,GACTC,MAAM,EACNS,UAAWZ,IAGfI,cAAa,SAACL,EAASM,GACrBA,EAAMC,GAAG,SAAS,WAChBC,QAAQC,IAAIT,SAML,cAAEH","file":"chunk-2d23804a.56704606ec8b39b8a9be.js","sourcesContent":["const geoJsonOptions = {\n /**調査提案箇所レイヤーの設定 */\n common: {\n style(feature) {\n return {\n color: \"#ff7800\",\n weight: 3.0,\n opacity: 0.65,\n fill: false,\n };\n },\n onEachFeature(feature, layer) {\n layer.on(\"click\", () => {\n console.log(feature);\n });\n },\n },\n\n /**下山地区レイヤーの設定 */\n shimoyama: {\n style(feature) {\n let color = \"#ff7800\";\n if (feature.properties.Risk === 1) color = \"#2B86BD\";\n else if (feature.properties.Risk === 2) color = \"#C1E9A9\";\n else if (feature.properties.Risk === 3) color = \"#FAC67A\";\n return {\n color: color,\n weight: 2,\n opacity: 0.8,\n fill: true,\n fillColor: color,\n };\n },\n onEachFeature(feature, layer) {\n layer.on(\"click\", () => {\n console.log(feature);\n });\n },\n },\n};\n\nexport default { geoJsonOptions };\n"],"sourceRoot":""}