Re: [pmapper-users] Tilcache in pmapper5?
Brought to you by:
arminburger
From: gioza <al...@al...> - 2014-11-13 08:52:09
|
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. |