Skip to content

Instantly share code, notes, and snippets.

@takurx
Last active October 20, 2024 12:37
Show Gist options
  • Save takurx/ca39c0a8b2d28195b26815c285d904aa to your computer and use it in GitHub Desktop.
Save takurx/ca39c0a8b2d28195b26815c285d904aa to your computer and use it in GitHub Desktop.
try to work open-hinata (WebGIS app)

Command

git clone [email protected]:kenzkenz/open-hinata.git
cd open-hinata/
npm i
npm run serve

Error handling

Error: error:0308010C:digital envelope routines::unsupported

openssl-legacy-provider optionを使う

nano package.json
6:   "serve": "NODE_OPTIONS='--openssl-legacy-provider' vue-cli-service serve",

に変更。 optionがserveの後だと動かない。

Error: EMFILE: too many open files, watch '/home/chino/LoRaWorks_230822/open-hinata/public'

Close GitHub client, GitKraken

Log

(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822$ git clone [email protected]:kenzkenz/open-hinata.git
Cloning into 'open-hinata'...
remote: Enumerating objects: 4100, done.
remote: Counting objects: 100% (1206/1206), done.
remote: Compressing objects: 100% (266/266), done.
remote: Total 4100 (delta 1042), reused 1070 (delta 939), pack-reused 2894 (from 1)
Receiving objects: 100% (4100/4100), 61.53 MiB | 4.50 MiB/s, done.
Resolving deltas: 100% (3152/3152), done.
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822$ cd open-hinata/
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/open-hinata$ npm i
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: 3.x is no longer supported
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 1644 packages, and audited 1645 packages in 19s
s)
201 packages are looking for funding
  run `npm fund` for details

111 vulnerabilities (3 low, 71 moderate, 31 high, 6 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm notice 
npm notice New minor version of npm available! 10.2.4 -> 10.9.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0
npm notice Run npm install -g [email protected] to update!
npm notice 
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/open-hinata$ npm run serve

> [email protected] serve
> vue-cli-service serve

 INFO  Starting development server...
10% building 2/2 modules 0 activenode:events:496
      throw er; // Unhandled 'error' event
      ^

Error: EMFILE: too many open files, watch '/home/chino/LoRaWorks_230822/open-hinata/public'
    at FSWatcher.<computed> (node:internal/fs/watchers:247:19)
    at Object.watch (node:fs:2473:36)
    at createFsWatchInstance (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:38:15)
    at setFsWatchListener (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:81:15)
    at NodeFsHandler._watchWithNodeFs (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:233:14)
    at NodeFsHandler._handleDir (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:429:19)
    at FSWatcher.<anonymous> (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:477:19)
    at FSWatcher.<anonymous> (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:482:16)
    at FSReqCallback.oncomplete (node:fs:202:5)
Emitted 'error' event on FSWatcher instance at:
    at FSWatcher._handleError (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack-dev-server/node_modules/chokidar/index.js:260:10)
    at createFsWatchInstance (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:40:5)
    at setFsWatchListener (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:81:15)
    [... lines matching original stack trace ...]
    at FSReqCallback.oncomplete (node:fs:202:5) {
  errno: -24,
  syscall: 'watch',
  code: 'EMFILE',
  path: '/home/chino/LoRaWorks_230822/open-hinata/public',
  filename: '/home/chino/LoRaWorks_230822/open-hinata/public'
}

Node.js v20.11.0

Log2

(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/open-hinata$ npm run serve

> [email protected] serve
> vue-cli-service serve

 INFO  Starting development server...
10% building 2/5 modules 3 active /home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/hot/dev-server.jsError: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at module.exports (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at runSyncOrAsync (/home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
    at iterateNormalLoaders (/home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at Array.<anonymous> (/home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/chino/LoRaWorks_230822/open-hinata/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
node:internal/crypto/hash:68
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at module.exports (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at Array.<anonymous> (/home/chino/LoRaWorks_230822/open-hinata/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/chino/LoRaWorks_230822/open-hinata/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
    at /home/chino/LoRaWorks_230822/open-hinata/node_modules/graceful-fs/graceful-fs.js:123:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.11.0

Log3

(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/open-hinata$ nano package.json
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/open-hinata$ npm run serve

> [email protected] serve
> NODE_OPTIONS='--openssl-legacy-provider' vue-cli-service serve

 INFO  Starting development server...
12% building 24/29 modules 5 active /home/chino/LoRaWorks_230822/open-hinata/node_modules/sockjs-client/dist/sockjs.jsBrowserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
65% building 571/614 modules 43 active /home/chino/LoRaWorks_230822/open-hinata/node_modules/ol/geom.js[BABEL] Note: The code generator has deoptimised the styling of /home/chino/LoRaWorks_230822/open-hinata/src/js/layers.js as it exceeds the max of 500KB.
65% building 786/850 modules 64 active ...hino/LoRaWorks_230822/open-hinata/node_modules/url-loader/dist/cjs.js??ref--1-0!/home/chino/LoRaWorks_230822/open-hinata/src/assets/icon/whitecircle.png[BABEL] Note: The code generator has deoptimised the styling of /home/chino/LoRaWorks_230822/open-hinata/src/js/mask-dep.js as it exceeds the max of 500KB.
98% after emitting CopyPlugin

 WARNING  Compiled with 29 warnings                                                                                                                                                      9:18:54 PM

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'LineString' is defined but never used (no-unused-vars) at src/js/mymap.js:32:17:
  30 | import Select from 'ol/interaction/Select.js'
  31 | // import {click, pointerMove, altKeyOnly} from 'ol/events/condition.js';
> 32 | import {Circle, LineString} from "ol/geom"
     |                 ^
  33 | import Feature from 'ol/Feature'
  34 | import {moveEnd} from "./permalink"
  35 | import Dialog from 'ol-ext/control/Dialog'


error: 'feature' is defined but never used (no-unused-vars) at src/js/mymap.js:103:22:
  101 | })
  102 | function danmenStyleFunction() {
> 103 |     return function (feature, resolution) {
      |                      ^
  104 |         const styles = []
  105 |         const iconStyle = new Style({
  106 |             image: new Icon({


error: 'resolution' is defined but never used (no-unused-vars) at src/js/mymap.js:103:31:
  101 | })
  102 | function danmenStyleFunction() {
> 103 |     return function (feature, resolution) {
      |                               ^
  104 |         const styles = []
  105 |         const iconStyle = new Style({
  106 |             image: new Icon({


error: 'resolution' is defined but never used (no-unused-vars) at src/js/mymap.js:129:31:
  127 |
  128 | function drawStylefunction (){
> 129 |     return function (feature, resolution) {
      |                               ^
  130 |         const prop = feature.getProperties()
  131 |         const geoType = feature.getGeometry().getType()
  132 |         // console.log(prop.distance)


error: Unexpected console statement (no-console) at src/js/mymap.js:213:9:
  211 |             tDistance = (tDistance * 1000).toFixed(2) + 'm'
  212 |         }
> 213 |         console.log(tDistance2)
      |         ^
  214 |         feature.setProperties({distance: tDistance})
  215 |         return {'tDistance':tDistance,'tDistance2':tDistance2}
  216 |     } else if (geoType === 'Polygon') {


error: Unexpected console statement (no-console) at src/js/mymap.js:248:5:
  246 |     const coordAr = feature.getGeometry().getCoordinates()
  247 |     const geoType = feature.getGeometry().getType()
> 248 |     console.log(feature)
      |     ^
  249 |     console.log(coordAr)
  250 |     console.log(geoType)
  251 |     if (geoType !==  'LineString') return


error: Unexpected console statement (no-console) at src/js/mymap.js:249:5:
  247 |     const geoType = feature.getGeometry().getType()
  248 |     console.log(feature)
> 249 |     console.log(coordAr)
      |     ^
  250 |     console.log(geoType)
  251 |     if (geoType !==  'LineString') return
  252 |     const tDistance = (measure (geoType,feature,coordAr).tDistance)


error: Unexpected console statement (no-console) at src/js/mymap.js:250:5:
  248 |     console.log(feature)
  249 |     console.log(coordAr)
> 250 |     console.log(geoType)
      |     ^
  251 |     if (geoType !==  'LineString') return
  252 |     const tDistance = (measure (geoType,feature,coordAr).tDistance)
  253 |     const tDistance2 = (measure (geoType,feature,coordAr).tDistance2)


error: Unexpected console statement (no-console) at src/js/mymap.js:284:17:
  282 |                 d3.select('#map01 .loadingImg').style("display","none")
  283 |
> 284 |                 console.log(response)
      |                 ^
  285 |                 const dataSet = response.map((valu,index) => {
  286 |                     let kyori = kyoriArr[index]
  287 |                     let tani


error: 'response' is defined but never used (no-unused-vars) at src/js/mymap.js:304:30:
  302 |                 dialogOpen(dataSet)
  303 |             })
> 304 |             .catch(function (response) {
      |                              ^
  305 |             })
  306 |     }
  307 |     function dialogOpen(dataSet){


error: Unexpected console statement (no-console) at src/js/mymap.js:324:9:
  322 |             }
  323 |         store.state.base.erevArr = dataSet
> 324 |         console.log(dataSet)
      |         ^
  325 |         store.commit('base/pushDialogs2',{mapName: 'map01', dialog: diialog})
  326 |     }
  327 |     created()


error: Unexpected console statement (no-console) at src/js/mymap.js:336:5:
  334 |
  335 | modifyInteraction.on('modifyend', function (event) {
> 336 |     console.log(event.features.array_[0].ol_uid)
      |     ^
  337 |     const feature = event.features.array_[0]
  338 |     const coordAr = event.features.array_[0].getGeometry().getCoordinates()
  339 |     const geoType = event.features.array_[0].getGeometry().getType()


error: 'e' is defined but never used (no-unused-vars) at src/js/mymap.js:345:45:
  343 | })
  344 |
> 345 | drawLayer.getSource().on("change", function(e) {
      |                                             ^
  346 |     // moveEnd()
  347 |     history ('ドロー')
  348 | })


error: 'coordAr' is assigned a value but never used (no-unused-vars) at src/js/mymap.js:470:19:
  468 |         pointInteraction.on('drawend', function (event) {
  469 |             const feature = event.feature;
> 470 |             const coordAr = feature.getGeometry().getCoordinates()
      |                   ^
  471 |             const geoType = feature.getGeometry().getType()
  472 |             store.state.base.editFeature = feature
  473 |             // map.removeInteraction(pointInteraction)


error: 'geoType' is assigned a value but never used (no-unused-vars) at src/js/mymap.js:471:19:
  469 |             const feature = event.feature;
  470 |             const coordAr = feature.getGeometry().getCoordinates()
> 471 |             const geoType = feature.getGeometry().getType()
      |                   ^
  472 |             store.state.base.editFeature = feature
  473 |             // map.removeInteraction(pointInteraction)
  474 |             store.state.base.togglePoint = false


error: Move function declaration to function body root (no-inner-declarations) at src/js/mymap.js:502:9:
  500 |         }
  501 |         let dragAndDropInteraction;
> 502 |         function setInteraction() {
      |         ^
  503 |             // const map = store.state.base.maps.map01;
  504 |             if (dragAndDropInteraction) {
  505 |                 map.removeInteraction(dragAndDropInteraction);


error: Unexpected console statement (no-console) at src/js/mymap.js:530:25:
  528 |                         drawLayer.getSource().removeFeature(feature)
  529 |                         const distance = feature.getProperties().distance
> 530 |                         console.log(feature.getProperties().distance)
      |                         ^
  531 |                         const circle = new Circle(feature.get('center'), feature.get('radius'));
  532 |                         const newFeature = new Feature(circle);
  533 |                         newFeature.setProperties({distance: distance})


error: Unexpected console statement (no-console) at src/js/mymap.js:765:13:
  763 |         // 洪水,津波,継続,普通のフィーチャー用-----------------------------------------------------------------
  764 |         map.on('singleclick', function (evt) {
> 765 |             console.log(JSON.stringify(transform(evt.coordinate, "EPSG:3857", "EPSG:4326")))
      |             ^
  766 |             rgbaArr = []
  767 |             funcArr = []
  768 |             overlay[i].setPosition(undefined)


error: 'evt' is defined but never used (no-unused-vars) at src/js/mymap.js:1030:41:
  1028 |         //--------------------------------------------------------------------------------
  1029 |         // シームレス地質図ポップアップ用
> 1030 |         map.on('singleclick', function (evt) {
       |                                         ^
  1031 |             // const layers0 = map.getLayers().getArray();
  1032 |             // const seamlessLayer = layers0.find(el => el.get('name') === 'seamless');
  1033 |             // if (seamlessLayer) PopUp.popupSeamless(overlay[i],evt,content)


error: 'title' is assigned a value but never used (no-unused-vars) at src/js/mymap.js:1099:23:
  1097 |                 const prop = feature.getProperties();
  1098 |                 const uri = prop.uri
> 1099 |                 const title = prop.title
       |                       ^
  1100 |                 const mwId = prop.id
  1101 |                 if (uri) {
  1102 |                     store.commit('base/updateDialogShow',true)


error: 'evt' is defined but never used (no-unused-vars) at src/js/mymap.js:1181:35:
  1179 |
  1180 |
> 1181 |         map.on('click', function (evt) {
       |                                   ^
  1182 |             // const pixel = map.getPixelFromCoordinate(evt.coordinate);
  1183 |             // const features = [];
  1184 |             // const layers = [];


error: 'e' is assigned a value but never used (no-unused-vars) at src/js/mymap.js:1228:19:
  1226 |             const x = ( 0.5 + coord[ 0 ] / ( 2 * R * Math.PI ) ) * Math.pow( 2, z );
  1227 |             const y = ( 0.5 - coord[ 1 ] / ( 2 * R * Math.PI ) ) * Math.pow( 2, z );
> 1228 |             const e = event;
       |                   ^
  1229 |             const zoom = String(Math.floor(map.getView().getZoom() * 100) / 100)
  1230 |             // vm.zoom[mapName] = 'zoom=' + zoom
  1231 |             // vm.zoom[mapName] = ''


error: Move function declaration to function body root (no-inner-declarations) at src/js/mymap.js:1262:9:
  1260 |         //	成功時には標高(単位m),無効値の場合は'e'を返す
  1261 |         // ****************
> 1262 |         function getElev( rx, ry, z, then ) {
       |         ^
  1263 |             // const elevServer = 'https://gsj-seamless.jp/labs/elev2/elev/' // 海あり
  1264 |             const elevServer = 'https://tiles.gsj.jp/tiles/elev/mixed/'
  1265 |             // const elevServer = 'https://tiles.gsj.jp/tiles/elev/land/' // 陸地のみ


error: Empty block statement (no-empty) at src/js/mymap.js:1653:18:
  1651 |             item.layer.setVisible(true)
  1652 |         }
> 1653 |     } catch( e ) {
       |                  ^
  1654 |     }
  1655 | }
  1656 | export function multipliLayer (item, layerList, name) {


error: Unexpected console statement (no-console) at src/js/mymap.js:1659:5:
  1657 |     store.commit('base/updateList', {value: layerList, mapName: name});
  1658 |     const map = store.state.base.maps[name];
> 1659 |     console.log(item.multipli)
       |     ^
  1660 |     console.log(item.layer)
  1661 |     if (item.layer.values_.layers) {
  1662 |         const gLayers = item.layer.values_.layers.array_;


error: Unexpected console statement (no-console) at src/js/mymap.js:1660:5:
  1658 |     const map = store.state.base.maps[name];
  1659 |     console.log(item.multipli)
> 1660 |     console.log(item.layer)
       |     ^
  1661 |     if (item.layer.values_.layers) {
  1662 |         const gLayers = item.layer.values_.layers.array_;
  1663 |         for (let i in gLayers) {


error: Unexpected console statement (no-console) at src/js/mymap.js:1690:9:
  1688 |         });
  1689 |     } else {
> 1690 |         console.log(item.layer)
       |         ^
  1691 |         // item.layer.className = 'hoge'
  1692 |         item.layer.on("prerender", function(evt){
  1693 |             evt.context.globalCompositeOperation = 'multiply';


error: Empty block statement (no-empty) at src/js/mymap.js:1713:47:
  1711 | export function lego (name, selected) {
  1712 |     const map = store.state.base.maps[name];
> 1713 |     try{map.removeFilter(legoFilter);}catch(e){}
       |                                               ^
  1714 |     legoFilter = new Lego({ brickSize:selected, img:'brick' });
  1715 |     map.addFilter(legoFilter);
  1716 | }


error: Empty block statement (no-empty) at src/js/mymap.js:1720:47:
  1718 | export function legoRemove (name) {
  1719 |     const map = store.state.base.maps[name];
> 1720 |     try{map.removeFilter(legoFilter);}catch(e){}
       |                                               ^
  1721 | }
  1722 | export function addressSerch (name,address) {
  1723 |     const map = store.state.base.maps[name];


error: Unexpected console statement (no-console) at src/js/mymap.js:1728:5:
  1726 |     // const marker3 = store.state.base.maps['map03'].overlays_.getArray()[1]
  1727 |     // const marker4 = store.state.base.maps['map04'].overlays_.getArray()[1]
> 1728 |     console.log(address)
       |     ^
  1729 |     // 140.097, 37.856のように座標をいれた時の処理
  1730 |     const splitAddress = address.split(',')
  1731 |     let lonLat


error: 'error' is defined but never used (no-unused-vars) at src/js/mymap.js:1762:30:
  1760 |             //     marker4.setPosition(transform(lonLat, "EPSG:4326", "EPSG:3857"));
  1761 |             })
> 1762 |             .catch(function (error) {
       |                              ^
  1763 |             })
  1764 |             .finally(function () {
  1765 |             });


error: Unexpected console statement (no-console) at src/js/mymap.js:1776:9:
  1774 |         // const map = store.state.base.maps[name];
  1775 |         // const layers = map.getLayers().getArray();
> 1776 |         console.log(presetName)
       |         ^
  1777 |         const filter = new Colorize();
  1778 |         layer.removeFilter()
  1779 |         layer.addFilter(filter);


32 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'd' is defined but never used (no-unused-vars) at src/components/Daialog-ssds-bar.vue:126:36:
  124 |                 .style("left", (event.pageX + 10) + "px");
  125 |           })
> 126 |           .on("mouseout", function(d) {
      |                                    ^
  127 |             tooltip.style("visibility", "hidden");
  128 |           })
  129 |           .attr("x", function(d) { return xScale(d.year); })


1 error found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'd' is defined but never used (no-unused-vars) at src/components/Dialog-pyramid-estat.vue:163:38:
  161 |                   .style("left", (event.pageX + 10) + "px");
  162 |             })
> 163 |             .on("mouseout", function(d) {
      |                                      ^
  164 |               tooltip.style("visibility", "hidden");
  165 |             })
  166 |             .attr("y", function(d) { return y(d.class); })


error: 'd' is defined but never used (no-unused-vars) at src/components/Dialog-pyramid-estat.vue:169:36:
  167 |             .attr("height", y.bandwidth())
  168 |             .attr("transform", "translate(" + womanMargin + "," + 0 + ")")
> 169 |             .attr("fill", function(d) {
      |                                    ^
  170 |               // switch (d.class){
  171 |               //   case '0~4歳':
  172 |               //   case '5~9歳':


error: 'd' is defined but never used (no-unused-vars) at src/components/Dialog-pyramid-estat.vue:217:38:
  215 |                   .style("left", (event.pageX + 10) + "px");
  216 |             })
> 217 |             .on("mouseout", function(d) {
      |                                      ^
  218 |               tooltip.style("visibility", "hidden");
  219 |             })
  220 |             .attr("y", function(d) { return y(d.class); })


error: 'd' is defined but never used (no-unused-vars) at src/components/Dialog-pyramid-estat.vue:225:33:
  223 |             .attr("fill", "steelblue")
  224 |             .attr("width", 0)
> 225 |             .attr("x", function(d) {
      |                                 ^
  226 |               return width/2 -30;
  227 |             })
  228 |             // .attr("x", function(d) {return x2(d.man)/;})


4 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'e' is defined but never used (no-unused-vars) at src/components/Dialog-edit.vue:72:16:
  70 |       MyMap.overlay['0'].setPosition(undefined)
  71 |     },
> 72 |     changeName(e) {
     |                ^
  73 |       const feature = this.$store.state.base.editFeature
  74 |       feature.setProperties({name: this.$store.state.base.editFeatureName})
  75 |       feature.setProperties({setumei: this.$store.state.base.editFeatureSetumei})


error: Unexpected console statement (no-console) at src/components/Dialog-edit.vue:90:9:
  88 |       xhttpreq.addEventListener("progress", function(e){
  89 |         var progress_data = e.loaded / e.total;
> 90 |         console.log('progress:'+progress_data);
     |         ^
  91 |       }, false);
  92 |
  93 |       xhttpreq.open("POST", "https://kenzkenz.xsrv.jp/open-hinata/php/upload.php", true);


error: Unexpected console statement (no-console) at src/components/Dialog-edit.vue:97:9:
   95 |       xhttpreq.addEventListener("load", function(e){
   96 |         let fileName = JSON.parse(e.target.response).fileName
>  97 |         console.log(fileName)
      |         ^
   98 |         fileName = 'https://kenzkenz.xsrv.jp/open-hinata/php/img/' + fileName
   99 |         vm.$store.state.base.editFeatureSrc = fileName
  100 |


3 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'fgbObj' is defined but never used (no-unused-vars) at src/js/layers.js:23:9:
  21 | // import BingMaps from 'ol/source/BingMaps'
  22 | import * as d3 from "d3"
> 23 | import {fgbObj, homusyomiyazaki2024Summ, hyuganadaShindoSumm, nantoraShindoObj} from "./layers-mvt";
     |         ^
  24 | // import {ssdsPrefObj} from "./layers-mvt";
  25 | // const mapsStr = ['map01','map02','map03','map04']
  26 | // const mapsStr = ['map01'];


error: 'homusyomiyazaki2024Summ' is defined but never used (no-unused-vars) at src/js/layers.js:23:17:
  21 | // import BingMaps from 'ol/source/BingMaps'
  22 | import * as d3 from "d3"
> 23 | import {fgbObj, homusyomiyazaki2024Summ, hyuganadaShindoSumm, nantoraShindoObj} from "./layers-mvt";
     |                 ^
  24 | // import {ssdsPrefObj} from "./layers-mvt";
  25 | // const mapsStr = ['map01','map02','map03','map04']
  26 | // const mapsStr = ['map01'];


error: 'hyuganadaShindoSumm' is defined but never used (no-unused-vars) at src/js/layers.js:23:42:
  21 | // import BingMaps from 'ol/source/BingMaps'
  22 | import * as d3 from "d3"
> 23 | import {fgbObj, homusyomiyazaki2024Summ, hyuganadaShindoSumm, nantoraShindoObj} from "./layers-mvt";
     |                                          ^
  24 | // import {ssdsPrefObj} from "./layers-mvt";
  25 | // const mapsStr = ['map01','map02','map03','map04']
  26 | // const mapsStr = ['map01'];


error: 'nantoraShindoObj' is defined but never used (no-unused-vars) at src/js/layers.js:23:63:
  21 | // import BingMaps from 'ol/source/BingMaps'
  22 | import * as d3 from "d3"
> 23 | import {fgbObj, homusyomiyazaki2024Summ, hyuganadaShindoSumm, nantoraShindoObj} from "./layers-mvt";
     |                                                               ^
  24 | // import {ssdsPrefObj} from "./layers-mvt";
  25 | // const mapsStr = ['map01','map02','map03','map04']
  26 | // const mapsStr = ['map01'];


error: 'sp10Summ' is assigned a value but never used (no-unused-vars) at src/js/layers.js:765:7:
  763 |   sp10Obj[i] = new TileLayer(new Sp10())
  764 | }
> 765 | const sp10Summ = '国土地理院作成のタイルです。<a href="https://maps.gsi.go.jp/development/ichiran.html" target="_blank">リンク</a>'
      |       ^
  766 |
  767 | // 87~90年の航空写真-------------------------------------------------------------------------------
  768 | function Sp87 () {


error: 'hyougoCs50Summ' is assigned a value but never used (no-unused-vars) at src/js/layers.js:993:7:
  991 |   hyougoCs50Obj[i] = new TileLayer(new HyougoCs50())
  992 | }
> 993 | const hyougoCs50Summ = '<a href="https://web.pref.hyogo.lg.jp/kk26/hyogo-geo.html" target="_blank">全国初「全県土分の高精度3次元データ」の公開について</a>';
      |       ^
  994 | // 兵庫県CS立体図50cm2 ----------------------------------------------------------------------------
  995 | function HyougoCs50c2 () {
  996 |   this.preload = Infinity


error: 'sizuokaCsSumm' is assigned a value but never used (no-unused-vars) at src/js/layers.js:1945:7:
  1943 |   sizuokaCsObj[i] = new TileLayer(new SizuokaCs())
  1944 | }
> 1945 | const sizuokaCsSumm = '<a href="https://www.geospatial.jp/ckan/dataset/shizuokakencsmap2" target="_blank">G空間情報センター</a>'
       |       ^
  1946 | // 静岡県CS立体図50cm----------------------------------------------------------------------------
  1947 | function SizuokaCs50cm () {
  1948 |   this.preload = Infinity


error: 'cs10mSumm' is assigned a value but never used (no-unused-vars) at src/js/layers.js:2986:7:
  2984 | }
  2985 |
> 2986 | const cs10mSumm = ''
       |       ^
  2987 | // CS立体図10Mここまで-----------------------------------------------------------------------
  2988 | // 日本版mapwarper5万分の1ここから------------------------------------------------------
  2989 | // 5万分の1,20万分の1の共用コンストラクタなど


error: 'moridoSumm' is assigned a value but never used (no-unused-vars) at src/js/layers.js:4338:7:
  4336 |   moridoObj[i] = new TileLayer(new Morido())
  4337 | }
> 4338 | const moridoSumm =   '出典:<br><a href="https://disaportal.gsi.go.jp/hazardmap/copyright/opendata.html" target="_blank">ハザードマップポータルサイト</a>';
       |       ^
  4339 | // 地形区分に基づく液状化の発生傾向図-------------------------------------------------------------------------------
  4340 | function Ekizyouka () {
  4341 |   this.name = 'ekizyouka'


error: 'kyoSumm' is assigned a value but never used (no-unused-vars) at src/js/layers.js:9863:7:
  9861 |   kyoObj[i] = new TileLayer(new Kyo())
  9862 | }
> 9863 | const kyoSumm = '出典:<br><a href="https://mapwarper.h-gis.jp/maps/2463" target="_blank">日本版 Map Warper</a><br>1739年作成';
       |       ^
  9864 | // 江戸切絵図---------------------------------------------------------------
  9865 | function Edokirie() {
  9866 |   this.preload = Infinity


error: 'edokirieSumm' is assigned a value but never used (no-unused-vars) at src/js/layers.js:9878:7:
  9876 |   edokirieObj[i] = new TileLayer(new Edokirie())
  9877 | }
> 9878 | const edokirieSumm = '出典:<br><a href="https://mapwarper.h-gis.jp/maps/4915" target="_blank">日本版 Map Warper</a>';
       |       ^
  9879 | // 明治東京全図---------------------------------------------------------------
  9880 | function Meijitoukyo() {
  9881 |   this.preload = Infinity


11 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'tani' is assigned a value but never used (no-unused-vars) at src/components/Daialog-erev.vue:34:11:
  32 |     const vm = this
  33 |     const dataset = this.$store.state.base.erevArr
> 34 |     const tani = dataset[0].tani
     |           ^
  35 |     const soukyori = dataset[0].tDistance
  36 |     const saikouErev = d3.max(dataset, function(d) { return d.erev; })
  37 |     const dialog2DragHandle = document.querySelector('#dialog2-' + vm.item.id + ' .drag-handle')


error: 'd' is defined but never used (no-unused-vars) at src/components/Daialog-erev.vue:116:29:
  114 |         .attr("x", function(d) { return xScale(d.kyori); })
  115 |         // .attr("y", function(d) { return yScale(d.erev); })
> 116 |         .attr("y", function(d) { return margin.top; })
      |                             ^
  117 |         .attr("width", 2)
  118 |         // .attr("height", function(d) { return height - margin.bottom - yScale(d.erev); })
  119 |         .attr("height", function(d) { return height - margin.bottom; })


error: 'd' is defined but never used (no-unused-vars) at src/components/Daialog-erev.vue:119:34:
  117 |         .attr("width", 2)
  118 |         // .attr("height", function(d) { return height - margin.bottom - yScale(d.erev); })
> 119 |         .attr("height", function(d) { return height - margin.bottom; })
      |                                  ^
  120 |         .attr("fill", "rgb(0,0,0,0)")
  121 |         .on("mouseover", function(event, data) {
  122 |           let coord = data.coord


error: 'd' is defined but never used (no-unused-vars) at src/components/Daialog-erev.vue:132:34:
  130 |           d3.select(this).attr("fill", "steelblue")
  131 |         })
> 132 |         .on("mouseout", function(d) {
      |                                  ^
  133 |           d3.select(this).attr("fill", "rgb(0,0,0,0)")
  134 |         })
  135 |


error: 'd' is defined but never used (no-unused-vars) at src/components/Daialog-erev.vue:136:33:
  134 |         })
  135 |
> 136 |     svg.on("mouseout", function(d) {
      |                                 ^
  137 |       d3.select(this).attr("fill", "rgb(0,0,0,0)")
  138 |       MyMap.danmenLayer.getSource().clear()
  139 |     })


5 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'tetsudojikeiretsuObj' is defined but never used (no-unused-vars) at src/components/dialog-info/Dialog-info-tetsudojikeirertsu.vue:15:9:
  13 | import * as permalink from '@/js/permalink'
  14 | import * as MyMap from '@/js/mymap'
> 15 | import {tetsudojikeiretsuObj} from "@/js/layers-mvt";
     |         ^
  16 |
  17 | export default {
  18 |   name: "Dialog-info-tetsudojikeiretsu",


1 error found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'value' is defined but never used (no-unused-vars) at src/components/dialog-info/Dialog-info-jinko100m.vue:54:19:
  52 |   },
  53 |   methods: {
> 54 |     paintChangge (value) {
     |                   ^
  55 |       console.log(this.s_paint)
  56 |       LayersMvt.mesh100Obj[this.mapName].getSource().changed()
  57 |       this.storeUpdate()


error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-jinko100m.vue:55:7:
  53 |   methods: {
  54 |     paintChangge (value) {
> 55 |       console.log(this.s_paint)
     |       ^
  56 |       LayersMvt.mesh100Obj[this.mapName].getSource().changed()
  57 |       this.storeUpdate()
  58 |     },


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'value' is defined but never used (no-unused-vars) at src/components/dialog-info/Dialog-info-jinko1km.vue:54:19:
  52 |   },
  53 |   methods: {
> 54 |     paintChangge (value) {
     |                   ^
  55 |       console.log(this.s_paint)
  56 |       LayersMvt.mesh1kmObj[this.mapName].getSource().changed()
  57 |       this.storeUpdate()


error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-jinko1km.vue:55:7:
  53 |   methods: {
  54 |     paintChangge (value) {
> 55 |       console.log(this.s_paint)
     |       ^
  56 |       LayersMvt.mesh1kmObj[this.mapName].getSource().changed()
  57 |       this.storeUpdate()
  58 |     },


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'value' is defined but never used (no-unused-vars) at src/components/dialog-info/Dialog-info-jinko250m.vue:54:19:
  52 |   },
  53 |   methods: {
> 54 |     paintChangge (value) {
     |                   ^
  55 |       console.log(this.s_paint)
  56 |       LayersMvt.mesh250Obj[this.mapName].getSource().changed()
  57 |       this.storeUpdate()


error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-jinko250m.vue:55:7:
  53 |   methods: {
  54 |     paintChangge (value) {
> 55 |       console.log(this.s_paint)
     |       ^
  56 |       LayersMvt.mesh250Obj[this.mapName].getSource().changed()
  57 |       this.storeUpdate()
  58 |     },


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'value' is defined but never used (no-unused-vars) at src/components/dialog-info/Dialog-info-jinko500m.vue:48:19:
  46 |   },
  47 |   methods: {
> 48 |     paintChangge (value) {
     |                   ^
  49 |       console.log(this.s_paint)
  50 |       LayersMvt.mesh500Obj[this.mapName].getSource().changed()
  51 |       this.storeUpdate()


error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-jinko500m.vue:49:7:
  47 |   methods: {
  48 |     paintChangge (value) {
> 49 |       console.log(this.s_paint)
     |       ^
  50 |       LayersMvt.mesh500Obj[this.mapName].getSource().changed()
  51 |       this.storeUpdate()
  52 |     },


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'zoom' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:148:11:
  146 | function hyuganadaTsunamiTotatsuStyleFunction() {
  147 |   return function (feature, resolution) {
> 148 |     const zoom = getZoom(resolution)
      |           ^
  149 |     const prop = feature.getProperties()
  150 |     const seconds = prop.到達時間
  151 |     const styles = [];


error: 'zoom' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:302:11:
  300 | function hyuganadaShindoStyleFunction() {
  301 |   return function (feature, resolution) {
> 302 |     const zoom = getZoom(resolution)
      |           ^
  303 |     const prop = feature.getProperties()
  304 |     const maxShindo = prop.最大JMA
  305 |     const styles = [];


error: 'zoom' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:379:11:
  377 | function hyugaTsunamiStyleFunction() {
  378 |   return function (feature, resolution) {
> 379 |     const zoom = getZoom(resolution)
      |           ^
  380 |     const prop = feature.getProperties()
  381 |     const maxShinsui = prop.最大浸水深
  382 |     const styles = [];


error: 'zoom' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:457:11:
  455 | function nantoraShindoStyleFunction() {
  456 |   return function (feature, resolution) {
> 457 |     const zoom = getZoom(resolution)
      |           ^
  458 |     const prop = feature.getProperties()
  459 |     const maxShindo = prop.JMA独自
  460 |     const styles = [];


error: 'zoom' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:531:11:
  529 | function nantoraEkijyokatyleFunction() {
  530 |   return function (feature, resolution) {
> 531 |     const zoom = getZoom(resolution)
      |           ^
  532 |     const prop = feature.getProperties()
  533 |     const styles = []
  534 |     const maxPl = prop.PL独自


error: 'zoom' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:604:11:
  602 | function nantoraStyleFunction() {
  603 |   return function (feature, resolution) {
> 604 |     const zoom = getZoom(resolution)
      |           ^
  605 |     const prop = feature.getProperties()
  606 |     const maxShinsui = prop.最大浸水深
  607 |     const styles = [];


error: 'prop' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:1035:11:
  1033 |   return function (feature, resolution) {
  1034 |     const zoom = getZoom(resolution);
> 1035 |     const prop = feature.getProperties();
       |           ^
  1036 |     const styles = [];
  1037 |     let color = 'rgb(239,134,131)'
  1038 |     let text


error: 'mapName' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:1844:35:
  1842 |   mesh1kmRonenObj[i] = new VectorTileLayer(new Mesh1kmRoen((i)))
  1843 | }
> 1844 | function mesh1kRonenColorFunction(mapName) {
       |                                   ^
  1845 |   return function (feature, resolution) {
  1846 |     const zoom = getZoom(resolution);
  1847 |     const prop = feature.getProperties();


error: Irregular whitespace not allowed (no-irregular-whitespace) at src/js/layers-mvt.js:2002:136:
  2000 | //   syougakkoukuH28Obj[i] = new VectorTileLayer(new SyougakkoukuH28())
  2001 | // }
> 2002 | // export const syougakkoukuH28Summ = "<a href='http://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-A27-v2_1.html' target='_blank'>国土数値情報 小学校区データ</a>";
       |                                                                                                                                        ^
  2003 | //
  2004 | // //H22小学校区------------------------------------------------------------------------------------------------
  2005 | // function SyougakkoukuH22(){


error: Irregular whitespace not allowed (no-irregular-whitespace) at src/js/layers-mvt.js:2018:136:
  2016 | //   syougakkoukuH22Obj[i] = new VectorTileLayer(new SyougakkoukuH22())
  2017 | // }
> 2018 | // export const syougakkoukuH22Summ = "<a href='http://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-A27-v2_1.html' target='_blank'>国土数値情報 小学校区データ</a>";
       |                                                                                                                                        ^
  2019 |
  2020 | //R03小学校区------------------------------------------------------------------------------------------------
  2021 | function Syougakkouku(mapName){


error: Irregular whitespace not allowed (no-irregular-whitespace) at src/js/layers-mvt.js:2265:136:
  2263 | //   tyuugakkoukuH28Obj[i] = new VectorTileLayer(new TyuugakkoukuH28())
  2264 | // }
> 2265 | // export const tyuugakkoukuH28Summ = "<a href='http://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-A32-v2_0.html' target='_blank'>国土数値情報 中学校区データ</a>";
       |                                                                                                                                        ^
  2266 | //
  2267 | // //h25中学校区---------------------------------------------------------------------------------------
  2268 | // function TyuugakkoukuH25(){


error: Irregular whitespace not allowed (no-irregular-whitespace) at src/js/layers-mvt.js:2281:136:
  2279 | //   tyuugakkoukuH25Obj[i] = new VectorTileLayer(new TyuugakkoukuH25())
  2280 | // }
> 2281 | // export const tyuugakkoukuH25Summ = "<a href='http://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-A32-v2_0.html' target='_blank'>国土数値情報 中学校区データ</a>";
       |                                                                                                                                        ^
  2282 |
  2283 | //R03中学校区---------------------------------------------------------------------------------------
  2284 | function Tyuugakkouku(mapName){


error: 'type' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:2774:11:
  2772 |     // console.log(resolution)
  2773 |     // const zoom = getZoom(resolution);
> 2774 |     const type = prop["type"];
       |           ^
  2775 |     let text = prop.地番
  2776 |     if (resolution > 9.554628) text = "・";
  2777 |     const style = new Style({


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:3162:29:
  3160 | //--------------------------------------
  3161 | function kasoStyleFunction() {
> 3162 |   return function (feature, resolution) {
       |                             ^
  3163 |     const prop = feature.getProperties();
  3164 |     let rgba = "black"
  3165 |     switch (prop.A17_009) {


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:4139:29:
  4137 | //--------------------------------------
  4138 | function hudeStyleFunction() {
> 4139 |   return function (feature, resolution) {
       |                             ^
  4140 |     const prop = feature.getProperties();
  4141 |     let rgba = "black"
  4142 |     switch (prop.land_type) {


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:4268:29:
  4266 | const sansonColor = d3.scaleOrdinal(d3.schemeCategory10);
  4267 | function sansonStyleFunction() {
> 4268 |   return function (feature, resolution) {
       |                             ^
  4269 |     const prop = feature.getProperties();
  4270 |     const rgb = sansonColor(prop.A24_002)
  4271 |     const style = new Style({


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:4333:29:
  4331 | const iryoukenColor = d3.scaleOrdinal(d3.schemeCategory10);
  4332 | function iryoukenStyleFunction(iryouken) {
> 4333 |   return function (feature, resolution) {
       |                             ^
  4334 |     const prop = feature.getProperties();
  4335 |     let rgb
  4336 |     switch (iryouken) {


error: 'suikeiColor' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:4391:7:
  4389 | export const suikei1kmObjSumm = "<a href='https://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-mesh1000h30.html' target='_blank'>国土数値情報 1kmメッシュ別将来推計人口データ</a>"
  4390 | //------------------------------------------
> 4391 | const suikeiColor = d3.scaleOrdinal(d3.schemeCategory10);
       |       ^
  4392 | function suikeiStyleFunction() {
  4393 |   return function (feature, resolution) {
  4394 |     const prop = feature.getProperties();


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:4393:29:
  4391 | const suikeiColor = d3.scaleOrdinal(d3.schemeCategory10);
  4392 | function suikeiStyleFunction() {
> 4393 |   return function (feature, resolution) {
       |                             ^
  4394 |     const prop = feature.getProperties();
  4395 |     let rgb
  4396 |     if (prop.PTN_2050) {


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:4450:29:
  4448 | //------------------------------------------
  4449 | function nougyouStyleFunction() {
> 4450 |   return function (feature, resolution) {
       |                             ^
  4451 |     const prop = feature.getProperties();
  4452 |     let rgb
  4453 |     switch (prop.LAYER_NO) {


error: 'cityColor' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:4591:7:
  4589 |
  4590 | //------------------------------------------
> 4591 | const cityColor = d3.scaleOrdinal(d3.schemeCategory10);
       |       ^
  4592 | function cityStyleFunction() {
  4593 |   return function (feature, resolution) {
  4594 |     const zoom = getZoom(resolution);


error: 'feature' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:4844:19:
  4842 | // ----------------------------------------------------------------------------
  4843 | function tatumakiStyleFunction () {
> 4844 |   return function(feature, resolution) {
       |                   ^
  4845 |     // const zoom = getZoom(resolution);
  4846 |     // const prop = feature.getProperties();
  4847 |     const styles = [];


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:4844:28:
  4842 | // ----------------------------------------------------------------------------
  4843 | function tatumakiStyleFunction () {
> 4844 |   return function(feature, resolution) {
       |                            ^
  4845 |     // const zoom = getZoom(resolution);
  4846 |     // const prop = feature.getProperties();
  4847 |     const styles = [];


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:5093:29:
  5091 | const tokuteiColor = d3.scaleOrdinal(d3.schemeCategory10);
  5092 | function tokuteiStyleFunction() {
> 5093 |   return function (feature, resolution) {
       |                             ^
  5094 |     const prop = feature.getProperties();
  5095 |     const rgb = tokuteiColor(prop.A25_002)
  5096 |     const style = new Style({


error: Unexpected newline between object and [ of property access (no-unexpected-multiline) at src/js/layers-mvt.js:5225:9:
  5223 |     ["","#85B6E7"],
  5224 |     [9999, "#ff00ff"]
> 5225 |         [11202,"#d9cbae"],
       |         ^
  5226 |     [11203,"#d9cbae"],
  5227 |     [11204,"#d9cbae"],
  5228 |     [10202,"#9466ab"],


error: 'sizentikeiObj1' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:5351:7:
  5349 |
  5350 | }
> 5351 | const sizentikeiObj1 = new VectorTileLayer(new Sizentikei('sizentikei3',1,13,"https://maps.gsi.go.jp/xyz/experimental_landformclassification3/{z}/{x}/{y}.geojson",1001))
       |       ^
  5352 | // const sizentikeiObj1 = new VectorTileLayer(new Sizentikei('sizentikei3',1,18,"https://maps.gsi.go.jp/xyz/experimental_landformclassification1/{z}/{x}/{y}.geojson",1001))
  5353 | const sizentikeiObj2 = new VectorTileLayer(new Sizentikei('sizentikei4',1,16,"https://maps.gsi.go.jp/xyz/experimental_landformclassification1/{z}/{x}/{y}.geojson",1002))
  5354 | export const sizentikeiObj = {}


error: 'sizentikeiObj2' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:5353:7:
  5351 | const sizentikeiObj1 = new VectorTileLayer(new Sizentikei('sizentikei3',1,13,"https://maps.gsi.go.jp/xyz/experimental_landformclassification3/{z}/{x}/{y}.geojson",1001))
  5352 | // const sizentikeiObj1 = new VectorTileLayer(new Sizentikei('sizentikei3',1,18,"https://maps.gsi.go.jp/xyz/experimental_landformclassification1/{z}/{x}/{y}.geojson",1001))
> 5353 | const sizentikeiObj2 = new VectorTileLayer(new Sizentikei('sizentikei4',1,16,"https://maps.gsi.go.jp/xyz/experimental_landformclassification1/{z}/{x}/{y}.geojson",1002))
       |       ^
  5354 | export const sizentikeiObj = {}
  5355 | for (let i of mapsStr) {
  5356 |   sizentikeiObj[i] = new LayerGroup({


error: 'zoom' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:5436:11:
  5434 | function zinkoutikeiStyleFunction() {
  5435 |     return function (feature, resolution) {
> 5436 |       var zoom = getZoom(resolution);
       |           ^
  5437 |       // console.log(zoom);
  5438 |       // console.log(resolution);
  5439 |       //if (resolution >= 9.56) return;//9.56


error: 'feature' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:6254:20:
  6252 | // ------------------------------------
  6253 | function okayamamaiFunction() {
> 6254 |   return function (feature, resolution) {
       |                    ^
  6255 |     const style = new Style({
  6256 |       fill: new Fill({
  6257 |         color: 'green'


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:6254:29:
  6252 | // ------------------------------------
  6253 | function okayamamaiFunction() {
> 6254 |   return function (feature, resolution) {
       |                             ^
  6255 |     const style = new Style({
  6256 |       fill: new Fill({
  6257 |         color: 'green'


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6292:9:
  6290 |       case "MultiLineString":
  6291 |       case "LineString":
> 6292 |         const lineStyle = new Style({
       |         ^
  6293 |           stroke: new Stroke({
  6294 |             color:"red",
  6295 |             width:1


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6302:9:
  6300 |       case "MultiPoint":
  6301 |       case "Point":
> 6302 |         const iconStyle = new Style({
       |         ^
  6303 |           image: new Icon({
  6304 |             anchor: [0.5, 1],
  6305 |             src: require('@/assets/icon/whitepin.png'),


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6310:9:
  6308 |           zIndex: 9
  6309 |         });
> 6310 |         const iconStyleLerge = new Style({
       |         ^
  6311 |           image: new Icon({
  6312 |             anchor: [0.5, 1],
  6313 |             src: require('@/assets/icon/whitepinlarge.png'),


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6318:9:
  6316 |           zIndex: 9
  6317 |         });
> 6318 |         const textStyle = new Style({
       |         ^
  6319 |           text: new Text({
  6320 |             font: "10px sans-serif",
  6321 |             text: prop[text],


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6336:11:
  6334 |       case "Polygon":
  6335 |       case "MultiPolygon":
> 6336 |           const fillStyle = new Style({
       |           ^
  6337 |             fill: new Fill({
  6338 |               color:"rgba(0,128,0,0.8)"
  6339 |             }),


error: 'feature' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:6369:20:
  6367 | }
  6368 | function tokyobunkazaiFunction() {
> 6369 |   return function (feature, resolution) {
       |                    ^
  6370 |     const style = new Style({
  6371 |       image: new Icon({
  6372 |         anchor: [0.5, 1],


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:6369:29:
  6367 | }
  6368 | function tokyobunkazaiFunction() {
> 6369 |   return function (feature, resolution) {
       |                             ^
  6370 |     const style = new Style({
  6371 |       image: new Icon({
  6372 |         anchor: [0.5, 1],


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6605:9:
  6603 |       case "MultiLineString":
  6604 |       case "LineString":
> 6605 |         const lineStyle = new Style({
       |         ^
  6606 |           stroke: new Stroke({
  6607 |             color:"red",
  6608 |             width:1


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6615:9:
  6613 |       case "MultiPoint":
  6614 |       case "Point":
> 6615 |         const iconStyle = new Style({
       |         ^
  6616 |           image: new Icon({
  6617 |             // src: require('@/assets/icon/whitepin.png'),
  6618 |             src: require('@/assets/icon/whitecircle.png'),


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6624:9:
  6622 |           zIndex: 9
  6623 |         });
> 6624 |         const iconStyleLerge = new Style({
       |         ^
  6625 |           image: new Icon({
  6626 |             // anchor: [0.5, 1],
  6627 |             src: require('@/assets/icon/whitecircle.png'),


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6633:9:
  6631 |           zIndex: 9
  6632 |         });
> 6633 |         const textStyle = new Style({
       |         ^
  6634 |           text: new Text({
  6635 |             font: "14px sans-serif",
  6636 |             text: prop[text],


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:6657:9:
  6655 |       case "Polygon":
  6656 |       case "MultiPolygon":
> 6657 |         const fillStyle = new Style({
       |         ^
  6658 |           fill: new Fill({
  6659 |             color:"rgba(0,128,0,0.8)"
  6660 |           }),


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:6853:29:
  6851 | const senkyokuColor = d3.scaleOrdinal(d3.schemeCategory10);
  6852 | function senkyokuStyleFunction() {
> 6853 |   return function (feature, resolution) {
       |                             ^
  6854 |     const prop = feature.getProperties();
  6855 |     const rgb = senkyokuColor(prop.ken)
  6856 |     const style = new Style({


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:7028:9:
  7026 |       case "MultiLineString":
  7027 |       case "LineString":
> 7028 |         const lineStyle = new Style({
       |         ^
  7029 |           stroke: new Stroke({
  7030 |             color:"red",
  7031 |             width:6


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:7038:9:
  7036 |       case "MultiPoint":
  7037 |       case "Point":
> 7038 |         const iconStyle = new Style({
       |         ^
  7039 |           image: new Icon({
  7040 |             anchor: [0.5, 1],
  7041 |             src: require('@/assets/icon/whitepin.png'),


error: 'iconStyle' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:7038:15:
  7036 |       case "MultiPoint":
  7037 |       case "Point":
> 7038 |         const iconStyle = new Style({
       |               ^
  7039 |           image: new Icon({
  7040 |             anchor: [0.5, 1],
  7041 |             src: require('@/assets/icon/whitepin.png'),


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:7046:9:
  7044 |           zIndex: 9
  7045 |         });
> 7046 |         const iconStyleLerge = new Style({
       |         ^
  7047 |           image: new Icon({
  7048 |             // anchor: [0.5, 1],
  7049 |             src: require('@/assets/icon/whitepinlarge.png'),


error: 'iconStyleLerge' is assigned a value but never used (no-unused-vars) at src/js/layers-mvt.js:7046:15:
  7044 |           zIndex: 9
  7045 |         });
> 7046 |         const iconStyleLerge = new Style({
       |               ^
  7047 |           image: new Icon({
  7048 |             // anchor: [0.5, 1],
  7049 |             src: require('@/assets/icon/whitepinlarge.png'),


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/layers-mvt.js:7054:9:
  7052 |           zIndex: 9
  7053 |         });
> 7054 |         const textStyle = new Style({
       |         ^
  7055 |           text: new Text({
  7056 |             font: "16px sans-serif",
  7057 |             text: prop[text],


error: 'feature' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:7594:20:
  7592 | }
  7593 | export function gokaidoStyleFunction() {
> 7594 |   return function (feature, resolution) {
       |                    ^
  7595 |     const styles = [];
  7596 |     const lineStyle = new Style({
  7597 |       stroke: new Stroke({


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:7594:29:
  7592 | }
  7593 | export function gokaidoStyleFunction() {
> 7594 |   return function (feature, resolution) {
       |                             ^
  7595 |     const styles = [];
  7596 |     const lineStyle = new Style({
  7597 |       stroke: new Stroke({


error: 'color' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:7626:25:
  7624 |   jinjyaObj[i] = new VectorLayer(new Jinjya())
  7625 | }
> 7626 | function jinjyaFunction(color) {
       |                         ^
  7627 |   return function (feature,resolution) {
  7628 |     const prop = feature.getProperties()
  7629 |     const zoom = getZoom(resolution)


error: 'feature' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:7748:20:
  7746 | }
  7747 | function wikiStileFunction() {
> 7748 |   return function (feature, resolution) {
       |                    ^
  7749 |     const styles = []
  7750 |     const imageStyle = new Style({
  7751 |       image: new Icon({


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:7748:29:
  7746 | }
  7747 | function wikiStileFunction() {
> 7748 |   return function (feature, resolution) {
       |                             ^
  7749 |     const styles = []
  7750 |     const imageStyle = new Style({
  7751 |       image: new Icon({


error: 'getFeatureStyle' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:7928:10:
  7926 |
  7927 | // Style function
> 7928 | function getFeatureStyle (feature) {
       |          ^
  7929 |   return function (feature, resolution) {
  7930 |     // const styles = []
  7931 |     // const imageStyle = new Style({


error: 'feature' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:7928:27:
  7926 |
  7927 | // Style function
> 7928 | function getFeatureStyle (feature) {
       |                           ^
  7929 |   return function (feature, resolution) {
  7930 |     // const styles = []
  7931 |     // const imageStyle = new Style({


error: 'feature' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:7929:20:
  7927 | // Style function
  7928 | function getFeatureStyle (feature) {
> 7929 |   return function (feature, resolution) {
       |                    ^
  7930 |     // const styles = []
  7931 |     // const imageStyle = new Style({
  7932 |     //   image: new Icon({


error: 'resolution' is defined but never used (no-unused-vars) at src/js/layers-mvt.js:7929:29:
  7927 | // Style function
  7928 | function getFeatureStyle (feature) {
> 7929 |   return function (feature, resolution) {
       |                             ^
  7930 |     // const styles = []
  7931 |     // const imageStyle = new Style({
  7932 |     //   image: new Icon({


58 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Elements in iteration expect to have 'v-bind:key' directives (vue/require-v-for-key) at src/components/dialog-info/Dialog-info-seamless.vue:5:7:
  3 |    <div id="group-name-div">
  4 |      地質で検索
> 5 |       <li v-for="item in groupName" :id="item.id">
    |       ^
  6 |         <input type="radio" :name="mapName"
  7 |                :id="mapName + item.name"
  8 |                v-model="choosed"


error: Elements in iteration expect to have 'v-bind:key' directives (vue/require-v-for-key) at src/components/dialog-info/Dialog-info-seamless.vue:15:6:
  13 |      <br>
  14 |      時代で検索
> 15 |      <li v-for="item in formationAge" :id="item.id">
     |      ^
  16 |        <input type="radio" :name="mapName"
  17 |               :id="mapName + item.ageName"
  18 |               :value="item.ageName"


error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-seamless.vue:45:7:
  43 |   methods: {
  44 |     radioClick(colorArr){
> 45 |       console.log(this.mapName)
     |       ^
  46 |       this.$store.commit('base/updateColorArr',{mapName:this.mapName,colorArr:colorArr});
  47 |       Layers.seamlessObj[this.mapName].getSource().changed()
  48 |     }


3 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Expected to return a value in "layer" computed property (vue/return-in-computed-property) at src/components/dialog-info/Dialog-info-paint.vue:28:11:
  26 |   },
  27 |   computed: {
> 28 |     layer () {
     |           ^
  29 |       console.log(this.item.component.name)
  30 |       switch (this.item.component.name) {
  31 |         case 'syogakkoR05':


error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-paint.vue:29:7:
  27 |   computed: {
  28 |     layer () {
> 29 |       console.log(this.item.component.name)
     |       ^
  30 |       switch (this.item.component.name) {
  31 |         case 'syogakkoR05':
  32 |           return LayersMvt.syougakkoukuR05MvtObj[this.mapName]


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:33:11:
  31 |         case 'syogakkoR05':
  32 |           return LayersMvt.syougakkoukuR05MvtObj[this.mapName]
> 33 |           break
     |           ^
  34 |         case 'syogakkoR03':
  35 |           return LayersMvt.syougakkoukuObj[this.mapName]
  36 |           break


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:36:11:
  34 |         case 'syogakkoR03':
  35 |           return LayersMvt.syougakkoukuObj[this.mapName]
> 36 |           break
     |           ^
  37 |         case 'tyugakkoR05':
  38 |           return LayersMvt.tyugakkokuR05MvtObj[this.mapName]
  39 |           break


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:39:11:
  37 |         case 'tyugakkoR05':
  38 |           return LayersMvt.tyugakkokuR05MvtObj[this.mapName]
> 39 |           break
     |           ^
  40 |         case 'tyugakkoR03':
  41 |           return LayersMvt.tyuugakkoukuObj[this.mapName]
  42 |           break


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:42:11:
  40 |         case 'tyugakkoR03':
  41 |           return LayersMvt.tyuugakkoukuObj[this.mapName]
> 42 |           break
     |           ^
  43 |       }
  44 |     },
  45 |     paintGetSet: {


error: Expected to return a value in "paintGetSet" computed property (vue/return-in-computed-property) at src/components/dialog-info/Dialog-info-paint.vue:46:10:
  44 |     },
  45 |     paintGetSet: {
> 46 |       get() {
     |          ^
  47 |           switch (this.item.component.name) {
  48 |             case 'syogakkoR05':
  49 |               return this.$store.state.info.paintCheckSyogakkoR05[this.mapName]


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:50:15:
  48 |             case 'syogakkoR05':
  49 |               return this.$store.state.info.paintCheckSyogakkoR05[this.mapName]
> 50 |               break
     |               ^
  51 |             case 'syogakkoR03':
  52 |               return this.$store.state.info.paintCheckSyogakkoR03[this.mapName]
  53 |               break


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:53:15:
  51 |             case 'syogakkoR03':
  52 |               return this.$store.state.info.paintCheckSyogakkoR03[this.mapName]
> 53 |               break
     |               ^
  54 |             case 'tyugakkoR05':
  55 |               return this.$store.state.info.paintCheckTyugakkoR05[this.mapName]
  56 |               break


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:56:15:
  54 |             case 'tyugakkoR05':
  55 |               return this.$store.state.info.paintCheckTyugakkoR05[this.mapName]
> 56 |               break
     |               ^
  57 |             case 'tyugakkoR03':
  58 |               return this.$store.state.info.paintCheckTyugakkoR03[this.mapName]
  59 |               break


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:59:15:
  57 |             case 'tyugakkoR03':
  58 |               return this.$store.state.info.paintCheckTyugakkoR03[this.mapName]
> 59 |               break
     |               ^
  60 |           }
  61 |       },
  62 |       set(value) {


error: Expected to return a value in "textGetSet" computed property (vue/return-in-computed-property) at src/components/dialog-info/Dialog-info-paint.vue:89:10:
  87 |     },
  88 |     textGetSet: {
> 89 |       get() {
     |          ^
  90 |         switch (this.item.component.name) {
  91 |           case 'syogakkoR05':
  92 |             return this.$store.state.info.textCheckSyogakkoR05[this.mapName]


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:93:13:
  91 |           case 'syogakkoR05':
  92 |             return this.$store.state.info.textCheckSyogakkoR05[this.mapName]
> 93 |             break
     |             ^
  94 |           case 'syogakkoR03':
  95 |             return this.$store.state.info.textCheckSyogakkoR03[this.mapName]
  96 |             break


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:96:13:
  94 |           case 'syogakkoR03':
  95 |             return this.$store.state.info.textCheckSyogakkoR03[this.mapName]
> 96 |             break
     |             ^
  97 |           case 'tyugakkoR05':
  98 |             return this.$store.state.info.textCheckTyugakkoR05[this.mapName]
  99 |             break


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:99:13:
   97 |           case 'tyugakkoR05':
   98 |             return this.$store.state.info.textCheckTyugakkoR05[this.mapName]
>  99 |             break
      |             ^
  100 |           case 'tyugakkoR03':
  101 |             return this.$store.state.info.textCheckTyugakkoR03[this.mapName]
  102 |             break


error: Unreachable code (no-unreachable) at src/components/dialog-info/Dialog-info-paint.vue:102:13:
  100 |           case 'tyugakkoR03':
  101 |             return this.$store.state.info.textCheckTyugakkoR03[this.mapName]
> 102 |             break
      |             ^
  103 |         }
  104 |       },
  105 |       set(value) {


error: 'value' is defined but never used (no-unused-vars) at src/components/dialog-info/Dialog-info-paint.vue:133:17:
  131 |   },
  132 |   methods: {
> 133 |     textChange (value) {
      |                 ^
  134 |       this.layer.getSource().changed()
  135 |       this.storeUpdate()
  136 |     },


error: 'value' is defined but never used (no-unused-vars) at src/components/dialog-info/Dialog-info-paint.vue:137:18:
  135 |       this.storeUpdate()
  136 |     },
> 137 |     paintChange (value) {
      |                  ^
  138 |       this.layer.getSource().changed()
  139 |       this.storeUpdate()
  140 |     },


18 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Expected to return a value in method 'get' (getter-return) at src/js/inobounce.js:14:12:
  12 |   try {
  13 |     var opts = Object.defineProperty({}, 'passive', {
> 14 |       get: function () {
     |            ^
  15 |         supportsPassiveOption = true;
  16 |       }
  17 |     });


error: Empty block statement (no-empty) at src/js/inobounce.js:19:15:
  17 |     });
  18 |     window.addEventListener('test', null, opts);
> 19 |   } catch (e) {
     |               ^
  20 |   }
  21 |
  22 |   var handleTouchmove = function (evt) {


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: The "chrome-picker" component has been registered but not used (vue/no-unused-components) at src/components/dialog-info/Dialog-info-flood.vue:34:7:
  32 |     props: ['mapName', 'item'],
  33 |     components: {
> 34 |       'chrome-picker': Chrome
     |       ^
  35 |     },
  36 |     data () {
  37 |       return {


error: 'value' is defined but never used (no-unused-vars) at src/components/dialog-info/Dialog-info-flood.vue:98:20:
   96 |         }
   97 |       },
>  98 |       landChangge (value) {
      |                    ^
   99 |         console.log(this.s_land)
  100 |         Layers.flood10Obj[this.mapName].getSource().changed();
  101 |         this.storeUpdate('10m')


error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-flood.vue:99:9:
   97 |       },
   98 |       landChangge (value) {
>  99 |         console.log(this.s_land)
      |         ^
  100 |         Layers.flood10Obj[this.mapName].getSource().changed();
  101 |         this.storeUpdate('10m')
  102 |       },


3 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/App.vue:160:11:
  158 |         },
  159 |         set(value) {
> 160 |           console.log(value)
      |           ^
  161 |           this.$store.commit('base/updateHight',{mapName: 'map01', value: value})
  162 |           const ol3d = this.$store.state.base.ol3d['map01']
  163 |           const scene = ol3d.getCesiumScene()


error: 'Cesium' is not defined (no-undef) at src/components/App.vue:164:39:
  162 |           const ol3d = this.$store.state.base.ol3d['map01']
  163 |           const scene = ol3d.getCesiumScene()
> 164 |           const terrainProvider = new Cesium.PngElevationTileTerrainProvider( {
      |                                       ^
  165 |             url: 'https://gsj-seamless.jp/labs/elev2/elev/{z}/{y}/{x}.png?prj=latlng&size=257',
  166 |             tilingScheme: new Cesium.GeographicTilingScheme(),
  167 |             credit: '',


error: 'Cesium' is not defined (no-undef) at src/components/App.vue:166:31:
  164 |           const terrainProvider = new Cesium.PngElevationTileTerrainProvider( {
  165 |             url: 'https://gsj-seamless.jp/labs/elev2/elev/{z}/{y}/{x}.png?prj=latlng&size=257',
> 166 |             tilingScheme: new Cesium.GeographicTilingScheme(),
      |                               ^
  167 |             credit: '',
  168 |             heightScale: Number(value),
  169 |           })


error: 'oldValue' is defined but never used (no-unused-vars) at src/components/App.vue:185:30:
  183 |     },
  184 |     watch: {
> 185 |       s_dialogShow(newValue, oldValue) {
      |                              ^
  186 |         if (newValue) {
  187 |           this.$modal.show('modal1');
  188 |           store.commit('base/updateDialogShow',false);


error: 'Cesium' is not defined (no-undef) at src/components/App.vue:345:39:
  343 |           const ol3d = this.$store.state.base.ol3d[mapName]
  344 |           const scene = ol3d.getCesiumScene()
> 345 |           const terrainProvider = new Cesium.PngElevationTileTerrainProvider( {
      |                                       ^
  346 |             url: 'https://gsj-seamless.jp/labs/elev2/elev/{z}/{y}/{x}.png?prj=latlng&size=257',
  347 |             tilingScheme: new Cesium.GeographicTilingScheme(),
  348 |             credit: '',


error: 'Cesium' is not defined (no-undef) at src/components/App.vue:347:31:
  345 |           const terrainProvider = new Cesium.PngElevationTileTerrainProvider( {
  346 |             url: 'https://gsj-seamless.jp/labs/elev2/elev/{z}/{y}/{x}.png?prj=latlng&size=257',
> 347 |             tilingScheme: new Cesium.GeographicTilingScheme(),
      |                               ^
  348 |             credit: '',
  349 |             heightScale: this.$store.state.base.hight[mapName],
  350 |             // heightMapWidth: 32,


error: Unexpected console statement (no-console) at src/components/App.vue:431:13:
  429 |             let cityName = e.target.getAttribute("cityName")
  430 |             const prefCode = e.target.getAttribute("citycode").slice(0,2)
> 431 |             console.log(cityCode)
      |             ^
  432 |             console.log(cityName)
  433 |             console.log(prefCode)
  434 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')


error: Unexpected console statement (no-console) at src/components/App.vue:432:13:
  430 |             const prefCode = e.target.getAttribute("citycode").slice(0,2)
  431 |             console.log(cityCode)
> 432 |             console.log(cityName)
      |             ^
  433 |             console.log(prefCode)
  434 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')
  435 |             vm.$store.state.base.cityName = cityName


error: Unexpected console statement (no-console) at src/components/App.vue:433:13:
  431 |             console.log(cityCode)
  432 |             console.log(cityName)
> 433 |             console.log(prefCode)
      |             ^
  434 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')
  435 |             vm.$store.state.base.cityName = cityName
  436 |             console.log(cityName)


error: Unexpected console statement (no-console) at src/components/App.vue:436:13:
  434 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')
  435 |             vm.$store.state.base.cityName = cityName
> 436 |             console.log(cityName)
      |             ^
  437 |             vm.$store.state.base.cityCode[mapName] = cityName
  438 |             const yearRights = ['1980','1985','1990','1995','2000', '2005', '2010','2015','2020','2025','2030','2035','2040','2045']
  439 |             async function created() {


error: Move function declaration to function body root (no-inner-declarations) at src/components/App.vue:439:13:
  437 |             vm.$store.state.base.cityCode[mapName] = cityName
  438 |             const yearRights = ['1980','1985','1990','1995','2000', '2005', '2010','2015','2020','2025','2030','2035','2040','2045']
> 439 |             async function created() {
      |             ^
  440 |               const fetchData = yearRights.map((yearRight) => {
  441 |                 return axios
  442 |                     .get(resasUrl +'population/composition/pyramid',{


error: Unexpected console statement (no-console) at src/components/App.vue:457:21:
  455 |                   .then((response) => {
  456 |                     // d3Create (response)
> 457 |                     console.log(response)
      |                     ^
  458 |                     vm.$store.state.base.resasDataset = response
  459 |                     dialogOpen()
  460 |                     d3.select('#' + mapName + ' .loadingImg').style("display","none")


error: 'response' is defined but never used (no-unused-vars) at src/components/App.vue:462:36:
  460 |                     d3.select('#' + mapName + ' .loadingImg').style("display","none")
  461 |                   })
> 462 |                   .catch(function (response) {
      |                                    ^
  463 |                     alert('データが存在しないか又はリクエストが多くて制限がかかっています。')
  464 |                   })
  465 |             }


error: Move function declaration to function body root (no-inner-declarations) at src/components/App.vue:469:13:
  467 |             //----------------------------------------------------------------
  468 |
> 469 |             function dialogOpen() {
      |             ^
  470 |               vm.$store.commit('base/incrDialog2Id');
  471 |               vm.$store.commit('base/incrDialogMaxZindex');
  472 |               let width


error: Unexpected console statement (no-console) at src/components/App.vue:512:13:
  510 |             let cityName = e.target.getAttribute("cityName")
  511 |             const prefCode = e.target.getAttribute("citycode").slice(0,2)
> 512 |             console.log(cityCode)
      |             ^
  513 |             console.log(cityName)
  514 |             console.log(prefCode)
  515 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')


error: Unexpected console statement (no-console) at src/components/App.vue:513:13:
  511 |             const prefCode = e.target.getAttribute("citycode").slice(0,2)
  512 |             console.log(cityCode)
> 513 |             console.log(cityName)
      |             ^
  514 |             console.log(prefCode)
  515 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')
  516 |             console.log(cityName)


error: Unexpected console statement (no-console) at src/components/App.vue:514:13:
  512 |             console.log(cityCode)
  513 |             console.log(cityName)
> 514 |             console.log(prefCode)
      |             ^
  515 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')
  516 |             console.log(cityName)
  517 |             vm.$store.state.base.cityName = cityName


error: Unexpected console statement (no-console) at src/components/App.vue:516:13:
  514 |             console.log(prefCode)
  515 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')
> 516 |             console.log(cityName)
      |             ^
  517 |             vm.$store.state.base.cityName = cityName
  518 |             const yearRights = ['1980','1985','1990','1995','2000', '2005', '2010','2015','2020','2025','2030','2035','2040','2045']
  519 |             async function created() {


error: Move function declaration to function body root (no-inner-declarations) at src/components/App.vue:519:13:
  517 |             vm.$store.state.base.cityName = cityName
  518 |             const yearRights = ['1980','1985','1990','1995','2000', '2005', '2010','2015','2020','2025','2030','2035','2040','2045']
> 519 |             async function created() {
      |             ^
  520 |               const fetchData = yearRights.map((yearRight) => {
  521 |                 return axios
  522 |                     .get(resasUrl +'population/composition/pyramid',{


error: Unexpected console statement (no-console) at src/components/App.vue:537:21:
  535 |                   .then((response) => {
  536 |                     // d3Create (response)
> 537 |                     console.log(response)
      |                     ^
  538 |                     vm.$store.state.base.resasDataset = response
  539 |                     dialogOpen()
  540 |                     d3.select('#' + mapName + ' .loadingImg').style("display","none")


error: 'response' is defined but never used (no-unused-vars) at src/components/App.vue:542:36:
  540 |                     d3.select('#' + mapName + ' .loadingImg').style("display","none")
  541 |                   })
> 542 |                   .catch(function (response) {
      |                                    ^
  543 |                     alert('データが存在しないか又はリクエストが多くて制限がかかっています。')
  544 |                   })
  545 |             }


error: Move function declaration to function body root (no-inner-declarations) at src/components/App.vue:549:13:
  547 |             //----------------------------------------------------------------
  548 |
> 549 |             function dialogOpen() {
      |             ^
  550 |               vm.$store.commit('base/incrDialog2Id');
  551 |               vm.$store.commit('base/incrDialogMaxZindex');
  552 |               let width


error: Unexpected console statement (no-console) at src/components/App.vue:598:20:
  596 |                 }).then(function (response) {
  597 |                    d3.select('#' + mapName + ' .loadingImg').style("display","none")
> 598 |                    console.log(response.data)
      |                    ^
  599 |                    const dataMan = []
  600 |                    const dataWoman = []
  601 |                    const dataSousu = []


error: Unexpected console statement (no-console) at src/components/App.vue:657:20:
  655 |                      return Object.assign(v, dataWoman[i]);
  656 |                    })
> 657 |                    console.log(dataSousu)
      |                    ^
  658 |                    const sousu = dataSousu[0]['総数']
  659 |                    const over65 = dataSousu[1].over65
  660 |                    const heikinnenrei = dataSousu[2]['平均年齢'].toFixed(2) + '歳'


error: Unexpected console statement (no-console) at src/components/App.vue:938:13:
  936 |               return
  937 |             }
> 938 |             console.log(response.data)
      |             ^
  939 |             const dataSet = []
  940 |             const dataSousu = []
  941 |             response.data.forEach((v) => {


error: Unexpected console statement (no-console) at src/components/App.vue:1138:13:
  1136 |               return
  1137 |             }
> 1138 |             console.log(response.data)
       |             ^
  1139 |             const dataSet = []
  1140 |             const dataSousu = []
  1141 |             response.data.forEach((v) => {


error: Move function declaration to function body root (no-inner-declarations) at src/components/App.vue:1203:13:
  1201 |         olPopup.addEventListener('click', (e) => {
  1202 |           if (e.target && e.target.classList.contains("jinkosuii3") ) {
> 1203 |             async function sample() {
       |             ^
  1204 |               const arr = []
  1205 |               const a2005 = await h27jinkosuii(e,mapName,2005)
  1206 |               arr.push(a2005)


error: Unexpected console statement (no-console) at src/components/App.vue:1232:15:
  1230 |               })
  1231 |               vm.$store.state.base.jinkosuiiDatasetEstat['datasetSeisan'] = seisan
> 1232 |               console.log(seisan)
       |               ^
  1233 |
  1234 |               vm.$store.commit('base/incrDialog2Id');
  1235 |               vm.$store.commit('base/incrDialogMaxZindex');


error: Unexpected console statement (no-console) at src/components/App.vue:1281:13:
  1279 |             let cityName = e.target.getAttribute("cityName")
  1280 |             const prefCode = e.target.getAttribute("citycode").slice(0,2)
> 1281 |             console.log(cityCode)
       |             ^
  1282 |             console.log(cityName)
  1283 |             console.log(prefCode)
  1284 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')


error: Unexpected console statement (no-console) at src/components/App.vue:1282:13:
  1280 |             const prefCode = e.target.getAttribute("citycode").slice(0,2)
  1281 |             console.log(cityCode)
> 1282 |             console.log(cityName)
       |             ^
  1283 |             console.log(prefCode)
  1284 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')
  1285 |             console.log(cityName)


error: Unexpected console statement (no-console) at src/components/App.vue:1283:13:
  1281 |             console.log(cityCode)
  1282 |             console.log(cityName)
> 1283 |             console.log(prefCode)
       |             ^
  1284 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')
  1285 |             console.log(cityName)
  1286 |             vm.$store.state.base.cityName = cityName


error: Unexpected console statement (no-console) at src/components/App.vue:1285:13:
  1283 |             console.log(prefCode)
  1284 |             cityName = cityName.replace('役所','').replace('役場','').replace('庁','')
> 1285 |             console.log(cityName)
       |             ^
  1286 |             vm.$store.state.base.cityName = cityName
  1287 |             const yearRights = ['dummy']
  1288 |             async function created() {


error: Move function declaration to function body root (no-inner-declarations) at src/components/App.vue:1288:13:
  1286 |             vm.$store.state.base.cityName = cityName
  1287 |             const yearRights = ['dummy']
> 1288 |             async function created() {
       |             ^
  1289 |               const fetchData = yearRights.map((yearRight) => {
  1290 |                 return axios
  1291 |                     .get(resasUrl +'population/composition/perYear',{


error: 'yearRight' is defined but never used (no-unused-vars) at src/components/App.vue:1289:49:
  1287 |             const yearRights = ['dummy']
  1288 |             async function created() {
> 1289 |               const fetchData = yearRights.map((yearRight) => {
       |                                                 ^
  1290 |                 return axios
  1291 |                     .get(resasUrl +'population/composition/perYear',{
  1292 |                       headers:{'X-API-KEY':resasApiKey},


error: Unexpected console statement (no-console) at src/components/App.vue:1304:21:
  1302 |                   .then((response) => {
  1303 |                     // d3Create (response)
> 1304 |                     console.log(response[0].data.result.data)
       |                     ^
  1305 |                     vm.$store.state.base.jinkosuiiDataset = response
  1306 |                     dialogOpen()
  1307 |                     d3.select('#' + mapName + ' .loadingImg').style("display","none")


error: 'response' is defined but never used (no-unused-vars) at src/components/App.vue:1309:36:
  1307 |                     d3.select('#' + mapName + ' .loadingImg').style("display","none")
  1308 |                   })
> 1309 |                   .catch(function (response) {
       |                                    ^
  1310 |                     alert('データが存在しないか又はリクエストが多くて制限がかかっています。')
  1311 |                   })
  1312 |             }


error: Move function declaration to function body root (no-inner-declarations) at src/components/App.vue:1316:13:
  1314 |             //----------------------------------------------------------------
  1315 |
> 1316 |             function dialogOpen() {
       |             ^
  1317 |               vm.$store.commit('base/incrDialog2Id');
  1318 |               vm.$store.commit('base/incrDialogMaxZindex');
  1319 |               let width


37 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/Dialog-jinkosuii.vue:59:7:
  57 |
  58 |
> 59 |       console.log(datasetAll)
     |       ^
  60 |       console.log(datasetNensyo)
  61 |       console.log(datasetRonen)
  62 |


error: Unexpected console statement (no-console) at src/components/Dialog-jinkosuii.vue:60:7:
  58 |
  59 |       console.log(datasetAll)
> 60 |       console.log(datasetNensyo)
     |       ^
  61 |       console.log(datasetRonen)
  62 |
  63 |


error: Unexpected console statement (no-console) at src/components/Dialog-jinkosuii.vue:61:7:
  59 |       console.log(datasetAll)
  60 |       console.log(datasetNensyo)
> 61 |       console.log(datasetRonen)
     |       ^
  62 |
  63 |
  64 |       const dialog2DragHandle = document.querySelector('#dialog2-' + vm.item.id + ' .drag-handle')


error: 'd' is defined but never used (no-unused-vars) at src/components/Dialog-jinkosuii.vue:173:36:
  171 |                 .style("left", (event.pageX + 10) + "px");
  172 |           })
> 173 |           .on("mouseout", function(d) {
      |                                    ^
  174 |             tooltip.style("visibility", "hidden");
  175 |           })
  176 |           .attr("x", function(d) { return xScale(d.year); })


4 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/Dialog-layer.vue:52:9:
  50 |         const secondContentHeight = (window.innerHeight - 410) + 'px';
  51 |         const secondContentHeight2 = ((window.innerHeight / 2) - 220) + 'px';
> 52 |         console.log(this.s_splitFlg)
     |         ^
  53 |         switch (this.s_splitFlg) {
  54 |           // 1画面
  55 |           case 1:


1 error found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:107:9:
  105 |         });
  106 |         const geojsonT = JSON.stringify(JSON.parse(drawSourceGeojson),null,1);
> 107 |         console.log(geojsonT)
      |         ^
  108 |         const type = "text/plain";
  109 |         const blob = new Blob([geojsonT], {type: type});
  110 |         const a = document.getElementById('download');


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:147:9:
  145 |         let url = window.location.href.split("#")[0];
  146 |         // url = url + "?"
> 147 |         console.log(url)
      |         ^
  148 |         history.pushState(null, null,url);
  149 |         window.location.reload(true);
  150 |       },


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:167:15:
  165 |             })
  166 |             .then(function (response) {
> 167 |               console.log(response)
      |               ^
  168 |               let host
  169 |               if (window.location.host.indexOf('localhost') !== -1) {
  170 |                 host = 'http://localhost:8080/#s'


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:178:15:
  176 |             })
  177 |             .catch(function (error) {
> 178 |               console.log(error);
      |               ^
  179 |             })
  180 |             .finally(function () {
  181 |             });


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:205:13:
  203 |             };
  204 |             const res = await axios.post(url, params, options);
> 205 |             console.log(res.data.link);
      |             ^
  206 |             vm.shortUrlTextBitly = res.data.link
  207 |           } catch (error) {
  208 |             console.log(error.response.body);


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:208:13:
  206 |             vm.shortUrlTextBitly = res.data.link
  207 |           } catch (error) {
> 208 |             console.log(error.response.body);
      |             ^
  209 |           }
  210 |         })();
  211 |       },


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:222:11:
  220 |         targetsMap.forEach(target => {
  221 |           targetArr.push(target)
> 222 |           console.log(target)
      |           ^
  223 |           map.removeControl(target)
  224 |         })
  225 |


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:264:11:
  262 |       }, function () {
  263 |         if (this.toggleIdou) {
> 264 |           console.log('on')
      |           ^
  265 |           this.toggleLine = false
  266 |           this.toggleMenseki = false
  267 |           this.toggleCircle = false


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:277:11:
  275 |           this.$store.state.base.maps['map01'].addInteraction(MyMap.modifyInteraction)
  276 |         } else {
> 277 |           console.log('off')
      |           ^
  278 |           this.$store.state.base.maps['map01'].removeInteraction(MyMap.transformInteraction)
  279 |         }
  280 |       })


error: 'e' is defined but never used (no-unused-vars) at src/components/Dialog-menu.vue:289:58:
  287 |           this.toggleCircle = false
  288 |           this.$store.state.base.maps['map01'].addInteraction(MyMap.selectInteraction)
> 289 |           MyMap.selectInteraction.on('select', function (e) {
      |                                                          ^
  290 |             const selectCollection = MyMap.selectInteraction.getFeatures();
  291 |             MyMap.drawLayer.getSource().removeFeature(selectCollection.item(0))
  292 |             //     e.target.getFeatures().getLength() +


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:298:11:
  296 |           this.$store.state.base.maps['map01'].removeInteraction(MyMap.circleInteraction)
  297 |         } else {
> 298 |           console.log('off')
      |           ^
  299 |           this.$store.state.base.maps['map01'].removeInteraction(MyMap.selectInteraction)
  300 |         }
  301 |       })


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:316:11:
  314 |           this.$store.state.base.drawType = 'circle'
  315 |         } else {
> 316 |           console.log('off')
      |           ^
  317 |           // MyMap.drawLayer.getSource().clear()
  318 |           this.$store.state.base.maps['map01'].removeInteraction(MyMap.circleInteraction)
  319 |         }


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:325:11:
  323 |       }, function () {
  324 |         if (this.toggleMenseki) {
> 325 |           console.log(this.toggleMenseki)
      |           ^
  326 |           this.toggleLine = false
  327 |           this.toggleCircle = false
  328 |           this.toggleDelete = false


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:337:11:
  335 |
  336 |         } else {
> 337 |           console.log('off')
      |           ^
  338 |           // MyMap.drawLayer.getSource().clear()
  339 |           this.$store.state.base.maps['map01'].removeInteraction(MyMap.polygonInteraction)
  340 |         }


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:348:11:
  346 |           // this.$store.state.base.maps['map01'].removeLayer(MyMap.drawLayer)
  347 |           // this.$store.state.base.maps['map01'].addLayer(MyMap.drawLayer)
> 348 |           console.log('on')
      |           ^
  349 |           this.toggleMenseki = false
  350 |           this.toggleCircle = false
  351 |           this.toggleDelete = false


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:360:11:
  358 |
  359 |         } else {
> 360 |           console.log('off')
      |           ^
  361 |           // MyMap.drawLayer.getSource().clear()
  362 |           this.$store.state.base.maps['map01'].removeInteraction(MyMap.danmenInteraction)
  363 |         }


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:371:11:
  369 |           // this.$store.state.base.maps['map01'].removeLayer(MyMap.drawLayer)
  370 |           // this.$store.state.base.maps['map01'].addLayer(MyMap.drawLayer)
> 371 |           console.log('on')
      |           ^
  372 |           this.toggleMenseki = false
  373 |           this.toggleCircle = false
  374 |           this.toggleDelete = false


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:383:11:
  381 |
  382 |         } else {
> 383 |           console.log('off')
      |           ^
  384 |           // MyMap.drawLayer.getSource().clear()
  385 |           this.$store.state.base.maps['map01'].removeInteraction(MyMap.lineInteraction)
  386 |         }


error: 'mapsStr' is assigned a value but never used (no-unused-vars) at src/components/Dialog-menu.vue:391:15:
  389 |         return [this.toggleCenter]
  390 |       }, function () {
> 391 |         const mapsStr = ['map01','map02','map03','map04']
      |               ^
  392 |         // const map = this.$store.state.base.maps['map04']
  393 |         MyMap.history ('中心十字onoff')
  394 |         const target = document.querySelector(".center-target");


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:396:11:
  394 |         const target = document.querySelector(".center-target");
  395 |         if (this.toggleCenter) {
> 396 |           console.log('on')
      |           ^
  397 |           target.style.display = 'block';
  398 |           // mapsStr.forEach(value => {
  399 |           //   const map = this.$store.state.base.maps[value]


error: Unexpected console statement (no-console) at src/components/Dialog-menu.vue:405:11:
  403 |           // })
  404 |         } else {
> 405 |           console.log('off')
      |           ^
  406 |           target.style.display = 'none';
  407 |
  408 |           // mapsStr.forEach(value => {


21 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/Dialog-pyramid.vue:55:5:
  53 |   mounted () {
  54 |     const vm = this
> 55 |     console.log(this.id)
     |     ^
  56 |     resasD3()
  57 |     function resasD3 () {
  58 |       const elements = document.querySelectorAll('.v-dialog2-div')


error: Unexpected console statement (no-console) at src/components/Dialog-pyramid.vue:121:7:
  119 |       // created()
  120 |       // //----------------------------------------------------------------
> 121 |       console.log(vm.$store.state.base.resasDataset)
      |       ^
  122 |       d3Create(vm.$store.state.base.resasDataset)
  123 |       function d3Create (response) {
  124 |         console.log(response[0].data.result.yearRight.data)


error: Unexpected console statement (no-console) at src/components/Dialog-pyramid.vue:124:9:
  122 |       d3Create(vm.$store.state.base.resasDataset)
  123 |       function d3Create (response) {
> 124 |         console.log(response[0].data.result.yearRight.data)
      |         ^
  125 |         const cityName = vm.$store.state.base.cityName
  126 |         const dialog2DragHandle = document.querySelector('#dialog2-' + vm.item.id + ' .drag-handle')
  127 |         dialog2DragHandle.innerHTML = cityName


error: 'd' is defined but never used (no-unused-vars) at src/components/Dialog-pyramid.vue:206:38:
  204 |                   .style("left", (event.pageX + 10) + "px");
  205 |             })
> 206 |             .on("mouseout", function(d) {
      |                                      ^
  207 |               tooltip.style("visibility", "hidden");
  208 |             })
  209 |             .attr("y", function(d) { return y(d.class); })


error: 'd' is defined but never used (no-unused-vars) at src/components/Dialog-pyramid.vue:235:38:
  233 |                   .style("left", (event.pageX + 10) + "px");
  234 |             })
> 235 |             .on("mouseout", function(d) {
      |                                      ^
  236 |               tooltip.style("visibility", "hidden");
  237 |             })
  238 |             .attr("y", function(d) { return y(d.class); })


error: 'd' is defined but never used (no-unused-vars) at src/components/Dialog-pyramid.vue:243:33:
  241 |             .attr("fill", "steelblue")
  242 |             .attr("width", 0)
> 243 |             .attr("x", function(d) {
      |                                 ^
  244 |               return width/2 -30;
  245 |             })
  246 |             // .attr("x", function(d) {return x2(d.man)/;})


error: Unexpected console statement (no-console) at src/components/Dialog-pyramid.vue:322:19:
  320 |                       })
  321 |                   count++
> 322 |                   console.log(9999)
      |                   ^
  323 |                   setTimeout(function(){renzoku()},500);
  324 |                 } else {
  325 |                   clearTimeout(renzoku)


7 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/Layer.vue:92:9:
  90 |       infoOpen (e,item) {
  91 |         // const dialogEl = $(e.currentTarget).parents('.dialog-div')[0];
> 92 |         console.log(e.currentTarget.parentNode)
     |         ^
  93 |         console.log(this.mapName)
  94 |         const dialogEl = document.querySelector('#' + this.mapName + " .dialog-div")
  95 |         const top = dialogEl.offsetTop + 'px';


error: Unexpected console statement (no-console) at src/components/Layer.vue:93:9:
  91 |         // const dialogEl = $(e.currentTarget).parents('.dialog-div')[0];
  92 |         console.log(e.currentTarget.parentNode)
> 93 |         console.log(this.mapName)
     |         ^
  94 |         const dialogEl = document.querySelector('#' + this.mapName + " .dialog-div")
  95 |         const top = dialogEl.offsetTop + 'px';
  96 |         const left = (dialogEl.offsetLeft + dialogEl.offsetWidth + 5) + 'px';


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/LayerList.vue:36:11:
  34 |       onNodeSelected: function (node) {
  35 |         if (node.children.length === 0) {
> 36 |           console.log(node.data)
     |           ^
  37 |           const layerList = this.$store.getters['base/layerList'](this.mapName)
  38 |           // リストをクリックしたときに既にlayerListに存在する時は削除する
  39 |           const deleteLayer = layerList.find(value => {


1 error found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-dokuji.vue:43:7:
  41 |     // },
  42 |     onInput: function() {
> 43 |       console.log(this.s_dokujiUrl)
     |       ^
  44 |       const map = store.state.base.maps[this.mapName];
  45 |       const result = this.s_layerList.find((el) => el.id === 'dokuji');
  46 |       console.log(result.layer.getSource())


error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-dokuji.vue:46:7:
  44 |       const map = store.state.base.maps[this.mapName];
  45 |       const result = this.s_layerList.find((el) => el.id === 'dokuji');
> 46 |       console.log(result.layer.getSource())
     |       ^
  47 |       result.layer.getSource().setUrl(this.s_dokujiUrl)
  48 |       result.layer.getSource().changed()
  49 |       map.render();


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/dialog-info/Dialog-info-ssds.vue:189:5:
  187 |   },
  188 |   mounted ()  {
> 189 |     console.log(this.item.id)
      |     ^
  190 |     const vm = this
  191 |     const parentElement = document.querySelector('#ssds-div').parentElement;
  192 |     const dragHandle = parentElement.querySelector('.drag-handle')


error: 'vm' is assigned a value but never used (no-unused-vars) at src/components/dialog-info/Dialog-info-ssds.vue:190:11:
  188 |   mounted ()  {
  189 |     console.log(this.item.id)
> 190 |     const vm = this
      |           ^
  191 |     const parentElement = document.querySelector('#ssds-div').parentElement;
  192 |     const dragHandle = parentElement.querySelector('.drag-handle')
  193 |     dragHandle.innerHTML = this.item.title


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/js/permalink.js:100:11:
   98 |           const scene = ol3d.getCesiumScene()
   99 |           const json = JSON.parse(obj[key])
> 100 |           console.log(obj[key])
      |           ^
  101 |           console.log(json)
  102 |           const terrainProvider = new Cesium.PngElevationTileTerrainProvider( {
  103 |             url: 'https://gsj-seamless.jp/labs/elev2/elev/{z}/{y}/{x}.png?prj=latlng&size=257',


error: Unexpected console statement (no-console) at src/js/permalink.js:101:11:
   99 |           const json = JSON.parse(obj[key])
  100 |           console.log(obj[key])
> 101 |           console.log(json)
      |           ^
  102 |           const terrainProvider = new Cesium.PngElevationTileTerrainProvider( {
  103 |             url: 'https://gsj-seamless.jp/labs/elev2/elev/{z}/{y}/{x}.png?prj=latlng&size=257',
  104 |             // url: 'https://tiles.gsj.jp/tiles/elev/mixed/{z}/{y}/{x}.png',


error: 'Cesium' is not defined (no-undef) at src/js/permalink.js:102:39:
  100 |           console.log(obj[key])
  101 |           console.log(json)
> 102 |           const terrainProvider = new Cesium.PngElevationTileTerrainProvider( {
      |                                       ^
  103 |             url: 'https://gsj-seamless.jp/labs/elev2/elev/{z}/{y}/{x}.png?prj=latlng&size=257',
  104 |             // url: 'https://tiles.gsj.jp/tiles/elev/mixed/{z}/{y}/{x}.png',
  105 |             // url: 'https://gsj-seamless.jp/labs/elev2/elev/gsi10m_latlng_257/{z}/{y}/{x}.png',


error: 'Cesium' is not defined (no-undef) at src/js/permalink.js:106:31:
  104 |             // url: 'https://tiles.gsj.jp/tiles/elev/mixed/{z}/{y}/{x}.png',
  105 |             // url: 'https://gsj-seamless.jp/labs/elev2/elev/gsi10m_latlng_257/{z}/{y}/{x}.png',
> 106 |             tilingScheme: new Cesium.GeographicTilingScheme(),
      |                               ^
  107 |             credit: '',
  108 |             heightScale: json.hight,
  109 |             // heightScale: 0.01,


error: Unexpected console statement (no-console) at src/js/permalink.js:111:11:
  109 |             // heightScale: 0.01,
  110 |           })
> 111 |           console.log(json.hight)
      |           ^
  112 |           store.state.base.hight[map] = json.hight
  113 |           scene.terrainProvider = terrainProvider
  114 |           scene.terrainProvider.heightmapTerrainQuality = 0.5


error: Unexpected console statement (no-console) at src/js/permalink.js:161:15:
  159 |             const src = feature.properties.src
  160 |             if (feature.geometry.type === 'Point') {
> 161 |               console.log(feature.geometry.coordinates)
      |               ^
  162 |               const coordinates = transform(feature.geometry.coordinates, "EPSG:4326", "EPSG:3857")
  163 |               console.log(coordinates)
  164 |               const point = new Point(coordinates)


error: Unexpected console statement (no-console) at src/js/permalink.js:163:15:
  161 |               console.log(feature.geometry.coordinates)
  162 |               const coordinates = transform(feature.geometry.coordinates, "EPSG:4326", "EPSG:3857")
> 163 |               console.log(coordinates)
      |               ^
  164 |               const point = new Point(coordinates)
  165 |               const newFeature = new Feature(point)
  166 |               // newFeature['properties'] = 'aaa'


error: Unexpected console statement (no-console) at src/js/permalink.js:171:15:
  169 |               newFeature.setProperties({src: src})
  170 |
> 171 |               console.log(newFeature)
      |               ^
  172 |               MyMap.drawLayer2.getSource().addFeature(newFeature)
  173 |             }
  174 |           })


error: Unexpected console statement (no-console) at src/js/permalink.js:202:15:
  200 |               newFeature['properties'] = 'aaa'
  201 |               newFeature.setProperties({distance: distance})
> 202 |               console.log(newFeature)
      |               ^
  203 |               MyMap.drawLayer.getSource().addFeature(newFeature)
  204 |             } else if (feature.geometry.type === 'Polygon') {
  205 |               let coordinates = []


error: Unexpected console statement (no-console) at src/js/permalink.js:208:17:
  206 |               feature.geometry.coordinates[0].forEach((coord) => {
  207 |                 // coord = turf.toWgs84(coord)
> 208 |                 console.log(coord)
      |                 ^
  209 |                 coordinates.push(transform(coord, "EPSG:4326", "EPSG:3857"))
  210 |               })
  211 |               console.log(coordinates)


error: Unexpected console statement (no-console) at src/js/permalink.js:211:15:
  209 |                 coordinates.push(transform(coord, "EPSG:4326", "EPSG:3857"))
  210 |               })
> 211 |               console.log(coordinates)
      |               ^
  212 |               const polygon = new Polygon([coordinates])
  213 |               const newFeature = new Feature(polygon)
  214 |               newFeature['properties'] = 'aaaa'


error: Unexpected console statement (no-console) at src/js/permalink.js:319:27:
  317 |
  318 |                           }
> 319 |                           console.log(c.name)
      |                           ^
  320 |                         }
  321 |                       } else {
  322 |                         top = '60px'


error: Unexpected console statement (no-console) at src/js/permalink.js:355:27:
  353 |                       if (c){
  354 |                         for (let k=0; k<c.values.length;k++) {
> 355 |                           console.log(c.name,c.values[k])
      |                           ^
  356 |                           store.commit('info/update', {name: c.name, mapName: mapName, value: c.values[k], order: k})
  357 |                         }
  358 |                       }


error: Unexpected console statement (no-console) at src/js/permalink.js:455:11:
  453 |         })
  454 |         .catch(function (error) {
> 455 |           console.log(error);
      |           ^
  456 |         })
  457 |         .finally(function () {
  458 |         });


14 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/js/popup.js:47:7:
  45 |       const geometry = feature.getGeometry()
  46 |       const prop = feature.getProperties();
> 47 |       console.log(prop)
     |       ^
  48 |       let lonLat
  49 |       if (geoType === 'Polygon' || geoType === 'MultiPolygon' || geoType === 'LineString' || geoType === 'MultiLineString') {
  50 |         coordinate = evt.coordinate


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:377:11:
  375 |         case 'sizentikei':
  376 |         case 'zinkoutikei':
> 377 |           const codeList_sizen2 = new Array(//2次元配列 [図式コード,"地形分類名","成因など","リスク"]
      |           ^
  378 |               [999999,"地図を拡大すると表示されます。","",""],
  379 |               [100,"数値地図25000(土地条件)","地図を拡大すると表示されます。",""],
  380 |               [101,"数値地図25000(土地条件)","地図を拡大すると表示されます。",""],


error: 'i' is already defined (no-redeclare) at src/js/popup.js:493:19:
  491 |           var landFormName="",naritachi="",risk="";
  492 |           var list = codeList_sizen2;
> 493 |           for(var i=0;i<list.length;i++){
      |                   ^
  494 |             if(list[i][0]==code){//ズーム率によって数値型になったり文字型になったりしている模様
  495 |               landFormName = list[i][1];
  496 |               naritachi = list[i][2];


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:526:11:
  524 |         case 'hinanzyo05':
  525 |         case 'hinanzyo06':
> 526 |           let cont1 = ''
      |           ^
  527 |           const array = [
  528 |             {disaster:'disaster1', cont:'洪水 '},
  529 |             {disaster:'disaster2', cont: '崖崩れ、土石流及び地滑り '},


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:527:11:
  525 |         case 'hinanzyo06':
  526 |           let cont1 = ''
> 527 |           const array = [
      |           ^
  528 |             {disaster:'disaster1', cont:'洪水 '},
  529 |             {disaster:'disaster2', cont: '崖崩れ、土石流及び地滑り '},
  530 |             {disaster:'disaster3', cont:'高潮 '},


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:558:11:
  556 |           break
  557 |         case 'kansui':
> 558 |           const str = prop.description;
      |           ^
  559 |           const pattern = new RegExp( '(?<= href=).*?(?=target)' );
  560 |           console.log(str.match(pattern)[0])
  561 |           cont += '<div style=width:200px>' + prop.name + '<br>' +


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:559:11:
  557 |         case 'kansui':
  558 |           const str = prop.description;
> 559 |           const pattern = new RegExp( '(?<= href=).*?(?=target)' );
      |           ^
  560 |           console.log(str.match(pattern)[0])
  561 |           cont += '<div style=width:200px>' + prop.name + '<br>' +
  562 |               '<a href=' + str.match(pattern)[0] + ' target="_blank">箇所表</a>' +


error: Unexpected console statement (no-console) at src/js/popup.js:560:11:
  558 |           const str = prop.description;
  559 |           const pattern = new RegExp( '(?<= href=).*?(?=target)' );
> 560 |           console.log(str.match(pattern)[0])
      |           ^
  561 |           cont += '<div style=width:200px>' + prop.name + '<br>' +
  562 |               '<a href=' + str.match(pattern)[0] + ' target="_blank">箇所表</a>' +
  563 |               '</div><hr>'


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:605:11:
  603 |           break
  604 |         case 'eki':
> 605 |           let haishinenEki = ''
      |           ^
  606 |           if (prop.N05_005e !== '9999') {
  607 |             haishinenEki = '<span style="color:red;">変更・廃止年 = ' + (Number(prop.N05_005e) + 1) + '年</span>'
  608 |           }


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:675:11:
  673 |           break
  674 |         case 'kyusekki':
> 675 |           let html = ''
      |           ^
  676 |           const sekki = ['ナイフ形石器','台形(様)石器','斧形石器','剥片尖頭器','角錐状石器・三稜尖頭器','槍先形尖頭器',
  677 |             '両面調整石器','細石刃・細石核等','神子柴型石斧','有茎(舌)尖頭器','掻器・削器','彫器','砥石','叩石','台石',
  678 |             '礫器','その他の石器','草創期土器','ブロック・ユニット','礫群・配石','炭化物集中','その他の遺構','特記事項'


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:676:11:
  674 |         case 'kyusekki':
  675 |           let html = ''
> 676 |           const sekki = ['ナイフ形石器','台形(様)石器','斧形石器','剥片尖頭器','角錐状石器・三稜尖頭器','槍先形尖頭器',
      |           ^
  677 |             '両面調整石器','細石刃・細石核等','神子柴型石斧','有茎(舌)尖頭器','掻器・削器','彫器','砥石','叩石','台石',
  678 |             '礫器','その他の石器','草創期土器','ブロック・ユニット','礫群・配石','炭化物集中','その他の遺構','特記事項'
  679 |           ]


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:739:11:
  737 |         case 'hokkaidouTunami':
  738 |         case 'hokkaidouTunamiT':
> 739 |           let sinsui = ''
      |           ^
  740 |           if (prop.max) {
  741 |             cont += '<div style=width:200px;>' +
  742 |                 '浸水想定=' + prop.max + 'メートル' +


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:828:11:
  826 |           break
  827 |         case 'kasenline':
> 828 |           let syubetu
      |           ^
  829 |           switch (prop.W05_003) {
  830 |             case '1':
  831 |               syubetu = '1級直轄区間'


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:870:11:
  868 |         case 'qTunnel':
  869 |         case 'qBridge':
> 870 |           let syubetu2
      |           ^
  871 |           switch (layers[0].get('name')) {
  872 |             case 'qBridge':
  873 |               syubetu2 = '橋梁'


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:929:11:
  927 |           break
  928 |         case 'jinjya':
> 929 |           let description
      |           ^
  930 |           if (prop.description) {
  931 |             description = ru(prop.description).split('\t')
  932 |           } else {


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:935:11:
  933 |             description = ''
  934 |           }
> 935 |           let url = ru(description[3]).split('<br>')[0]
      |           ^
  936 |           let href
  937 |           console.log(ru(description[3]).split('<br>').length)
  938 |           if (ru(description[3]).split('<br>').length > 1) {


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:936:11:
  934 |           }
  935 |           let url = ru(description[3]).split('<br>')[0]
> 936 |           let href
      |           ^
  937 |           console.log(ru(description[3]).split('<br>').length)
  938 |           if (ru(description[3]).split('<br>').length > 1) {
  939 |             href='<a href="' + url + '" target="_blank">神社と古事記を開く</a><hr>'


error: Unexpected console statement (no-console) at src/js/popup.js:937:11:
  935 |           let url = ru(description[3]).split('<br>')[0]
  936 |           let href
> 937 |           console.log(ru(description[3]).split('<br>').length)
      |           ^
  938 |           if (ru(description[3]).split('<br>').length > 1) {
  939 |             href='<a href="' + url + '" target="_blank">神社と古事記を開く</a><hr>'
  940 |           } else  {


error: Unexpected console statement (no-console) at src/js/popup.js:974:11:
  972 |           break
  973 |         case 'shikuchoson':
> 974 |           console.log(map.values_.target)
      |           ^
  975 |           cont += '<div style=width:200px;>' +
  976 |               '<h4>' + prop.P34_003 + '</h4>' +
  977 |               '所在地=' + ru(prop.P34_004) + '<br>' +


error: Unexpected console statement (no-console) at src/js/popup.js:984:11:
  982 |           break
  983 |         case 'kencho':
> 984 |           console.log(map.values_.target)
      |           ^
  985 |           cont += '<div style=width:200px;>' +
  986 |               '<h4>' + prop.P28_005 + '</h4>' +
  987 |               '所在地=' + ru(prop.P28_006) + '<br>' +


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1012:11:
  1010 |         case 'drawLayer2':
  1011 |           width = 300
> 1012 |           let block = 'block'
       |           ^
  1013 |           if (prop.src) {
  1014 |             block = 'block'
  1015 |           } else {


error: Unexpected console statement (no-console) at src/js/popup.js:1025:11:
  1023 |           // if (!prop.name) cont += ''
  1024 |           store.state.base.editFeature = features[0]
> 1025 |           console.log(features[0].getProperties())
       |           ^
  1026 |           store.state.base.editFeatureName = features[0].getProperties().name
  1027 |           store.state.base.editFeatureSetumei = features[0].getProperties().setumei
  1028 |           store.state.base.editFeatureSrc = features[0].getProperties().src


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1037:11:
  1035 |         case 'mesh1km':
  1036 |           flg = true
> 1037 |           const ronenritu = (prop.ronen/prop.jinko*100).toFixed(2) + '%'
       |           ^
  1038 |           const seisanritu = (prop.seisan/prop.jinko*100).toFixed(2) + '%'
  1039 |           const nensyoritu = (prop.nensyo/prop.jinko*100).toFixed(2) + '%'
  1040 |           if (cont.indexOf('h4-1k') === -1) {


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1038:11:
  1036 |           flg = true
  1037 |           const ronenritu = (prop.ronen/prop.jinko*100).toFixed(2) + '%'
> 1038 |           const seisanritu = (prop.seisan/prop.jinko*100).toFixed(2) + '%'
       |           ^
  1039 |           const nensyoritu = (prop.nensyo/prop.jinko*100).toFixed(2) + '%'
  1040 |           if (cont.indexOf('h4-1k') === -1) {
  1041 |             cont += '<div style=width:220px;>' +


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1039:11:
  1037 |           const ronenritu = (prop.ronen/prop.jinko*100).toFixed(2) + '%'
  1038 |           const seisanritu = (prop.seisan/prop.jinko*100).toFixed(2) + '%'
> 1039 |           const nensyoritu = (prop.nensyo/prop.jinko*100).toFixed(2) + '%'
       |           ^
  1040 |           if (cont.indexOf('h4-1k') === -1) {
  1041 |             cont += '<div style=width:220px;>' +
  1042 |                 '<p class="p-1k">_</p>' +


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1061:11:
  1059 |         case 'mesh100':
  1060 |           flg = true
> 1061 |           const ronenritu100 = (prop.Pop65over/prop.PopT*100).toFixed(2) + '%'
       |           ^
  1062 |           const seisanritu100 = (prop.Pop15_64/prop.PopT*100).toFixed(2) + '%'
  1063 |           const nensyoritu100 = (prop.Pop0_14/prop.PopT*100).toFixed(2) + '%'
  1064 |           if (cont.indexOf('h4-100m') === -1) {


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1062:11:
  1060 |           flg = true
  1061 |           const ronenritu100 = (prop.Pop65over/prop.PopT*100).toFixed(2) + '%'
> 1062 |           const seisanritu100 = (prop.Pop15_64/prop.PopT*100).toFixed(2) + '%'
       |           ^
  1063 |           const nensyoritu100 = (prop.Pop0_14/prop.PopT*100).toFixed(2) + '%'
  1064 |           if (cont.indexOf('h4-100m') === -1) {
  1065 |             cont += '<div style=width:220px;>' +


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1063:11:
  1061 |           const ronenritu100 = (prop.Pop65over/prop.PopT*100).toFixed(2) + '%'
  1062 |           const seisanritu100 = (prop.Pop15_64/prop.PopT*100).toFixed(2) + '%'
> 1063 |           const nensyoritu100 = (prop.Pop0_14/prop.PopT*100).toFixed(2) + '%'
       |           ^
  1064 |           if (cont.indexOf('h4-100m') === -1) {
  1065 |             cont += '<div style=width:220px;>' +
  1066 |                 '<p class="p-100m">_</p>' +


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1086:11:
  1084 |         case 'ssdsPref':
  1085 |           // console.log(prop.コード.length)
> 1086 |           let area
       |           ^
  1087 |           if (prop.コード.length === 5) {
  1088 |             area = prop.コード
  1089 |           } else {


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1102:11:
  1100 |           break
  1101 |         case 'yochienHoikuen':
> 1102 |           let name
       |           ^
  1103 |           let address
  1104 |           if (prop.P29_001) { // 幼稚園
  1105 |             name = prop.P29_004


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1103:11:
  1101 |         case 'yochienHoikuen':
  1102 |           let name
> 1103 |           let address
       |           ^
  1104 |           if (prop.P29_001) { // 幼稚園
  1105 |             name = prop.P29_004
  1106 |             address = prop.P29_005


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1214:11:
  1212 |           break
  1213 |         case 'hyuganadaShindo':
> 1214 |           const maxShindoH = prop.最大JMA
       |           ^
  1215 |           let shindoH
  1216 |           if (maxShindoH < 3.5) { //3
  1217 |             shindoH = '3'


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1215:11:
  1213 |         case 'hyuganadaShindo':
  1214 |           const maxShindoH = prop.最大JMA
> 1215 |           let shindoH
       |           ^
  1216 |           if (maxShindoH < 3.5) { //3
  1217 |             shindoH = '3'
  1218 |           } else if (maxShindoH < 4.5) { //4


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1245:11:
  1243 |           break
  1244 |         case 'nantoraShindo':
> 1245 |           const maxShindo = prop.JMA独自
       |           ^
  1246 |           let shindo
  1247 |           if (maxShindo < 3.5) { //3
  1248 |             shindo = '3'


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1246:11:
  1244 |         case 'nantoraShindo':
  1245 |           const maxShindo = prop.JMA独自
> 1246 |           let shindo
       |           ^
  1247 |           if (maxShindo < 3.5) { //3
  1248 |             shindo = '3'
  1249 |           } else if (maxShindo < 4.5) { //4


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1269:11:
  1267 |           break
  1268 |         case 'nantoraEkijyoka':
> 1269 |           const maxPl = prop.PL独自
       |           ^
  1270 |           let kanosei
  1271 |           if (maxPl < 0) { //
  1272 |             break


error: Unexpected lexical declaration in case block (no-case-declarations) at src/js/popup.js:1270:11:
  1268 |         case 'nantoraEkijyoka':
  1269 |           const maxPl = prop.PL独自
> 1270 |           let kanosei
       |           ^
  1271 |           if (maxPl < 0) { //
  1272 |             break
  1273 |           } else if (maxPl === 0) { // なし


error: Unexpected console statement (no-console) at src/js/popup.js:1342:11:
  1340 |         })
  1341 |         .then(function (response) {
> 1342 |           console.log(response.data.results.lv01Nm)
       |           ^
  1343 |           let cont2 = cont + streetView
  1344 |           const splitMuni = muni[Number(response.data.results.muniCd)].split(',')
  1345 |           // cont2 = splitMuni[1] + splitMuni[3] + '<h4>' + response.data.results.lv01Nm + '</h4>' + cont2


error: Unexpected console statement (no-console) at src/js/popup.js:1383:5:
  1381 |   // ---------------------------------------------------------------------------------
  1382 |   function popupCenter(cont) {
> 1383 |     console.log(map.values_.target)
       |     ^
  1384 |     const result = cont.match(/width:(.*?)px/g)
  1385 |     const widthAr = []
  1386 |     if (result != null) {


error: 'streetView' is assigned a value but never used (no-unused-vars) at src/js/popup.js:2490:9:
  2488 |   const lon = lonLat[0]
  2489 |   const lat = lonLat[1]
> 2490 |   const streetView = '<a href="https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=' + lat + ',' + lon + '&hl=ja" target="_blank">Street Viewを開く</a></div>'
       |         ^
  2491 |   const r = rgba[0]
  2492 |   const g = rgba[1]
  2493 |   const b = rgba[2]


40 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/js/store.js:243:7:
  241 |     getListPart (state, payload) {
  242 |       const result = state.layerLists[payload.mapName].find(el => el.id === payload.id);
> 243 |       console.log(result.component.values)
      |       ^
  244 |
  245 |       // result.component.values = payload.values;
  246 |     },


error: Expected a 'break' statement before 'case' (no-fallthrough) at src/js/store.js:517:9:
  515 |             variable = 'textCheckTyugakkoR03'
  516 |           }
> 517 |         case 'kosoku':
      |         ^
  518 |           variable = 'kosoku'
  519 |           break
  520 |         case 'tetsudoJikeiretsu':


2 errors found.

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
 warning  in ./src/components/Dialog-menu.vue?vue&type=script&lang=js&

"export 'addDrawInteraction' (imported as 'MyMap') was not found in '../js/mymap'


  App running at:
  - Local:   http://localhost:8080 
  - Network: http://10.98.20.62:8080

  Note that the development build is not optimized.
  To create a production build, run npm run build.

^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment