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

Kenneth, GEOGRAF A/S ks at geograf.dk
Mon Nov 12 03:25:22 EST 2007


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 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 approach, it's documented and supported. Any other 
> approach,
> will most likely cause headaches down the track as mapguide evolves.
>
> What are the security reasons?
>
> z
>
>
> On Nov 10, 2007 10:18 PM, Maksim Sestic <max at geoinova.com 
> <mailto:max at geoinova.com>> wrote:
>
>
>     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 <http://ASP.NET> (Ajax.NET) utilizing web
>     services+events, I'm trying to
>     avoid JavaScript as much as possible due to consistency and security
>     reasons.
>
>     I guess it's presently not possible to issue a refresh on
>     map/layer without
>     calling JavaScript function from client side. Is there any
>     workaround to
>     this?
>
>     Regards,
>     Maksim Sestic
>     --
>     View this message in context:
>     http://www.nabble.com/Refreshing-a-map-layer...-from-server-side%2C-avoiding-JavaScript-tf4782233s16610.html#a13681172
>     Sent from the MapGuide Users mailing list archive at Nabble.com
>     <http://Nabble.com>.
>
>     _______________________________________________
>     mapguide-users mailing list
>     mapguide-users at lists.osgeo.org <mailto:mapguide-users at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
> -- 
> Zac Spitzer
> http://zacster.blogspot.com/
> +61 405 847 168 (aussie moible)
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20071112/c8640850/attachment.html


More information about the mapguide-users mailing list