webservices

package
v0.0.0-...-14f1a14 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: LGPL-2.1 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deg2num

func Deg2num(lat, lon float64, zoomLevel int) (x, y int)

func Num2deg

func Num2deg(x, y, zoomLevel int) (lat, long float64)

func XYZToBounds

func XYZToBounds(x, y, zoomLevel int) osm.Bounds

Types

type AdminService

type AdminService struct {
	chi.Router
	// contains filtered or unexported fields
}

func NewAdminService

func NewAdminService(
	logger *logpkg.Logger,
	pathsConfig *ownmapdal.PathsConfig,
	dbConnSet *ownmapdal.DBConnSet,
	importQueue *ownmapdal.ImportQueue,
	routerURLBasePath string,
	ownmapDBFileHandlerLimit uint,
) (*AdminService, errorsx.Error)

type InfoService

type InfoService struct {
	chi.Router
	// contains filtered or unexported fields
}

func NewInfoService

func NewInfoService(logger *logpkg.Logger, dbConnSet *ownmapdal.DBConnSet, styleSet *styling.StyleSet) *InfoService

type NearbyThingsWebService

type NearbyThingsWebService struct {
	chi.Router
	// contains filtered or unexported fields
}

func NewNearbyThingsWebService

func NewNearbyThingsWebService(logger *logpkg.Logger, dbConnSet *ownmapdal.DBConnSet) *NearbyThingsWebService

type TileService

type TileService struct {
	chi.Router
	// contains filtered or unexported fields
}

func NewTileService

func NewTileService(logger *logpkg.Logger, dbConnSet *ownmapdal.DBConnSet, rasterer maprenderer.MapRenderer, styleSet *styling.StyleSet, shouldProfile bool) *TileService

Jump to

Keyboard shortcuts

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