fix raster subdomains
This commit is contained in:
parent
6a59ff5193
commit
8dbfcc0ece
1 changed files with 5 additions and 5 deletions
|
|
@ -935,12 +935,11 @@ Ox.Map = function(options, self) {
|
|||
'raster-tiles': {
|
||||
'type': 'raster',
|
||||
'tiles': [
|
||||
// FIXME: use protocol and make use of all subdomains
|
||||
//'https://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}'
|
||||
'https://mt0.google.com/vt/lyrs=s&x={x}&y={y}&z={z}'
|
||||
|
||||
'https://mt0.google.com/vt/lyrs=s&x={x}&y={y}&z={z}',
|
||||
'https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}',
|
||||
'https://mt2.google.com/vt/lyrs=s&x={x}&y={y}&z={z}',
|
||||
'https://mt3.google.com/vt/lyrs=s&x={x}&y={y}&z={z}',
|
||||
],
|
||||
'subdomains':['mt0','mt1','mt2','mt3'],
|
||||
'tileSize': 256,
|
||||
'attribution':
|
||||
'FIXME',
|
||||
|
|
@ -951,6 +950,7 @@ Ox.Map = function(options, self) {
|
|||
'id': 'simple-tiles',
|
||||
'type': 'raster',
|
||||
'source': 'raster-tiles',
|
||||
'roundZoom': true,
|
||||
'minzoom': 0,
|
||||
'maxzoom': 22
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue