Skip to content

Commit

Permalink
Merge pull request #292 from smellman/smellman/vector-tile-support
Browse files Browse the repository at this point in the history
#288 createtiles.ts is not typescript
  • Loading branch information
halsk authored Feb 17, 2020
2 parents f8055fb + 562f6b1 commit caab292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion createtiles.ts → createtiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (!fs.existsSync(TARGET_DIR)) {
fs.mkdirSync(TARGET_DIR, {recursive: true});
}

const _make_tilejson = (dir: string, base_name: string) => {
const _make_tilejson = (dir, base_name) => {
let metadata = require(`${dir}${base_name}/metadata.json`)
//console.log(metadata)
let vector_layers = JSON.parse(metadata.json)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate",
"createtiles": "node createtiles.ts",
"createtiles": "node createtiles.js",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"dev-debug": "node --inspect-brk=9229 node_modules/nuxt/bin/nuxt"
},
Expand Down

0 comments on commit caab292

Please sign in to comment.