Documentation ¶
Index ¶
- func GetAmapClient() *http.Client
- type AdapterLocationBasedService
- type Amap
- func (m *Amap) Close()
- func (m *Amap) GetAddress(latitude, longitude, radius float64) (map[string]string, error)
- func (m *Amap) GetClient() interface{}
- func (m *Amap) GetCoordinate(keyword string) (longitude float32, latitude float32, address string, err error)
- func (m *Amap) GetPosition(imei, network, ac, ci, snr string, result *map[string]interface{}) error
- func (*Amap) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAmapClient ¶ added in v1.4.0
Types ¶
type AdapterLocationBasedService ¶
type AdapterLocationBasedService interface { String() string Close() GetAddress(latitude, longitude, radius float64) (map[string]string, error) GetCoordinate(keyword string) (longitude float32, latitude float32, address string, err error) GetPosition(imei, network, ac, ci, snr string, result *map[string]interface{}) error GetClient() interface{} }
type Amap ¶ added in v1.3.26
type Amap struct {
// contains filtered or unexported fields
}
func (*Amap) GetAddress ¶ added in v1.3.26
func (*Amap) GetClient ¶ added in v1.3.26
func (m *Amap) GetClient() interface{}
GetClient 暴露原生client
func (*Amap) GetCoordinate ¶ added in v1.4.18
func (*Amap) GetPosition ¶ added in v1.4.22
Click to show internal directories.
Click to hide internal directories.