[OpenLayers-Users] Optimization of raster WMS layers
jdmorgan
jdmorgan at unca.edu
Tue Jul 10 04:55:46 PDT 2012
Hello,
I am following up on this posting as i am still having this issue. I
was it is possible to speed up openlayers without using a tileCache.My
test page is only working with three layers and yet it is fairly slow
compared to loading the same data through a Flex viewer (that also
doesn't use a cache).I am sure it is just a matter of a config parameter
I am not setting correction. Here is my js when loading the layer:
var streetMap = new OpenLayers.Layer.ArcGIS93Rest(
'ESRI Streets',
'http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/export?f=image',
{layers: 'show:0'},
{}
);
var stateMap = new OpenLayers.Layer.WMS(
'States',
'http://linuxserver/~user/html/vlayers',
{layers: 'states', transparent: true},
{
isBaseLayer: false,
transitionEffect: 'resize'
}
);
var bigRasterLayer = new OpenLayers.Layer.WMS(
'EFETAC-NASA_AllYrBaseline_current',
'http://linuxserver/~user/fswms/html/ews',
{layers: 'CONUSRasterData', transparent: true},
{
isBaseLayer: false,
transitionEffect: 'resize',
buffer: 0
}
);
mainMap.addLayers([streetMap, stateMap, bigRasterLayer]);
mainMap.setCenter(new OpenLayers.LonLat(-98.0859375,
39.095962936305476), 5);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120710/50227ec0/attachment.html>
More information about the Users
mailing list