Hi, On Tue, Dec 2, 2008 at 8:11 PM, Robert Hicks <[EMAIL PROTECTED]> wrote: > Is it possible to load multiple contexts, one being WMC and the other OWS? I > want to use my existing WMC context but replace Demis with a base layer of > Google maps. Is there a better way to do this?
I assume you are asking if it is possible to load multiple contexts for one map. Unfortunately not. Replacing Demis with GMaps does not only require exchanging a layer, but also switching to a different projection (EPSG:900913). If, however, you are familiar with JavaScript, you can register a listener for the context's loadModel event, and replace the base layer (config.objects.mainMap.map.baseLayer) with a Google layer. In that case you would just remove the demis layer from your context. Regards, Andreas. -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
