An editable offline-friendly slippy-map.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
public
views
.bowerrc
.gitignore
Makefile
README.md
bower.json
package-lock.json
package.json

README.md

Smol Maps

Remix on Glitch

  1. Register a free Mapzen API key
  2. Edit smol-maps on Glitch and click Remix this 🎤 from the project drop-down
  3. Click the 🕶 Show button in the top-left corner
  4. When prompted, enter the API key you just registered, and choose your default location

Dependencies

Installing node.js

If you are installing on a Mac or Windows, use the installer available on the node.js homepage.

For Linux users installing via a package manager, you'll want to read the docs and follow the instructions for your specific distribution (e.g., for Debian-based distros, like Ubuntu).

There is one more fun detail for Linux users. Depending on the distro you use, your node.js binary might be called node or nodejs. If you're running Ubuntu, for example, you use nodejs. If that's the case for you, instead of starting the server with npm start use npm run-script startjs.

Setup

  1. Register a free Mapzen API key
  2. In a terminal, run these commands:
    cd path/to/smol-maps
    make
    npm start
    
  3. Load the website: http://localhost:4321/
  4. When prompted, enter the API key you just registered, and choose your default location

See also