AW: [mapguide-users] Re: dynamic filter for Layers in Maestro possible?

Stefanie Siegel s.siegel at isb-siegel.de
Wed Mar 14 03:54:15 EDT 2012


Thank you for helping! Sounds like the problem should be solvable.

I'll try the suggested way.


-----Ursprüngliche Nachricht-----
Von: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] Im Auftrag von Jamo
Gesendet: Mittwoch, 14. März 2012 04:00
An: mapguide-users at lists.osgeo.org
Betreff: [mapguide-users] Re: dynamic filter for Layers in Maestro possible?

Generate a layer at runtime taking the user login/id as a variable to be
used in the layers filter.
Refer to the buffer command for some code samples on how to add a layer at
runtime.

I would suggest building your layer.templ from an existing layer then simply
make the filter a variable so all you do is replace the %s with your filter.

There should be plenty of examples of runtime layers already posted on here
I know It took me a while to get my head around how to write a runtime layer
to the map but it's quiet easy once you've got the bones down.


--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/dynamic-filter-for-Layers-in-Maestro-pos
sible-tp4573151p4576759.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