<div dir="ltr">what version of mapguide server are you running? <br><br>please always state relevant versions & osĀ when posting questions<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 10:04 PM, Ryan Northcott <span dir="ltr"><<a href="mailto:rnorthcott@gmail.com" target="_blank">rnorthcott@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Don't set a filter on your layer and on map load set it to 1.<br>
<br>
- sent via mobile iOS5<br>
<div class="HOEnZb"><div class="h5"><br>
On 2013-09-12, at 6:51 AM, ElbrusNT <<a href="mailto:elbrusnt@gmail.com">elbrusnt@gmail.com</a>> wrote:<br>
<br>
> Hi everyone.<br>
><br>
> I have a layer containing more than 540 objects.<br>
> There is a status field in layer having values 0 and 1 only.<br>
><br>
> In MapGuide Maestro I set the Layer filter to *status=1* initially.<br>
> I load the map from browser. It returns 20 objects as expected.<br>
><br>
> Then I changed the layer filter to *status=0* from PHP Dynamically.<br>
> Now, it is expected to return 520 objects.<br>
> But it still returns only 20 objects as in previous condition(status=1)<br>
><br>
> Since layer initially created with status=0, I cannot get other objects by<br>
> changing layer filter to status=1.<br>
> Can anybody help me about how to regenerate layer from mapguide without map<br>
> reload?<br>
><br>
> Regards,<br>
> Elbrus<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Change-Layer-Filter-dynamically-tp5077490.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/Change-Layer-Filter-dynamically-tp5077490.html</a><br>
> Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> mapguide-users mailing list<br>
> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Zac Spitzer<br>+61 405 847 168<br><br></div>
</div>