mapbox

package
v1.0.4-0...-ab2c781 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFetchFailed = errors.New("failed to fetch map")

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, app *pocketbase.PocketBase, conf *config.Config) (*Client, error)

func (*Client) FetchAll

func (c *Client) FetchAll(ctx context.Context) error

func (*Client) Handler

func (c *Client) Handler() func(e *core.RequestEvent) error

type FetchRequest

type FetchRequest struct {
	Size  string
	Style string
	Zoom  float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL