Sorry, not really familiar with the AJAX viewer, and not at a PC where I can dig into the template files.
...but if the context menu is doing it, I wouldn't be surprised if there is some way to reach in and address that functionality, bypassing the Viewer API (if it doesn't have a non-destructive refresh). On 2010-08-13, Warren Medernach <[email protected]> wrote: > 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
