[OpenLayers-Users] Different set of overlays for different base layers

S.Reena reena at indiamail.com
Tue Nov 25 09:07:06 EST 2008


Thanks Christopher...its done :)

Reena.


Christopher Schmidt-4 wrote:
> 
> On Tue, Nov 25, 2008 at 01:06:00AM -0800, S.Reena wrote:
>> 
>> Hi there,
>> 
>> Is it possible to make 2 base layers such that when I click on one
>> ...some
>> overlays are displayed ..while when I click on the second , a different
>> set
>> of overlays is displayed.
>> 
>> If not this then can I make two maps corresponding to the two base layers
>> and use it accordingly .
> 
> OpenLayers has no direct/automatic support for the former at this time.
> 
> However, youc an implement it at the application level by using the
> changebaselayer event an adding/removing layers as neccesary.
> 
> Good luck,
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/Different-set-of-overlays-for-different-base-layers-tp20677418p20681857.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list