[Mapbender-users] call Mapbender-instance with WMS-URL

Christoph Baudson (Wheregroup) christoph.baudson at wheregroup.com
Tue Apr 13 11:11:24 EDT 2010


Milad84 schrieb:
> Hi guys,
>
> I m new to Mapbender and have already a question. I would like to call an
> Mapbender instance with a WMS-URL as a parameter, so that the
> Mapbender-client opens with the WMS already loaded.
> is that possible?
>
> thanks
> Milad 
>   

It should work like this

(1) Compose your URL like this

http://mapbender.telascience.org/mapbender_trunk/frames/login.php?name=demo&password=demo&mb_user_myGui=template_basic

and append a GET parameter

&wms1=<your urlencoded capabilities url>

(2) make sure you have the element "loadWMC" in your application, check 
"edit GUI elements.

(3) make sure "loadFromSession" is activated (set to 1) in "loadWMC". 
Click the link "loadWMC" in "edit GUI elements" and check. If not 
present, add it,

name: loadFromSession
value: 1
type: php var

Please share your experience. I would like to know if it works for you.

Thanks,

Christoph

-- 

----------------------------------

Aufwind durch Wissen!

Qualifizierte OpenSource-Schulungen
bei der www.foss-academy.eu

---------------------------------- 

_______________________________________

W h e r e G r o u p GmbH & Co. KG

Siemensstraße 8
53121 Bonn
Germany

Christoph Baudson
Anwendungsentwickler

Fon: +49 (0)228 / 90 90 38 - 15
Fax: +49 (0)228 / 90 90 38 - 11
christoph.baudson at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
_______________________________________

Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
_______________________________________ 



More information about the Mapbender_users mailing list