[fusion-users] JxLib - 'Map' element outside a Jx.Splitter container

firework alex_taillon at msn.com
Thu Jan 19 22:00:49 EST 2012


Hi all,

I'm trying to get rid off the splitter that contains the Jx.Panel that holds
the 'Map' element along with the toolbar and load the panel in a separate
Jx.Layout which is part of the rest of my 'thePage' layout.

Here is what I tried to do:

new Jx.Layout('mainContent',{top:140, right:200});

var topToolbar = new Jx.Toolbar({id: 'Toolbar', position: 'top'});
		
var mainPanel = new Jx.Panel({
	id: 'Main',
	*contendId : 'Map',*
	hideTitle: false,
	toolbars: [topToolbar]
}).addTo('mainContent');

new Jx.Layout('Main', {bottom: 30});
new Jx.Layout('Statusbar', { height: 30, top: null});	

all the divs are there and load but it will not display the map even if the
toolbar shows and is selectable and the navigator working. I can even, but
blindly,  move the map with the according widget. No javascript errors and
the divs 'Map' seems to be well formatted with the Map_event_id, styles,
etc.

Is an ApplicationDefinition.xml JSON loading problem???

Any thoughts on that matter?

thx


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/JxLib-Map-element-outside-a-Jx-Splitter-container-tp3882602p3882602.html
Sent from the Fusion Users mailing list archive at Nabble.com.


More information about the fusion-users mailing list