[Users] Base Layer and Layer Order

Andreas Hocevar ahocevar at opengeo.org
Tue Jan 25 10:55:59 CET 2011


Hi,

GeoExt uses OpenLayers.Map in allOverlays mode. To change that, construct your mapPanel with

    map: {allOverlays: false}

Then you will have the same base layer behavior as in plain OpenLayers.

Regards,
Andreas.

On Jan 25, 2011, at 10:36 , ibrahim saricicek wrote:

> Hi All,
> 
> In an application we have 3 base layers. 
> Users choose and save the base layer and the next time for that user base layer becomes the previously chosen one (it's ok for Openlayers).
> 
> But in GeoExt we couldn't "setBaseLayer". The lastly defined layer in code becomes the base and list-end layer.
> 
> Is there a way of defining layer order and base layer?
> 
> Thanks in advance..
> 
> Ibrahim Saricicek
> GIS Expert @ Mobiliz IT&Com. _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list