[OpenLayers-Users] How the OL MapGuide layer class relates to the MapDefinition

Zac Spitzer zac.spitzer at gmail.com
Mon Mar 16 08:57:41 EDT 2009


$layerCollection = $map->GetLayers();

$layer->GetName()
$layer->GetObjectId()

z

On Mon, Mar 16, 2009 at 11:50 PM, gingerbbm <stuart.jones at jacobs.com> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168



More information about the Users mailing list