It works! excellent work Armin!
If it could help I post my configuration:

Openlayers 2.12 (single file)
pm.ol.customized.js in the truck

My tilecache configuration:

[google-tiles]
type=WMS
url=http://localhost:8080/cgi-bin/mapserv.exe?map=C:\ms4w\apps\esempio\config\default\wms_google.map
layers=catasto
spherical_mercator=true

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





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

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&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