Hi,
Would it be possible to add swisstopo's topo map WMS to the list of
"online maps"?
in OpenLayers, it can be added thanks to the following code:
var l = new OpenLayers.Layer.WMTS({
isBaseLayer: true,
projection: new OpenLayers.Projection("EPSG:21781"),
units: "m",
layer: "ch.swisstopo.pixelkarte-farbe",
name: "SwissTopo",
url: ["http://wmts0.geo.admin.ch/", "http://wmts1.geo.admin.ch/"],
maxExtent: new OpenLayers.Bounds(420000, 30000, 900000, 350000),
matrixIds: null,
matrixSet: "21781",
format: "image/jpeg",
opacity: 1,
requestEncoding: "REST",
style: "default",
dimensions: ["TIME"],
transitionEffect: "resize",
params: {
time: "20120809"
},
zoomOffset: 6,
serverResolutions: [4000, 3750, 3500, 3250, 3000, 2750, 2500, 2250,
2000, 1750, 1500, 1250, 1000, 750, 650, 500, 250, 100, 50, 20, 10, 5, 2.5, 2,
1.5, 1, 0.5],
resolutions: [2500, 2250, 2000, 1750, 1500, 1250, 1000, 750, 650, 500,
250, 100, 50, 20, 10, 5, 2.5, 2, 1, 0.5],
formatSuffix: "jpeg"
});
The map is available on http://www.vttrack.fr/ , for example
Thanks,
Lucas
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users