<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
@list l0
        {mso-list-id:2319597;
        mso-list-type:hybrid;
        mso-list-template-ids:1720628880 67698693 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:?;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l1
        {mso-list-id:719012600;
        mso-list-type:hybrid;
        mso-list-template-ids:-1181479628 67698693 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:?;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l2
        {mso-list-id:2146002603;
        mso-list-type:hybrid;
        mso-list-template-ids:-15592958 67698693 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:?;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
</head>
<body link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Hi,</span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>I have<span class=text-cell> migrated different applications
(‘theme layer’ and ‘query’) onto fusion. The following lines
of the javascript code encounter errors: </span></span></font></p>
<ul style='margin-top:0cm' type=square>
<li class=MsoNormal style='mso-list:l2 level1 lfo1'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>parent.parent.Refresh();</span></font></li>
<li class=MsoNormal style='mso-list:l2 level1 lfo1'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>parent.parent.mapFrame.ZoomToView(feature.centerX,
feature.centerY, scale, true);</span></font></li>
<li class=MsoNormal style='mso-list:l2 level1 lfo1'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>parent.parent.mapFrame.SetSelectionXML(TrimString(selectionXml));</span></font></li>
</ul>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>For the “theme layer” application, I have
referenced the “MapGuideViewerApi.js” in the script and I have
changed the “parent.parent.Refresh();” by “Refresh()” without
success. </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Errors referenced in firebug:</span></font></p>
<ul style='margin-top:0cm' type=square>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><span class=sourcerowtext><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Fusion
is not defined</span></font></span></li>
</ul>
<p class=MsoNormal style='margin-left:18.0pt'><span class=sourcerowtext><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>MapGuideViewerApi.js() </span></font></span><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>MapGuideViewerApi.js<span class=sourcerowtext> (line172)</span></span></font></p>
<p class=MsoNormal style='margin-left:18.0pt'><span class=sourcerowtext><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Fusion.Tool.Canvas.prototype.getMap
= function()</span></font></span></p>
<p class=MsoNormal><span class=sourcerowtext><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> </span></font></span></p>
<ul style='margin-top:0cm' type=square>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Fusion is undefined</span></font></li>
</ul>
<p class=MsoNormal style='margin-left:18.0pt'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Refresh() MapGuideViewerApi.js<span class=objectlink-sourcelinkobjectlink> (line 33)</span></span></font></p>
<p class=MsoNormal style='margin-left:18.0pt'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>OnApplyThemeReadyStateChange()</span></font></p>
<p class=MsoNormal><span class=sourcerowtext><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> </span></font></span></p>
<p class=MsoNormal><span class=sourcerowtext><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>For the “query”
application, I have no solution. </span></font></span></p>
<p class=MsoNormal><span class=sourcerowtext><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> </span></font></span></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Could you help me to resolve these problems? </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Thanks,</span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Arnaud De Groof</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
<!--[object_id=#spacebel.be#]--><P><FONT color=#0000ff><FONT face=Tahoma><STRONG>
<HR>
<FONT size=2>E-MAIL DISCLAIMER</FONT></STRONG></FONT></FONT></P>
<P><FONT face=Arial color=#0000ff size=1>The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden.</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free.<BR>Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail.</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>SPACEBEL denies all liability where E-mail is used for private use.</FONT></P>
<P><FONT size=2><FONT face=Arial color=#0000ff size=1>SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system.<BR></FONT></P><FONT face=Arial color=#0000ff>
<HR>
</FONT></FONT>
<P></P></body>
</html>