updated in 6f83e503325a891ea8ac2c0a2379a5e761024d9f


On 11 March 2013 11:25, Frédéric Junod <notifications@github.com> wrote:

> In examples/wmts-from-capabilities.js:
>
> > @@ -0,0 +1,66 @@
> > +goog.require('ol.Attribution');
> > +goog.require('ol.Coordinate');
> > +goog.require('ol.Extent');
> > +goog.require('ol.Map');
> > +goog.require('ol.RendererHint');
> > +goog.require('ol.View2D');
> > +goog.require('ol.layer.ImageLayer');
> > +goog.require('ol.layer.TileLayer');
> > +goog.require('ol.parser.ogc.WMTSCapabilities');
> > +goog.require('ol.projection');
> > +goog.require('ol.source.SingleImageWMS');
> > +goog.require('ol.source.WMTS');
> > +
> > +
> > +Proj4js['defs']['EPSG:21781'] =
>
> Instead of (re)define the projection, the following script tag can be
> added to wmts-from-capabilities.html
>
> <script src="http://cdnjs.cloudflare.com/ajax/libs/proj4js/1.1.0/defs/EPSG21781.js" type="text/javascript"></script>
>
> (not tested)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/openlayers/ol3/pull/342/files#r3314341>
> .
>