[mapguide-users] Change Layer Filter dynamically
Ryan Northcott
rnorthcott at gmail.com
Thu Sep 12 05:04:23 PDT 2013
Don't set a filter on your layer and on map load set it to 1.
- sent via mobile iOS5
On 2013-09-12, at 6:51 AM, ElbrusNT <elbrusnt at gmail.com> wrote:
> Hi everyone.
>
> I have a layer containing more than 540 objects.
> There is a status field in layer having values 0 and 1 only.
>
> In MapGuide Maestro I set the Layer filter to *status=1* initially.
> I load the map from browser. It returns 20 objects as expected.
>
> Then I changed the layer filter to *status=0* from PHP Dynamically.
> Now, it is expected to return 520 objects.
> But it still returns only 20 objects as in previous condition(status=1)
>
> Since layer initially created with status=0, I cannot get other objects by
> changing layer filter to status=1.
> Can anybody help me about how to regenerate layer from mapguide without map
> reload?
>
> Regards,
> Elbrus
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Change-Layer-Filter-dynamically-tp5077490.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list