Bill, Thanks for your reply, but multi-url is already working correctly in my web application.
However the problem came when I use WMC context. The multi-url is joined together in a string in the url and not splited in an array after importing the WMC context. Same issue in OL 2.8rc Regards, Y. Le Thursday 23 April 2009 10:33:04 bwoodall, vous avez écrit : > Howdy, > > try taking a look at > > http://trac.openlayers.org/wiki/OpenLayersOptimization#multipleURLs > > or the example > > http://openlayers.org/dev/examples/multiserver.html > > for your OL URL > > ...Bill, > > On Thu, 2009-04-23 at 10:06 +0200, Jacolin Yves wrote: > > Hello, > > > > I am using WMC OGC service to allow users to print my map with another > > design. Using multi-URL in OL give something like this in the WMC > > context: <Layer queryable="0" hidden="1"> > > <Server service="OGC:WMS" version="1.1.1"> > > <OnlineResource xlink:type="simple" > > xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href=" > > http://www.lpdipro.dev.local/tilecache/tilecache.py, > > http://www1.lpdipro.dev.local/tilecache/tilecache.py, > > http://www2.lpdipro.dev.local/tilecache/tilecache.py, > > http://www3.lpdipro.dev.local/tilecache/tilecache.py"/> > > </Server> > > <Name>ratp_ligne_metro</Name> > > <Title>ratp_ligne_metro</Title> > > > > I added space between each url to improve readability. > > > > In OL code, after applying the context, the url of tile are: > > http://www.lpdipro.dev.local/tilecache/tilecache.py, > > http://www1.lpdipro.dev.local/tilecache/tilecache.py, > > http://www2.lpdipro.dev.local/tilecache/tilecache.py, > > http://www3.lpdipro.dev.local/tilecache/tilecache.py? > > VERSION=1.1.1&FORMAT=image%2Fjpeg& > > LAYERS=cadastre&SERVICE=WMS&REQUEST=GetMap& > > STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage& > > SRS=EPSG%3A900913&BBOX=89321.71190000002,6171789.4407,245864.74580000003, > >6328332.4746& WIDTH=256&HEIGHT=256 > > > > Again return line and space added for readability. > > > > Is it something known and how to correct this? Do I need to create a bug > > report, example? > > > > Thanks, > > > > Y. > > PS : I am going to test the new OL 2.8RC1 release. -- Yves Jacolin Ne demandez pas si vous pouvez contribuer, contribuer ! :) --- http://softlibre.gloobe.org _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users