$layerCollection = $map->GetLayers(); $layer->GetName() $layer->GetObjectId()
z On Mon, Mar 16, 2009 at 11:50 PM, gingerbbm <[email protected]> wrote: > > Hmm. Can I not use the "showLayers" and "hideLayers" options in the OL > MapGuide layer constructor? Presumably I could then set up 20 OL MG layers > pointing to a single MapDefinition that contains my 20 layers, defining > which to show/hide. > > I'm creating a MapGuide runtime map, returning the session ID to the client, > so in addition I need to return the layer GUIDs. The question is, how do I > get these GUIDs? > -- > View this message in context: > http://n2.nabble.com/How-the-OL-MapGuide-layer-class-relates-to-the-MapDefinition-tp2479970p2485746.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
