[OpenLayers-Users] Optimization of raster WMS layers
Steve Way
Steve.Way at infotech-enterprises.com
Tue Jul 10 05:02:17 PDT 2012
Are you able to narrow down if it is a particular layer that is causing an issue?
From: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of jdmorgan
Sent: 10 July 2012 21:56
To: openlayers-users at lists.osgeo.org
Subject: Re: [OpenLayers-Users] Optimization of raster WMS layers
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);
________________________________
DISCLAIMER:
This email may contain confidential information and is intended only for the use of the specific individual(s) to which it is addressed. If you are not the intended recipient of this email, you are hereby notified that any unauthorized use, dissemination or copying of this email or the information contained in it or attached to it is strictly prohibited. If you received this message in error, please immediately notify the sender at Infotech or Mail.Admin at infotech-enterprises.com and delete the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120710/fe8200ce/attachment-0001.html>
More information about the Users
mailing list