Hey Jason,<div><br></div><div>Thanks! I was pretty sure I did rtfm and that's how I got to where I did... But I digress... ;-)<div><br></div><div>I'm using the basic AJAX viewer in this instance on MGE.</div><div>
<br></div><div>In the Viewer API (see I did rtfm :-) there is a Main Frame Refresh and a Map Frame Refresh, but when I call the Map Frame Refresh the whole map refreshes and goes back to the initial zoom. I guess I just expected it to behave like the context menu Refresh.</div>
<div><br></div><div>I wonder if it's because I'm wrapping this in the 'window.setInterval' call?</div><div>Do I maybe need to setup my own timer to refresh just the map frame?</div><div><br></div><div>Warren M</div>
<div><br></div><div><br><div class="gmail_quote">On Fri, Aug 13, 2010 at 1:22 AM, Jason Birch <span dir="ltr"><<a href="mailto:jason@jasonbirch.com">jason@jasonbirch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey Warren,<br>
<br>
What version of MapGuide are you using, and which framework (AJAX or Fusion)?<br>
<font color="#888888"><br>
Jason<br>
</font><div><div></div><div class="h5"><br>
On 2010-08-11, Warren Medernach <<a href="mailto:wmedernach@gmail.com">wmedernach@gmail.com</a>> wrote:<br>
> Is there a mechanism to refresh just the map and not the whole frame?<br>
> I want to refresh the map, but retain the current view/zoom, etc.<br>
><br>
> Maybe I'm missing something, but calling:<br>
><br>
> window.setInterval('GetMapFrame().Refresh()', 2000);<br>
><br>
><br>
> Doesn't seem any different than refreshing the entire web page?<br>
><br>
> Warren M<br>
><br>
</div></div><div><div></div><div class="h5">_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br></div></div>