[fusion-users] MapGuide Ent 2010: Fusion and digitize error

Matteo matteo.conte1979 at libero.it
Fri Jul 3 03:05:01 EDT 2009


Hi Paul,
   I give the same error in IE and Firefox. The file CanvasTool.js don't
have a getMap function so to resolve the problem I must add this function to
the file

getMap: function() {
	    var map=this.oMap;
		if (typeof(map) == "undefined"){
		  map=this.map;
		}
		return map;
	},

Now works fine
Regards Matteo



Paul Spencer-2 wrote:
> 
> It seems like your template is using the single file, compressed build  
> of Fusion ... which is singularly unhelpful for debugging problems  
> since the code is stripped down.  You need to change the template's  
> index.html file to using fusion.js instead of fusionSF.js (or whatever  
> it is) and then we might get some more helpful errors.
> 
> What web browser are you using?  IE?  Do you get the same error in  
> other browsers (i.e. Firefox)
> 
> Paul
> 
> On 2-Jul-09, at 8:27 AM, Matteo wrote:
> 
>>
>> Hi,
>>  I try to develop an application with Fusion for draw some object.  
>> When I
>> call the digitize function of MapGuideViewerApi.js (ex  
>> DigitizePolygon) I
>> get an error on activateCanvas function at this line
>> var C=this.getMap()
>> Can you help me?
>> Regards Matteo
>> -- 
>> View this message in context:
>> http://n2.nabble.com/MapGuide-Ent-2010%3A-Fusion-and-digitize-error-tp3194766p3194766.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
> 
> 
> __________________________________________
> 
>     Paul Spencer
>     Chief Technology Officer
>     DM Solutions Group Inc
>     http://research.dmsolutions.ca/
> 
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
> 
> 


-- 
View this message in context: http://n2.nabble.com/MapGuide-Ent-2010%3A-Fusion-and-digitize-error-tp3194766p3199859.html
Sent from the Fusion Users mailing list archive at Nabble.com.



More information about the fusion-users mailing list