Add support for satellite tiles, with caching
This commit is contained in:
parent
61351dabf1
commit
b6e1bffd79
18 changed files with 1318 additions and 241 deletions
|
|
@ -36,12 +36,12 @@ func main() {
|
|||
|
||||
client := stadia.NewStadiaMaps(key)
|
||||
ctx := context.Background()
|
||||
req := stadia.RequestTileRaster{
|
||||
req := stadia.RequestTileRasterLatLng{
|
||||
Latitude: *lat,
|
||||
Longitude: *lng,
|
||||
Zoom: *zoom,
|
||||
}
|
||||
data, err := client.TileRaster(ctx, req)
|
||||
data, err := client.TileRasterLatLng(ctx, req)
|
||||
if err != nil {
|
||||
log.Printf("err: %v\n", err)
|
||||
os.Exit(2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue