WITH data as (
select 25.7724247 as lat, -80.1854473 as lon, 10 as zoom
union all
select 25.7724247 as lat, -80.1854473 as lon, 15 as zoom
)
select
map_url(lat,lon,zoom) as osm_url,
map_url(lat,lon,zoom,'-type googlemaps') as gmap_url,
tile(lat,lon,zoom) as tile_number
from
data;
Last active
April 29, 2017 20:08
-
-
Save myui/da128cfd4480c6cb66e28402f3f36bee to your computer and use it in GitHub Desktop.