<div dir="ltr">Normally I would call the server side request to toggle the layer visibility with a javascript ajax call<div> and then just use javascript to refresh the map without reloading the page.<div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 5, 2021 at 4:47 PM Svlad <<a href="mailto:svlad.cjelli42@web.de">svlad.cjelli42@web.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Verdana;font-size:12px"><div>Hi, how can I programmatically change the visibility of a layer?</div>
<div>I modified and saved the map on server side but the viewer allways sends "hidelayers= layerid" in the request.</div>
<div>Is it possible top change the visibility on the client side?</div>
<div>Thanks svlad</div>
<div> </div></div></div>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote></div>