calc

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var R2D = 180 / math.Pi

Functions

func Bool

func Bool() bool

Bool 随机bool值

func Caps

func Caps() string

Caps 随机大写字母

func LonLat2Tile

func LonLat2Tile(lon float64, lat float64, z float64) (tile *ts.Tile)

LonLat2Tile 经纬度转成瓦片

func LonLat2TilePoint

func LonLat2TilePoint(lon float64, lat float64, z float64) (tilePoint *ts.TilePoint)

LonLat2TilePoint 经纬度转成瓦片中的一个点

func LowerCase

func LowerCase() string

LowerCase 随机小写字母

func String

func String(num int) string

String 生成随机字符串

func Tile2LonLat

func Tile2LonLat(tile *ts.Tile) *ts.Point

Tile2LonLat 瓦片转经纬度(左上角)

Types

This section is empty.

Jump to

Keyboard shortcuts

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