This commit is contained in:
邹宗楠
2024-07-31 13:14:24 +08:00
parent 8533b94f24
commit 8ecfd93781
4 changed files with 404 additions and 390 deletions

View File

@@ -1,5 +1,20 @@
package baidunavi
import (
"crypto/md5"
"encoding/json"
"errors"
"fmt"
"git.rosy.net.cn/baseapi/platformapi"
"git.rosy.net.cn/baseapi/utils"
"io/ioutil"
"net/http"
"net/url"
"sort"
"strings"
"time"
)
const (
signKey = "sn"
resultKey = "result"
@@ -32,7 +47,6 @@ const (
CoordSysBaidu2Gaode = "5" // 百度坐标转高德坐标
)
/*
const (
MaxCoordsConvBatchSize = 100
)
@@ -230,4 +244,3 @@ func (a *API) DirectionLiteRide(coords []*Coordinate) (retVal interface{}, err e
return nil, nil
}
*/