[OpenLayers-Users] layer options

Christian López Espínola penyaskito at gmail.com
Tue Oct 21 15:57:16 EDT 2008


Hi Lukasz,

On Tue, Oct 21, 2008 at 9:48 PM, Lukasz Szybalski <szybalski at gmail.com> wrote:
> Hello,
> I am working with a turbogears widget for openlayers and I was
> wondering if you could point me to documentation on layers options:

BTW, this summer a Google Summer of Code student has been working on a
ToscaWidget that maybe can fit your needs.
See [1] and [2]

[1] http://openlayers.org/pipermail/dev/2008-August/003329.html
[2] http://toscawidgets.org/

>
> ol = WMS(name="OpenLayers WMS",
>        url=["http://labs.metacarta.com/wms/vmap0"],
>        options = {'layers':'basic'})

If this is Javascript, this is not valid. Maybe you want
{'layers': basic}  // (without the quotes)
Obviously the 'basic' layer needs to be created before.

> layers : basic
> layers: landsat7
> what other options are there?

They are variables that you should have created before. See the
examples for more info: http://openlayers.org/dev/examples/


> what would be an options for
> openstreetmap /mapnik tile cache?
> layers: ???
>
> Thanks,
> Lucas
>
>
> --
> Turbogears2 Manual
> http://lucasmanual.com/mywiki/TurboGears2
> Bazaar and Launchpad
> http://lucasmanual.com/mywiki/bzr
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
Cheers,

Christian López Espínola <penyaskito>


More information about the Users mailing list