single layer of map tiles
A single layer of map tiles.
used within vec2-map
Create a tile map at a given scale layer, with tiles as
Currently defaults to using google maps tiles.
var Layer = require'../'var Vec2 = require'vec2'var l = scale:2 size: 1000 1000update0 0 1000 1000 1 1documentbodyappendChildldiv
map coordinates are between
0 - 1000 in both X and Y,
0,0 is in the top-left/north-west.