将所有地图改为腾讯地图
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
package autonavi
|
||||
|
||||
import (
|
||||
/*import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"strings"
|
||||
@@ -120,3 +120,4 @@ func (a *API) GetCoordinateFromAddressByPageAll(address string, cityCode int) (g
|
||||
}
|
||||
return getCoordinateFromAddressByPageAllResult, err
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package autonavi
|
||||
|
||||
/*
|
||||
import (
|
||||
"testing"
|
||||
|
||||
@@ -22,3 +23,4 @@ func TestGetCoordinateFromAddressByPageAll(t *testing.T) {
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
package autonavi
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"git.rosy.net.cn/baseapi"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
/*
|
||||
var (
|
||||
autonaviAPI *API
|
||||
sugarLogger *zap.SugaredLogger
|
||||
@@ -158,3 +150,4 @@ func TestAA(t *testing.T) {
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
package autonavi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// GetCyclingPlan 获取骑手的骑行计划
|
||||
func (a *API) GetCyclingPlan(origin, destination string) ([]string, int64, int64, error) {
|
||||
/*func (a *API) GetCyclingPlan(origin, destination string) ([]string, int64, int64, error) {
|
||||
param := map[string]interface{}{
|
||||
"key": a.key,
|
||||
"origin": origin,
|
||||
@@ -45,3 +39,4 @@ func (a *API) GetCyclingPlan(origin, destination string) ([]string, int64, int64
|
||||
|
||||
return polyLineList, distance, duration, nil
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
package autonavi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
/*
|
||||
func TestGetCyclingPlan(t *testing.T) {
|
||||
key := "cb4ea3516f88c0fd8fed73f92aeddffa"
|
||||
a := New(key)
|
||||
@@ -19,3 +15,4 @@ func TestLng(t *testing.T) {
|
||||
origin := fmt.Sprintf("%f,%f", 113.854912, 22.601450)
|
||||
fmt.Println(origin)
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user