map::slippy::fetcher(n) | Mapping utilities | map::slippy::fetcher(n) |
map::slippy::fetcher - Accessing a server providing tiles for slippy-based maps
package require Tcl 8.4
package require Tk 8.4
package require img::png
package require map::slippy
package require map::slippy::fetcher ?0.2?
::map::slippy::fetcher fetcherName levels url
fetcherName levels
fetcherName tileheight
fetcherName tilewidth
fetcherName get tile donecmd
This package provides a class for accessing http servers providing tiles for slippy-based maps.
The result of the command is fetcherName.
The command refix donecmd will be invoked when the fetcher either knows the image for the tile or that no image will forthcoming. It will be invoked with either 2 or 3 arguments, i.e.
These two possibilities are used to either signal the image for the tile, or that the tile has no image defined for it.
http, location, map, server, slippy, tile, url, zoom
0.2 | map |