Fixing extent check for undefined extents.
Thanks @marcjansen for spotting this. To make the epsg-4326 example work, I also had to change the WMS version to 1.1.1.
This commit is contained in:
@@ -27,6 +27,7 @@ var layers = new ol.Collection([
|
||||
source: new ol.source.TiledWMS({
|
||||
url: 'http://vmap0.tiles.osgeo.org/wms/vmap0',
|
||||
crossOrigin: null,
|
||||
version: '1.1.1',
|
||||
params: {
|
||||
'LAYERS': 'basic',
|
||||
'FORMAT': 'image/jpeg'
|
||||
|
||||
Reference in New Issue
Block a user