Tools for improving web maps. The centerpiece of the code is a client implementation of the MBTiles interaction specification.
Modest Maps is the primary target for Wax, given its simplicity and high quality.
Currently records support several control techniques:
@chainruns functions, changing the value of
thiswith each run
@injectruns a function in a
@chainwithout changing the reference to
@callruns a function from the global scope changing the value of
@literalallows an object attribute to be referenced
@groupruns a set of record statements (e.g. using the keywords above) in order
These techniques (with arbitrary levels of nesting), are sufficient to construct maps in each mapping framework.
Samples of usage can be found in examples/. These depend on localizing copies of each API code.
To set up the examples first run:
Then check out the example html files.
For wax users, a minified library is already provided in build/.
But for developers you can rebuild a minified library by running:
- Requires UglifyJS
Install mainline UglifyJS:
npm install https://github.com/mishoo/UglifyJS/tarball/master
Make the combined & minified OpenLayers & Google Maps libraries:
rm -r build make build
Wax uses docco for documention. Install it like:
npm install --dev
Make the docs:
Wax currently includes one external:
- reqwest (MIT)
- Tom MacWright (tmcw)
- Young Hahn (yhahn)
- Will White (willwhite)