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

Rachot Moragraan moo at ci.garden-grove.ca.us
Mon Jan 23 17:29:35 EST 2012


Hello firework,

have you resolved this? if not, do you mind providing a link to live sample please?



----- Original Message -----
From: "firework" <alex_taillon at msn.com>
To: fusion-users at lists.osgeo.org
Sent: Thursday, January 19, 2012 7:00:49 PM
Subject: [fusion-users] JxLib - 'Map' element outside a Jx.Splitter container

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.
_______________________________________________
fusion-users mailing list
fusion-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fusion-users


More information about the fusion-users mailing list