That's not something currently possible with OpenLayers. But with 
MapFish ( which uses OpenLayers ) you can do something like that.

See some examples :
http://demo.mapfish.org/mapfishsample/1.0/examples/tree/

See the main page :
http://trac.mapfish.org/trac/mapfish/wiki/Home

Regards,

Alexandre

Adam Sanchez wrote:
> Hi to all!
>
> Someone do you a idea about to build nested overlays?
>
> By example,
>
>
> Base Layer
> =========
> Google Maps
> Yahoo
>
> Overlays (Two Levels)
> =======
> -Mountains
> --Himalayas
> --Andean
>
> -Rivers
> --Nilo
> --Amazonas
> --Misissipi
>
> -Oceans
> --Pacific
> --Atlantic
>
> Regards,
>
> Adam
>
> On Tue, Dec 2, 2008 at 9:08 AM,  <[email protected]> wrote:
>   
>> Send Users mailing list submissions to
>>        [email protected]
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://openlayers.org/mailman/listinfo/users
>> or, via email, send a message with subject or body 'help' to
>>        [email protected]
>>
>> You can reach the person managing the list at
>>        [email protected]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Users digest..."
>>
>>
>> Today's Topics:
>>
>>   1. New PSC Member: Eric Lemoine (Erik Uzureau)
>>   2. Re: New PSC Member: Eric Lemoine (Roald de Wit)
>>   3. using more than one Layer.TileCache in a map? (Matt Bartolome)
>>   4. Re: using more than one Layer.TileCache in a map? (Eric Lemoine)
>>   5. Re: [OpenLayers-Dev] New PSC Member: Eric Lemoine (Pierre GIRAUD)
>>   6. GWT and Openlayers (David Potts)
>>   7. dynamic url (Lehtonen, Mika)
>>   8. Circles (Heidt, Christopher M.)
>>   9. Re: Circles (Lehtonen, Mika)
>>  10. Re: Circles (Kenny)
>>  11. Re: Circles (Heidt, Christopher M.)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 1 Dec 2008 18:17:14 -0600
>> From: "Erik Uzureau" <[email protected]>
>> Subject: [OpenLayers-Users] New PSC Member: Eric Lemoine
>> To: "d...@openlayers" <[email protected]>,      "us...@openlayers"
>>        <[email protected]>
>> Message-ID:
>>        <[email protected]>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> The OpenLayers Project Steering Committee is proud to announce our newest
>> and eighth member: Eric Lemoine!
>>
>> Eric works for Camp-to-Camp and has been a solid participant in the
>> OpenLayers community for nearly two years now. He has made numerous
>> contributions to the OL codebase as a committer, and his experience in the
>> community and the greater domain of GIS make him a great addition to the
>> committee.
>>
>> Please everyone, give Mr. Lemoine a very warm welcome.
>>
>> Erik
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: 
>> http://openlayers.org/pipermail/users/attachments/20081201/90cf0458/attachment-0001.htm
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 2 Dec 2008 16:03:23 +1100
>> From: Roald de Wit <[email protected]>
>> Subject: Re: [OpenLayers-Users] New PSC Member: Eric Lemoine
>> To: Erik Uzureau <[email protected]>
>> Cc: "us...@openlayers" <[email protected]>,  "d...@openlayers"
>>        <[email protected]>
>> Message-ID: <1228194203.6428.19.ca...@bender>
>> Content-Type: text/plain
>>
>> Congratulations Eric! Nice to see you are a PSC member now!
>>
>> Cheers, Roald
>>
>> On Tue, 2008-12-02 at 10:47 +1030, Erik Uzureau wrote:
>>     
>>> The OpenLayers Project Steering Committee is proud to announce our
>>> newest and eighth member: Eric Lemoine!
>>>
>>> Eric works for Camp-to-Camp and has been a solid participant in the
>>> OpenLayers community for nearly two years now. He has made numerous
>>> contributions to the OL codebase as a committer, and his experience in
>>> the community and the greater domain of GIS make him a great addition
>>> to the committee.
>>>
>>> Please everyone, give Mr. Lemoine a very warm welcome.
>>>
>>> Erik
>>>       
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Mon, 1 Dec 2008 21:24:22 -0800
>> From: "Matt Bartolome" <[email protected]>
>> Subject: [OpenLayers-Users] using more than one Layer.TileCache in a
>>        map?
>> To: [email protected]
>> Message-ID:
>>        <[email protected]>
>> Content-Type: text/plain; charset=UTF-8
>>
>> I have some pre-generated tilecaches.
>>
>>    layer_a = new OpenLayers.Layer.TileCache( "a", tilecache_servers,
>> "62851963");
>>    layer_b = new OpenLayers.Layer.TileCache( "b", tilecache_servers,
>> "62731963", {transparent: true});
>>
>>    base_layers = [layer_a, layer_b];
>>    map.addLayers(base_layers);
>>
>> I was expecting the above to add multiple static tilecaches to my map
>> but it only adds the first layer in the array. Each by themselves
>> produces the expected result but in this example the second layer
>> doesn't get loaded (there are no web requests to it at all).
>>
>> Does Layer.Tilecache allow multiple layers?
>>
>> Thanks,
>> -Matt
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Tue, 2 Dec 2008 06:45:10 +0100
>> From: "Eric Lemoine" <[email protected]>
>> Subject: Re: [OpenLayers-Users] using more than one Layer.TileCache in
>>        a map?
>> To: "Matt Bartolome" <[email protected]>, [email protected]
>> Message-ID:
>>        <[email protected]>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi
>>
>>     
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to