node-mapnik-sample-code
Sample code demonstrating usage of node-mapnik
File Explorer
- world_merc.dbf
- world_merc.json
- world_merc.prj
- world_merc.shp
- world_merc.shx
- world_merc_license.txt
- blank.js
- simple.js
- simple.js
- image-blank.png
- image-simple.png
- mem_points.json
- mem_points.png
- wms.png
- app.js
- app.js
- point_vector.xml
- README.md
- template.xml
- app.js
- create.sh
- README.md
- seed_es_index.js
- app.js
- index.html
- map.js
- pool.js
- sphericalmercator.js
- tile.js
- wms_pool.js
- .gitignore
- .travis.yml
- README.md
- stylesheet.xml
- test.sh
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
node
View Details ▼
node
Server-side JavaScript platform (Node.js).
node {{path/to/file}}
Run a JavaScript file:
node
Start a REPL (interactive shell):
node --watch {{path/to/file}}
Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
