maps

package
Version: v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BBOX

type BBOX struct {
	MinX, MinY, MaxX, MaxY float64
}

type InvalidParamError

type InvalidParamError struct {
	Param string
	Value string
	Msg   string
}

func (*InvalidParamError) Error

func (e *InvalidParamError) Error() string

type MissingParamError

type MissingParamError struct {
	Param string
}

func (*MissingParamError) Error

func (e *MissingParamError) Error() string

type Request

type Request struct {
	HTTP        *http.Request
	Query       url.Values
	Width       int
	Height      int
	BBOX        BBOX
	EPSGCode    int
	Format      string
	ScaleFactor float64
}

func ParseMapRequest

func ParseMapRequest(r *http.Request) (*Request, error)

Source Files

Jump to

Keyboard shortcuts

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