map-tile-url
get a map tile url, from openstreetmap, google, or bing.
This code is pulled out of cartegan because it is useful on it's own.
var gmt =var url =console
providers
gmt.openStreetMap, gmt.google, gmt.bing
are supported.
openStreetMap is the default. all have the same api
getMapTile(x, y, z, i?)
retrive a tile. 'i' is the load balancing variable, which decides which server to request from. you can set it manually, or leave it and it will be set randomly.
License
MIT