[MapProxy] MapProxy OpenLayers example

Sebastian E. Ovide sebastian.ovide at gmail.com
Tue Aug 31 07:24:01 EDT 2010


thank, it did the trick:

            var ca_wild_fire = new OpenLayers.Layer.TMS( "CA Wild Fire",
                "http://mymachine:8123/tms/",
                {    layername: 'ca_wild_fire/EPSG3310',
                    type:'png'
                },
                {
                    opacity: 0.5,
                    visibility: false
                }
            );


even if ca_wild_fire_EPSG4326 didn't work (I had tio use "/" instead of
"_")...



On Tue, Aug 31, 2010 at 11:57 AM, Oliver Tonnhofer <olt at omniscale.de> wrote:

>
> On 31.08.2010, at 12:27, Sebastian E. Ovide wrote:
> > is anybody using OpenLayers ?
> >
> > I'm trying to usit with
> >
> >             var ca_wild_fire = new OpenLayers.Layer.WMS( "CA Wild Fire",
>
> You need to use Layer.TMS.
>
> >                 "http://mymachine:8123/tms/1.0.0",
> >                 {    layers: 'ca_wild_fire'
> >                 },
>
> and if you use an SRS other than EPSG:900913, then you need to add that to
> the layername:
> e.g. ca_wild_fire_EPSG4326
>
> See http://osm.omniscale.de/static/demo_setup.js for an example. (You can
> ignore the OpenLayers.Control stuff, it is for our custom layer switcher.)
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer <olt at omniscale.de>
> Omniscale - Dominik Helle, Oliver Tonnhofer GbR
> Nadorster Str. 60, 26123 Oldenburg
> Tel: +49(0)441/9392774-2 (Fax: 9)
>
>


-- 
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20100831/315fa23d/attachment.html


More information about the MapProxy mailing list