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

ralph2008 rmoreno at voxiva.net
Fri Jun 27 15:24:37 EDT 2008


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-tp18161869p18162189.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list