[mapguide-users] Change Layer Filter dynamically
Zac Spitzer
zac.spitzer at gmail.com
Wed Sep 18 19:12:59 PDT 2013
what version of mapguide server are you running?
please always state relevant versions & os when posting questions
On Thu, Sep 12, 2013 at 10:04 PM, Ryan Northcott <rnorthcott at gmail.com>wrote:
>
> 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
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
--
Zac Spitzer
+61 405 847 168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130919/84c436cd/attachment.html>
More information about the mapguide-users
mailing list