package
Version:
v0.0.0-...-5aaae78
Opens a new window with list of versions in this module.
Published: Dec 31, 2020
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
type Client
-
func (cl *Client) CompositeLeaflets(height int, width int, scale int, x int, y int)
-
func (cl *Client) Connect() error
-
func (cl *Client) DownloadMap(height int, width int, scale int, x int, y int)
-
func (cl *Client) DownloadMapAsync(height int, width int, scale int, x int, y int)
type Client struct {
URL string
}
Client to the server
CompositeLeaflets composites all the leaflets into one big image
Connect no real connection, just check if server is responsive
DownloadMap will download all the leaflets in a rectangular region with height x width leaflets. The scale is a power of 4
DownloadMapAsync will download all the leaflets asynchronously
Source Files
¶
Click to show internal directories.
Click to hide internal directories.