File: README

package info (click to toggle)
modestmaps-js 3.3.6%2Bds2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,184 kB
  • ctags: 1,465
  • sloc: makefile: 58
file content (10 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
This example works with node.js and (ideally) npm.

The included package.json file means you should be able to type `npm install` in this folder
to pull down all dependencies.

Then do `node modestmaps-static.js` to run the example server.

Example URL, San Francisco at zoom level 11 on OpenStreetMap, in an 800x600 image:
http://localhost:3000/map?provider=osm&width=800&height=600&zoom=11&lat=37.774929&lon=-122.419415