According to Armin indications I tested the "custom.js" for multiple OL WMS
in this way and it works:

$.extend(PM.OL.Theme.olNativeThemes,
{
    create: function() {        
        this.themeList['vmapLayerWms2'] = this.createVmapWmsLayer();
                this.themeList['vmapLayerWms'] = this.createVmapWmsLayer();
    },
    
    createVmapWmsLayer: function() {
        var vmapLayerWms2 = new OpenLayers.Layer.WMS( "Openlayers WMS",
                                     
"http://localhost:8080/cgi-bin/tilecache211/tilecache.cgi?";,
                                      {
                                         LAYERS : "TEST3"},
                                                                                
{ sphericalMercator: true,
        projection: "EPSG:900913"}
                                                                                
                                                                                
                                     );
                                                                         var 
vmapLayerWms = new OpenLayers.Layer.WMS( "Openlayers WMS2",
                                     
"http://localhost:8080/cgi-bin/tilecache211/tilecache.cgi?";,
                                      {
                                         LAYERS : "TEST2"},
                                                                                
{ sphericalMercator: true,
        projection: "EPSG:900913"}
                                                                                
                                                                                
                                     );
                
                
                
     return vmapLayerWms;
        return vmapLayerWms2;
    }    
});

As far as wiki page is concerned I wil try to help in developing it, even if
my my english isn't so good to take part in writing a technical/howto guide



--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Tilcache-in-pmapper5-tp4025488p4025676.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to