Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Dynamic feature highlighting for MapBox tilesets
JavaScript CSS
branch: mb-pages

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
js
src
LICENSE
Makefile
README.md
index.html

README.md

Glower

Glower is a library for visual interaction with UTFGrid-enabled tilesets like those generated by TileMill and served by MapBox Hosting. It uses HTML5 Canvas to render approximated highlighted areas, and is thus incompatible with older versions of Internet Explorer and ancient versions of other browsers without the usage of excanvas.

Dependencies

Usage

The third argument, an options object, is optional.

var glow = glower(map, tilejson, {
    fillStyle: 'rgba(1, 100, 200, 0.7')'
});

glow.fillStyle('rgba(1, 100, 10, 0.7')');

License

BSD: see attached LICENSE

Authors

  • Tom MacWright (tmcw)
Something went wrong with that request. Please try again.