[OpenLayers-Users] Multiple invoke by zoom, very bad performance
johnalvarado
johnj.alvarado at hotmail.com
Fri Feb 19 09:02:56 EST 2010
Hi Marc, thank you very much for your attention.
The test is very simple:
in jsp: invke the map throughout servlet:
map = new OpenLayers.Map( 'map' );
layer = new OpenLayers.Layer.WMS(
"SampleWMS",
"OpenlayerZoomMultipleInvoke",//invoke the serlvlet
{layers: 'sea_ice_concentration_02'},
{singleTile: true}
int the servlet: I catch the parameter (getParameter layer, bbxo, etc...)
and load the rul, for example:
url = server + request.getParameter("BBOX") + ....; and print a message:
System.out.println("invoke the map");
The message is print 2^n times (n = #zoom), ie: zoom=2 => message print 4
times...zoom=4=>16 times...
Thanks, Marck
--
View this message in context: http://n2.nabble.com/Multiple-invoke-by-zoom-very-bad-performance-tp4595600p4597953.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list