ts

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArcgisTileLayerConfig

type ArcgisTileLayerConfig struct {
	TileCacheInfo struct {
		LODInfos struct {
			LODInfo []struct {
				LevelID int
			}
		}
		SpatialReference struct {
			WKID int
		}
		TileCols int
		TileRows int
	}
	TileImageInfo struct {
		CacheTileFormat string
	}
	CacheStorageInfo struct {
		StorageFormat string
		PacketSize    *int
	}
}

TileLayerConfig corresponds to an ESRI conf.xml document

type Color

type Color struct {
	R, G, B uint8
	A       float64
}

@see https://github.com/andress134/agouti/blob/master/matchers/internal/colorparser/color_parser.go

func NewColor

func NewColor(red, green, blue uint8, A float64) *Color

func ParseCSSColor

func ParseCSSColor(color string) (Color, error)

func (Color) String

func (c Color) String() string

type Map

type Map map[string]interface{}

Map map[string]interface{}的缩写

func (Map) Keys

func (m Map) Keys() []string

获取map的key值集合

func (Map) Len

func (m Map) Len() int

获取map的key值个数

type Point

type Point struct {
	X, Y float64
}

type RingArray

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

RingArray implements the RingArray interface.

func NewRingArray

func NewRingArray(data []interface{}) *RingArray

NewRingArray creates a new ring array.

func (*RingArray) GetCurrent

func (m *RingArray) GetCurrent() interface{}

GetCurrent

func (*RingArray) GetIndex

func (m *RingArray) GetIndex() interface{}

GetIndex

func (*RingArray) GetNext

func (m *RingArray) GetNext() interface{}

GetNext

func (*RingArray) SetIndex

func (m *RingArray) SetIndex(index int)

SetIndex

type Tile

type Tile struct {
	X, Y, Z int
}

Tile 地图瓦片

type TilePoint

type TilePoint struct {
	Tile
	Offset *Point
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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