{"version":3,"sources":["webpack:///./src/projectModules/fukushima-city/vtile-options.js"],"names":["getStrokeWeight","zoomLevel","weight","vectorTileLayerStyles","haisui","properties","style","color","fill","sousui","dousui","kyusui_honkan","kyusui_kanrui"],"mappings":"kHAAA,iEAAMA,EAAkB,SAACC,GACvB,IAAMC,EAASD,EAAY,GAAK,EAAMA,EAAY,GAAK,IAAM,EAC7D,OAAOC,GAUIC,EAAwB,CAEnCC,OAAM,SAACC,EAAYJ,GACjB,IAAMK,EAAQ,CACZJ,OAAQF,EAAgBC,GACxBM,MAAO,UACPC,MAAM,GAER,OAAOF,GAGTG,OAAM,SAACJ,EAAYJ,GACjB,IAAMK,EAAQ,CACZJ,OAAQF,EAAgBC,GAAa,EACrCM,MAAO,UACPC,MAAM,GAER,OAAOF,GAGTI,OAAM,SAACL,EAAYJ,GACjB,IAAMK,EAAQ,CACZJ,OAAQF,EAAgBC,GAAa,EACrCM,MAAO,UACPC,MAAM,GAER,OAAOF,GAGTK,cAAa,SAACN,EAAYJ,GACxB,IAAMK,EAAQ,CACZJ,OAAQF,EAAgBC,GACxBM,MAAO,UACPC,MAAM,GAER,OAAOF,GAGTM,cAAa,SAACP,EAAYJ,GACxB,IAAMK,EAAQ,CACZJ,OAAQF,EAAgBC,GACxBM,MAAO,UACPC,MAAM,GAER,OAAOF","file":"chunk-2d0e1c0d.56704606ec8b39b8a9be.js","sourcesContent":["const getStrokeWeight = (zoomLevel) => {\n const weight = zoomLevel < 15 ? 1.0 : zoomLevel < 17 ? 1.5 : 2.0;\n return weight;\n};\n\n/**\n *\n * @param {object} properties\n * @param {number} zoom\n * @returns {object} style\n * ref: https://leaflet.github.io/Leaflet.VectorGrid/vectorgrid-api-docs.html\n */\nexport const vectorTileLayerStyles = {\n /** このkey(mylayer)の部分は、TippecanoeでGeoJSONをベクタータイルを作成するときに指定するレイヤー名 */\n haisui(properties, zoomLevel) {\n const style = {\n weight: getStrokeWeight(zoomLevel),\n color: \"#49B2ED\",\n fill: false,\n };\n return style;\n },\n\n sousui(properties, zoomLevel) {\n const style = {\n weight: getStrokeWeight(zoomLevel) + 1, //送水管と導水菅は太めにしておく\n color: \"#8351EC\",\n fill: false,\n };\n return style;\n },\n\n dousui(properties, zoomLevel) {\n const style = {\n weight: getStrokeWeight(zoomLevel) + 1, //送水管と導水菅は太めにしておく\n color: \"#EDC549\",\n fill: false,\n };\n return style;\n },\n\n kyusui_honkan(properties, zoomLevel) {\n const style = {\n weight: getStrokeWeight(zoomLevel),\n color: \"#ED5C49\",\n fill: false,\n };\n return style;\n },\n\n kyusui_kanrui(properties, zoomLevel) {\n const style = {\n weight: getStrokeWeight(zoomLevel),\n color: \"#8FBD54\",\n fill: false,\n };\n return style;\n },\n};\n"],"sourceRoot":""}