Re: [mapguide-users] Change Layer Filter dynamically

2013-09-18 Thread Zac Spitzer
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 rnorthc...@gmail.comwrote:


 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 elbru...@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@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users




-- 
Zac Spitzer
+61 405 847 168
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Change Layer Filter dynamically

2013-09-12 Thread Ryan Northcott

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 elbru...@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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users