mirror of
https://github.com/imjasonh/staticmaps
synced 2026-07-08 10:55:03 +00:00
fix build
This commit is contained in:
parent
0746d8fc00
commit
862c7af424
2 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ func (do *DirectionsOpts) update(p url.Values) {
|
|||
if do.Waypoints != nil {
|
||||
v := ""
|
||||
if do.OptimizeWaypoints {
|
||||
v := "optimize:true|"
|
||||
v = "optimize:true|"
|
||||
}
|
||||
p.Set("waypoints", v+encodeLocations(do.Waypoints))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ func TestDistanceMatrix(t *testing.T) {
|
|||
orig := []Location{Address("Vancouver, BC"), Address("Seattle")}
|
||||
dst := []Location{Address("San Francisco"), Address("Victoria, BC")}
|
||||
opts := &DistanceMatrixOpts{
|
||||
Mode: String(ModeBicycling),
|
||||
Mode: ModeBicycling,
|
||||
Language: "fr-FR",
|
||||
}
|
||||
t.Logf("%s", baseURL+distancematrix(orig, dst, opts))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue