[OpenLayers-Users] How to use WMTS (Web Map Tile Service) in OpenLayers

Cédric Moullet cedric.moullet at camptocamp.com
Fri May 28 09:03:53 EDT 2010


Hi,
If you want (can) to use the WMTS RESTFul interface, you can use:

var layer = new OpenLayers.Layer.XYZ(layerName,
                    "http://wmtsPath/${z}/${y}/${x}.jpeg", jpegOptions);


Hope this helps.
I would be interested to know if there are open (RESTFull) WMTS servers
available.
Cédric

On Fri, May 28, 2010 at 1:36 PM, Esben Taudorf <eta at le34.dk> wrote:

>  Hi everybody
>
>
>
> I am trying to use a WMTS (Web Map Tile Service) and was wondering how to
> do this and which layer class to use?
>
> I use the newest stable build of OpenLayers (2.9.1).
>
>
>
> Regards, Esben
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>


-- 
Geospatial Director Camptocamp SA
Cédric Moullet
PSE A
CH-1015 Lausanne
www.camptocamp.com  / www.mapfish.org / twitter.com/cedricmoullet /
mapfishblog.blogspot.com/

+41 79 759 69 83 (mobile)
+41 21 619 10 21 (direct)
+41 21 619 10 10 (centrale)
+41 21 619 10 00 (fax)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100528/31a1bb27/attachment.html


More information about the Users mailing list