I'm using OpenLayers 2.13 and GeoServer 2.3.5 for my development. Following code is I'm using for loading map tiles..

map.addLayer(new OpenLayers.Layer.WMS(
        width: '1062',
        height: '286',
        srs: 'EPSG:3857',
        layers: multipleLayers,
        styles: '',
        format: 'image/png',
        bgcolor: '0x80BDE3'
        singleTile: true,
        //tiled: true,
        //tilesOrigin : map.maxExtent.left + ',' + map.maxExtent.bottom,
        ratio: 1,
        visibility: true,
        isBaseLayer: true

While using SingleTile:true option map is taking around 10 to 15 seconds to load the tiles.Here only single wms request is going to server.

Then I have tried to use like below

tiled: true,
tilesOrigin : map.maxExtent.left + ',' + map.maxExtent.bottom,

But, here also its taking around 10 seconds to load map complete tiles.And the width: and height: of the tile is changed to 256. And here around 20 to 24 request is going to server.

Can we change the width and height in tiled:true option.? or is there any other method to improve wms tile loading delay using limited wms request.

Sample Single Tile GeoServer request url:


Sample Single Tile GeoServer request url:

  • 2
    What is the performance when you are using the preview functionality in Geoserver? Since you are using so many layers, GeoServer itself might be taking so much time to render the images. Can you use cached services? – Devdatta Tengshe Feb 5 '15 at 7:47
  • Hi, Devdatta Tengshe..Thank you for the response.. I'm Getting GeoServer preview in 3 to 4 seconds. But, I can't load these multiple layers in cached format. Layer data will be change daily so that i have to use only WMS format.. – Ramesh T R Feb 5 '15 at 8:52
  • 2
    You are requesting for multiple images from 18 different layers; Of course it will take some time. – Devdatta Tengshe Feb 5 '15 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.