Add maxZoom option to BingMaps

This commit is contained in:
Éric Lemoine
2014-09-19 23:36:28 +02:00
parent 9da909dd57
commit 23e597eb25
4 changed files with 24 additions and 3 deletions

View File

@@ -20,6 +20,9 @@ for (i = 0, ii = styles.length; i < ii; ++i) {
source: new ol.source.BingMaps({
key: 'Ak-dzM4wZjSqTlzveKz5u0d4IQ4bRzVI309GxmkgSVr1ewS6iPSrOvOKhA-CJlm3',
imagerySet: styles[i]
// use maxZoom 19 to see stretched tiles instead of the BingMaps
// "no photos at this zoom level" tiles
// maxZoom: 19
})
}));
}