Hey Jason, Thanks! I was pretty sure I did rtfm and that's how I got to where I did... But I digress... ;-)
I'm using the basic AJAX viewer in this instance on MGE. 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. I wonder if it's because I'm wrapping this in the 'window.setInterval' call? Do I maybe need to setup my own timer to refresh just the map frame? Warren M On Fri, Aug 13, 2010 at 1:22 AM, Jason Birch <[email protected]> wrote: > Hey Warren, > > What version of MapGuide are you using, and which framework (AJAX or > Fusion)? > > Jason > > On 2010-08-11, Warren Medernach <[email protected]> wrote: > > Is there a mechanism to refresh just the map and not the whole frame? > > I want to refresh the map, but retain the current view/zoom, etc. > > > > Maybe I'm missing something, but calling: > > > > window.setInterval('GetMapFrame().Refresh()', 2000); > > > > > > Doesn't seem any different than refreshing the entire web page? > > > > Warren M > > > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users >
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
