[mapguide-users] Fusion Error When Selecting From Search Results

Shamrock Shooter dan.allen at mrbgroup.com
Fri Jun 27 15:37:38 EDT 2008


I have done everything in AutoDesk Mapguide Studio 2009, so I have done no
custom programming at all.  If Studio 2009 is using the wrong viewer, then
that sounds like a bug on their end.  Would what you suggest below still be
relavant?



ralph2008 wrote:
> 
> Hi Shamrock,
> 
> I think that you are using the Ajax API viewer instead of using theFusion
> Viewer API.
> The fusion viewer API is the "MapGuideViewerApi.js" and is located in:
> "C:\Program
> Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\MapGuide"
> 
> You must referencingt this file in your script and change the some lines
> in your scripts:
> for instances: change "parent.parent.refresh()" by "Refresh()"
> 
> I hope it help you
> 
> Regards,
> 
> Rodolfo M.
> GIS Developer
> Research & Development
> Voxiva, Inc.
> 
> 
> 
> Shamrock Shooter wrote:
>> 
>> I am running MOS 2.0.1 with AutoDesk Studio 2009.  I created a search
>> button to lookup address from my tax parcels shapefile attribute data. 
>> If i run it in the basic layout it works fine.  If I run it in the fusion
>> layout, it will populate a list of values in the task pane, but when I
>> select one of the search results, it does not zoom to it in the map and
>> throws me this error:
>> 
>> Fusion Error:
>> WARNING: Exception occurred in AJAX callback.
>> SyntaxError: syntax error
>> Location: undefined (737)
>> xx)
>> 
>> Can anyone help me out?  I tried some searching but didn't find any
>> similar posts.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Fusion-Error-When-Selecting-From-Search-Results-tp18161869p18162415.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list