= Maestro API 2.x samples = This page showcases code samples using the 2.x version of the Maestro API * '''[wiki:maestro/MaestroAPI/samples/RuntimeMap Utilizing RuntimeMap via Maestro API]''' - a short example of getting to !RuntimeMap instance. * '''[wiki:maestro/MaestroAPI/samples/AddInitialLayer Adding a layer before startup via Maestro API]''' - an example of how to add a layer to map before the viewer loads. * '''[wiki:maestro/MaestroAPI/samples/CustomizedZoomWithWebLayout Creating a temporary WebLayout with customized zoom]''' - shows how to modify an existing !WebLayout to select the initial zoom level. * '''[wiki:maestro/MaestroAPI/samples/ModifyLayerFilter Modifying the filter on a layer]''' - shows how to modify the filter on a layer for the current user. * '''[wiki:maestro/MaestroAPI/samples/IterateLayerRules Examining all styles defined in a layer]''' - a template for examining all layer styles in a !LayerDefinition. * '''[wiki:maestro/MaestroAPI/samples/QueryFeatureSource Query Features with a filter]''' - an example of how to read features from MapGuide. * '''[wiki:maestro/MaestroAPI/samples/BrandNewSample Add your cool sample here]''' You must be logged in with an [http://www.osgeo.org/osgeo_userid/ OSGeo ID] before you can edit the page.