{"version":3,"sources":["webpack:///./src/projectModules/geoJsonOptions/football-mie-geoJsonOptions.js"],"names":["geoJsonOptions","adminarea1","style","feature","fillColor","fillOpacity","color","weight","onEachFeature","layer","on","store","commit","adminarea2","landuse","properties","fp","fill","stroke","info","key","value","toFixed","title","soccerfield","highway","joint","pointToLayer","latlng","L","circleMarker","radius","opacity","joint3km"],"mappings":"sKAGMA,EAAiB,CACrBC,WAAY,CACVC,MAAO,SAAUC,GACf,MAAO,CACLC,UAAW,UACXC,YAAa,GACbC,MAAO,UACPC,OAAQ,IAIZC,cAAe,SAAUL,EAASM,GAChCA,EAAMC,GAAG,aAAa,WACpBC,OAAMC,OAAO,sBAAsB,GACnCD,OAAMC,OAAO,mBAAoBT,MAEnCM,EAAMC,GAAG,YAAY,WACnBC,OAAMC,OAAO,sBAAsB,QAIzCC,WAAY,CACVX,MAAO,SAACC,GACN,MAAO,CACLC,UAAW,UACXC,YAAa,GACbC,MAAO,UACPC,OAAQ,IAGZC,cAAe,SAAUL,EAASM,GAChCA,EAAMC,GAAG,aAAa,WACpBC,OAAMC,OAAO,sBAAsB,GACnCD,OAAMC,OAAO,mBAAoBT,MAEnCM,EAAMC,GAAG,YAAY,WACnBC,OAAMC,OAAO,sBAAsB,QAIzCE,QAAS,CACPZ,MAAO,SAAUC,GACf,GAAKA,EAAQY,WAAb,CACA,IAAMC,EAAKb,EAAQY,WACfE,EAAO,UACPC,EAAS,UAQb,MAPgB,MAAZF,EAAG,OACLC,EAAO,UACPC,EAAS,WACY,SAAZF,EAAG,QACZC,EAAO,UACPC,EAAS,WAEJ,CACLd,UAAWa,EACXZ,YAAa,GACbC,MAAOY,EACPX,OAAQ,KAGZC,cAAe,SAAUL,EAASM,GAChC,GAAKN,EAAQY,WAAb,CACA,IAAMC,EAAKb,EAAQY,WACbI,EAAO,CACX,CACEC,IAAK,MACLC,MAAOL,EAAG,QAEZ,CACEI,IAAK,OACLC,MAAOL,EAAG,OAEZ,CACEI,IAAK,KACLC,MAAOL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OAAO,sBAAsB,GACnCD,OAAMC,OAAO,mBAAoB,CAAEO,KAAMA,EAAMI,MAAO,QAExDd,EAAMC,GAAG,YAAY,WACnBC,OAAMC,OAAO,sBAAsB,SAIzCqB,SAAU,CACR/B,MAAO,SAACC,GACN,MAAO,CACLC,UAAW,UACXC,YAAa,GACbC,MAAO,UACPC,OAAQ,MAMDP","file":"chunk-2d21e3a6.56704606ec8b39b8a9be.js","sourcesContent":["import store from \"@/store/index.js\";\nimport L from \"leaflet\";\n\nconst geoJsonOptions = {\n adminarea1: {\n style: function (feature) {\n return {\n fillColor: \"#0000cc\",\n fillOpacity: 0.5,\n color: \"#44aaff\",\n weight: 3,\n };\n },\n\n onEachFeature: function (feature, layer) {\n layer.on(\"mouseover\", function () {\n store.commit(\"setInfoPanelIsShow\", true);\n store.commit(\"setInfoPanelInfo\", feature);\n });\n layer.on(\"mouseout\", function () {\n store.commit(\"setInfoPanelIsShow\", false);\n });\n },\n },\n adminarea2: {\n style: (feature) => {\n return {\n fillColor: \"#0000cc\",\n fillOpacity: 0.5,\n color: \"#44aaff\",\n weight: 3,\n };\n },\n onEachFeature: function (feature, layer) {\n layer.on(\"mouseover\", function () {\n store.commit(\"setInfoPanelIsShow\", true);\n store.commit(\"setInfoPanelInfo\", feature);\n });\n layer.on(\"mouseout\", function () {\n store.commit(\"setInfoPanelIsShow\", false);\n });\n },\n },\n landuse: {\n style: function (feature) {\n if (!feature.properties) return;\n const fp = feature.properties;\n let fill = \"#40e0d0\";\n let stroke = \"#40e0d0\";\n if (fp[\"種別\"] == \"空地\") {\n fill = \"#44aaff\";\n stroke = \"#0000cc\";\n } else if (fp[\"種別\"] == \"公園・緑地\") {\n fill = \"#057805\";\n stroke = \"#057805\";\n }\n return {\n fillColor: fill,\n fillOpacity: 0.2,\n color: stroke,\n weight: 1,\n };\n },\n onEachFeature: function (feature, layer) {\n if (!feature.properties) return;\n const fp = feature.properties;\n const info = [\n {\n key: \"所在地\",\n value: fp[\"所在地\"],\n },\n {\n key: \"土地種別\",\n value: fp[\"種別\"],\n },\n {\n key: \"面積\",\n value: fp[\"面積_sq_m\"].toFixed(2) + \" m2\",\n },\n // {\n // key : \"傾斜等条件\",\n // value : function () {\n // if(fp[\"flg\"]==1) return \"不可\";\n // else if(fp[\"flg\"]==2) return \"可\";\n // else return \"\";\n // }()\n // }\n ];\n layer.on(\"mouseover\", function () {\n store.commit(\"setInfoPanelIsShow\", true);\n store.commit(\"setInfoPanelInfo\", {\n info: info,\n title: \"土地データ\",\n });\n });\n layer.on(\"mouseout\", function () {\n store.commit(\"setInfoPanelIsShow\", false);\n });\n },\n },\n soccerfield: {\n style: (feature) => {\n return {\n fillColor: \"#dd0000\",\n fillOpacity: 0.5,\n color: \"#ff44aa\",\n weight: 2,\n };\n },\n onEachFeature: function (feature, layer) {\n if (!feature.properties) return;\n const fp = feature.properties;\n const info = [\n {\n key: \"所有地\",\n value: fp[\"location\"],\n },\n {\n key: \"レイアウト\",\n value: (function () {\n if (fp[\"case\"] == 1) {\n return \"180m x 170m\";\n } else if (fp[\"case\"] == 2) {\n return \"230m x 130m\";\n }\n })(),\n },\n {\n key: \"面積\",\n value: fp[\"SHAPE_Area\"].toFixed(2) + \" m2\",\n },\n {\n key: \"周長\",\n value: fp[\"SHAPE_Leng\"].toFixed(2) + \" m\",\n },\n ];\n layer.on(\"mouseover\", function () {\n store.commit(\"setInfoPanelIsShow\", true);\n store.commit(\"setInfoPanelInfo\", {\n info: info,\n title: \"サッカー場候補地\",\n });\n });\n layer.on(\"mouseout\", function () {\n store.commit(\"setInfoPanelIsShow\", false);\n });\n },\n },\n highway: {\n style: (feature) => {\n return {\n fillColor: \"#ff33ff\",\n fillOpacity: 0.5,\n color: \"#ff33ff\",\n weight: 4,\n };\n },\n },\n joint: {\n pointToLayer: function (feature, latlng) {\n return L.circleMarker(latlng, {\n //renderer: store.state.canvasRenderer,\n radius: 10,\n fillColor: \"#1c6550\",\n color: \"#ffffff\",\n weight: 3,\n opacity: 1,\n fillOpacity: 0.95,\n });\n },\n onEachFeature: function (feature, layer) {\n if (!feature.properties) return;\n const fp = feature.properties;\n const info = [\n {\n key: \"名称\",\n value: fp[\"N06_018\"] + \"IC\",\n },\n ];\n layer.on(\"mouseover\", function () {\n store.commit(\"setInfoPanelIsShow\", true);\n store.commit(\"setInfoPanelInfo\", { info: info, title: \"\" });\n });\n layer.on(\"mouseout\", function () {\n store.commit(\"setInfoPanelIsShow\", false);\n });\n },\n },\n joint3km: {\n style: (feature) => {\n return {\n fillColor: \"#44aaff\",\n fillOpacity: 0.2,\n color: \"#0000cc\",\n weight: 1,\n };\n },\n },\n};\n\nexport default geoJsonOptions;\n"],"sourceRoot":""}