Hoi Berend, The language requires a reset of the application but this can be doen in runtime: if you take a look to the i18n example: http://demo.communitymapbuilder.org/demo/mapbuilder/demo/i18n/index.html you see different flags which are used to change the language. To change the size of the map you have two options: you can make the map-div-size relative to the browser window, if you resize your browser window the map-div will resize accordingly or you could try to set the width/height of the DIV your self. (document.getElementById('mapDivId').style.width="width") I believe that should work, but I'm not sure.
Steven Veldkamp, Berend wrote: > > This should be fairly simple: How do I change certain map parameters > at runtime, i.e. with JavaScript? For instance, how can I change the > size of the map, or the language (config.lang)? > > I already found out how to set the map extent > (config.objects.mainMap.extent.zoomToBox(ul,lr)), but I can't find > similar functions for other parameters. > > Regards, Berend > > -- > *Grontmij | GIS & ICT* > De Holle Bilt 22, 3732 HM De Bilt > Postbus 203, 3730 AE De Bilt > Tel. +31-30-2207692 / +31-6-13271634 > _http://www.grontmij.com_ > > ------------------------------------------------------------------------ > > << Please read our E-mail Disclaimer at > http://emaildisclaimer.grontmij.com >> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Mapbuilder-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
