[fusion-users] I do not recognize "Fusion" in my application: "Fusion is not defined"

Fixi apcr at tragsa.es
Fri May 14 06:46:40 EDT 2010


Hello,

I have this code to add a layer to my map:

function refrescaMapa()
{
	var map = Fusion.getMapByIndice(0); 
	
	var url = PM_XAJAX_LOCATION + 'refrescaMapa.php';
	var params = {
		mapname: map._sMapname,
		session: map.getSessionID()
	};
	var options = {
		onSuccess: OpenLayers.Function.bind(map.reloadMap, map),
		parameters: params	
	};
	Fusion.ajaxRequest(url, options);	
}


The problem is that it recognizes "Fusion" and the browser returns me the
following javascript error:

Fusion is not defined

What do I have to do to make me acknowledge the use of Fusion Framework?.
The previous code I have it added the  "javascript/src/xmlhttp.js".

Help, please.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/I-do-not-recognize-Fusion-in-my-application-Fusion-is-not-defined-tp5050396p5050396.html
Sent from the Fusion Users mailing list archive at Nabble.com.


More information about the fusion-users mailing list