Add support for satellite tiles, with caching

This commit is contained in:
Eli Ribble 2026-04-17 17:47:38 +00:00
parent 61351dabf1
commit b6e1bffd79
No known key found for this signature in database
18 changed files with 1318 additions and 241 deletions

View file

@ -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)