Re: Re[mapguide-users] freshing a map/layer... from server side, avoiding JavaScript

2007-11-13 Thread Maksim Sestic
Kenneth, you're 100% right about this - I tried to give it a run with a custom viewer but also gave up :-) somewhere in the middle since good server push implementation is sooo specific. Also, thank you for sharing this JavaScript example. I'm currently using similar approach, but alas, ASP.NET

Re: Re[mapguide-users] freshing a map/layer... from server side, avoiding JavaScript

2007-11-13 Thread Kenneth, GEOGRAF A/S
I don't think that it is the MG libraries that lack the "push", it is the HTTP protocol/Web browser that is not well suited for this. There are ways to perform a server push, but it is uncommon, so examples can be hard to find. The problem would be getting the viewer to respond to such pushes.

Re: Re[mapguide-users] freshing a map/layer... from server side, avoiding JavaScript

2007-11-13 Thread Maksim Sestic
Just one more thing to add... :-) I don't understand why MG libraries lack that "push" functionality. If there's a session established, then there's a way to influence the representation of a map as user sees it - refreshing, panning, zooming, all sorts of pre and post-processing... using existing

Re: Re[mapguide-users] freshing a map/layer... from server side, avoiding JavaScript

2007-11-13 Thread Maksim Sestic
Seems that turning to JavaScript is unavoidable at the moment :-) But it would be nice to have this possibility of map/layer refreshing from the server side, too. Here's why... I created couple of web services (currently on SOAP) talking through my dll on server side with MG libraries. Depending

Re: Re[mapguide-users] freshing a map/layer... from server side, avoiding JavaScript

2007-11-12 Thread Kenneth, GEOGRAF A/S
It sounds as if you want to do a "server push" rather than the more common "client pull". I'm not sure that it is easily accomplished, but since the AJAX viewer contains a lot of JS code, I don't see any problems in an extra refresh call. Regards, Kenneth, GEOGRAF A/S Zac Spitzer skrev: I'm

Re: Re[mapguide-users] freshing a map/layer... from server side, avoiding JavaScript

2007-11-11 Thread Zac Spitzer
I'm pretty sure your going to need to use javascript. The mapguide javascript API is pretty solid and mature, if you check the archive of this newsgroup there are not many posts i can remember where people are having issues with consistency between browser implementations. Use the recommended appr

Re[mapguide-users] freshing a map/layer... from server side, avoiding JavaScript

2007-11-10 Thread Maksim Sestic
I'm writing some server app that imposes occasional changes to certain layers, based on data collected in real time. Therefor, it requires layer/map refresh initiated by server-side application. Since it's fully written in ASP.NET (Ajax.NET) utilizing web services+events, I'm trying to avoid JavaS