RE: [mapguide-users] Add new layer to map

2009-01-21 Thread Mark Pendergraft
Mail List Subject: Re: [mapguide-users] Add new layer to map I don't understand what you mean. Changes to the runtime map does not go into MGStudio. Only changes to the MapDefinition xml can be seen there. Regards, Kenneth Skovhede, GEOGRAF A/S sekko970 skrev: Dear Kenneth, I need

Re: [mapguide-users] Add new layer to map

2009-01-21 Thread Kenneth Skovhede, GEOGRAF A/S
I don't understand what you mean. Changes to the runtime map does not go into MGStudio. Only changes to the MapDefinition xml can be seen there. Regards, Kenneth Skovhede, GEOGRAF A/S sekko970 skrev: Dear Kenneth, I need your help for a second problem: I apparently save successfully the new

Re: [mapguide-users] Add new layer to map

2009-01-21 Thread sekko970
Dear Kenneth, I need your help for a second problem: I apparently save successfully the new layer into library repository (the legend and the map are correctly updated, and from MGStudio the new layer is visible in layers list), but in MGStudio 'Layer by group' view, my layer doesn't appear, so t

Re: [mapguide-users] Add new layer to map

2009-01-21 Thread sekko970
You are right! Many thanks. Fabio sekko970 wrote: > > Dear all, > I need to add a layer to my map from XML definition. > > This is my code: > > Public Sub CreateLater(ByVal sessionID As String, ByVal mapName As > String, _ >ByVal newLayerName As Str

Re: [mapguide-users] Add new layer to map

2009-01-21 Thread Kenneth Skovhede, GEOGRAF A/S
You probably have to use the MgLayer class, and not the semi-absctract base class MgLayerBase: Dim newLayer As New MgLayer(resID, resourceSrvc) Regards, Kenneth Skovhede, GEOGRAF A/S sekko970 skrev: Dear all, I need to add a layer to my map from XML definition. This is my code: Publi