<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
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.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{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:Calibri;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'>Hello,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'>Sorry, I’m not sure this message should
belong to the <st1:PersonName ProductID="mapserver list" w:st="on">mapserver
list</st1:PersonName> since it tends to be more like a Fusion issue.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'>I use Fusion to display a map (with mapserver) that
gets its layers from PostGIS. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'>I do change some shapes in the database, then I
call Fusion.getWidgetsByType(‘RefreshMap’)[].execute() to refresh
the map (in order to display the new data).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'>The interesting thing is that the refresh takes the
changes into account when I run a browser locally on the machine where Apache
Mapserver is running but not from another machine (in both cases, the map disappears
then re-appears on the webpage)…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'>I tried to introduce a sleep at the end of the code
that updates the database to make sure it’s not a timing problem. I also
tried to use two exact same versions of Firefox, but no result. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'>However, if I zoom/unzoom I can see that the change
has been applied.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'>Any idea? Thanks in advance.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'>Cheers,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-GB style='font-size:
10.0pt;font-family:Calibri'>Ganael<o:p></o:p></span></font></p>
</div>
</body>
</html>