Tools for improving web maps. The centerpiece of the code is a client implementation of the MBTiles interaction specification.
Google Maps API v3
jquery.jsonp-2.1.4.js, from jquery-jsonp
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 docco
Make the docs:
Wax includes two libraries in
/lib which are included in builds
- Bug fixes for OpenLayers
- Functions on the Google Maps
Controlsobject are now lowercase.
WaxProvider's signature: now takes an object of settings and supports multiple domains, filetypes and zoom restrictions.
wax.g.MapType's signature: now accepts an object of settings in the same form as
- Modest Maps
.interaction()now supports clicks, with the same
clickActionsetting as the OpenLayers version.
- Added large manual for usage.
- Fixed Modest Maps
/examplesdirectory: examples will be in manuals.
- Performance optimization of interaction code: no calculations are performed during drag events.
- connector/mm: Added Modest Maps connector.
- control/mm: Added
.zoomer()controls for Modest Maps.
- control/lib: Added
tooltip.jsto allow for external styling code.
- connector/g: Hide error tiles and wrap on dateline.
- connector/g: Performance improvements.
- control/legend: Fix rerender bug.
addedtooltipevent for binding/extending tooltip behavior. Subject to change.
- Embedder functionality for Google Maps and OpenLayers.
- Bug fixes for Firefox 3.
make extadded for downloading and installing external libraries needed to use examples.
- Bug fixes for legend, IE compatibility.
- Initial release.
- Tom MacWright (tmcw)
- Young Hahn (yhahn)
- Will White (willwhite)