tile-scanline
v1.0.0tile-scanline
tile-scanline is an algorithm for rasterizing vector geometry as map tiles. It uses a combination of a modified scanline polygon fill and a modified Bresenham's line drawing algorithm.
##Install
npm install tile-scanline
##Usage
// accepts a polygon or linestring geojson geometry
scanline(geometry, {max_zoom: 20})