gaode

package
v0.0.0-...-b6a7a45 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGaodeService

func InitGaodeService(key string)

Types

type GeocodeGeoParam

type GeocodeGeoParam struct {
	Address string `label:"结构化地址信息" validate:"required,min=1,max=256"`
	City    string `label:"指定查询的城市" validate:"omitempty,min=1,max=256"`
	// contains filtered or unexported fields
}

GeocodeGeoParam 地理编码,请求参数

type GeocodeGeoResult

type GeocodeGeoResult struct {
	Geocodes []geocode `json:"geocodes"` // 地理编码信息列表
	// contains filtered or unexported fields
}

GeocodeGeoResult 地理编码,响应结果

func (*GeocodeGeoResult) IsSuccess

func (result *GeocodeGeoResult) IsSuccess() bool

IsSuccess 是否成功

type GeocodeRegeoParam

type GeocodeRegeoParam struct {
	Key        string // 高德Key
	Location   string
	PoiType    string
	Radius     int
	Extensions string
	RoadLevel  string
	HomeOrCorp string
}

type GeocodeRegeoResult

type GeocodeRegeoResult struct {
}

func GeocodeRegeo

func GeocodeRegeo(param *GeocodeRegeoParam) (*GeocodeRegeoResult, error)

Jump to

Keyboard shortcuts

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