[OpenLayers-Users] layer options

Lukasz Szybalski szybalski at gmail.com
Tue Oct 21 19:33:59 EDT 2008


On Tue, Oct 21, 2008 at 6:14 PM, Christian López Espínola
<penyaskito at gmail.com> wrote:
> On Tue, Oct 21, 2008 at 10:17 PM, Lukasz Szybalski <szybalski at gmail.com> wrote:
>> Hello,
>> What I meant is that there is a layers basic and there is a layers
>> landsat7? what other layers are there? What is the layer format for
>> mapnik server?
>>
>>>> layers : basic
>>>> layers: landsat7
>>>> what other options are there?
>
> I think that you misread my answer. BTW, here it is the result that I
> found googling 'mapnik openlayers':
>
> http://wiki.openstreetmap.org/index.php/OpenLayers_Simple_Example

The layers option are coming from what software? I though the layer
option is an one of the in openlayers??

http://trac.openlayers.org/browser/trunk/openlayers/examples/attribution.html?rev=5117

see
 var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
21 	                "http://t1.hypercube.telascience.org/cgi-bin/landsat7",
22 	                {layers: "landsat7"},{attribution:"Provided by
Telascience"});

is there one for mapnik?

I think I found it:
http://trac.openlayers.org/browser/branches/openlayers/2.7/examples/spherical-mercator.html

 // create WMS layer
122 	            var wms = new OpenLayers.Layer.WMS(
123 	                "World Map",
124 	                "http://world.freemap.in/tiles/",
125 	                {'layers': 'factbook-overlay', 'format':'png'},
126 	                {
127 	                    'opacity': 0.4,
128 	                    'isBaseLayer': false,'wrapDateLine': true
129 	                }
130 	            );


What is the difference  {layers: "landsat7"}  vs   {'layers':
'factbook-overlay', 'format':'png'}  ???????

What other layers option are there?

Thanks,
Lucas


Is there ab example for google, yahoo, other ?


More information about the Users mailing list