Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (19 sloc) 1.091 kB
# run all examples just to ensure they don't throw any errors
node ./examples/simple/render.js ./examples/stylesheet.xml /tmp/map.png
node ./examples/simple/blank.js & PID=$!; sleep 2; kill $PID
node ./examples/simple/simple.js & PID=$!; sleep 2; kill $PID
node ./examples/simple/simple_pool.js & PID=$!; sleep 2; kill $PID
node ./examples/simple/simple_express.js & PID=$!; sleep 2; kill $PID
node ./examples/js_datasource/simple.js; open js_points.png
node ./examples/js_datasource/usgs_quakes.js; open quakes.png
node ./examples/memory_datasource/simple.js; open memory_points.png
node ./examples/wms/wms.js ./examples/stylesheet.xml 8000 & PID=$!; sleep 2; kill $PID
node ./examples/wms/wms_pool.js ./examples/stylesheet.xml 8000 & PID=$!; sleep 2; kill $PID
node ./examples/tile/pool/app.js ./examples/stylesheet.xml 8000 & PID=$!; sleep 2; kill $PID
node ./examples/tile/database/app.js ./examples/stylesheet.xml 8000 & PID=$!; sleep 2; kill $PID
node ./examples/tile/elastic/app.js 8000 & PID=$!; sleep 2; kill $PID
# cleanup
sleep 2;
rm memory_points*
rm js_points.png
rm quakes.png
Jump to Line
Something went wrong with that request. Please try again.