[mapguide-users] programmatically add layer to initial map

2007-08-13 Thread Carl Grice
Hi, I am trying to programmatically filter and add a layer to a map that exists in the repository before the map is initially loaded in the clients viewer. The steps i am performing are as follows; 1)Initialize the web teir and open site 2)Create a new session and open a site connection 3)Use ma

RE: [mapguide-users] programmatically add layer to initial map

2007-08-13 Thread Carl
s.osgeo.org Subject: [mapguide-users] programmatically add layer to initial map Hi, I am trying to programmatically filter and add a layer to a map that exists in the repository before the map is initially loaded in the clients viewer. The steps i am performing are as follows; 1)Initialize th

Re: [mapguide-users] programmatically add layer to initial map

2007-08-13 Thread Kenneth, GEOGRAF A/S
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Carl Grice Sent: Monday, August 13, 2007 10:01 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] programmatically add layer to initial map Hi, I am trying to programmatically filter and add a layer to a ma

RE: [mapguide-users] programmatically add layer to initial map

2007-08-13 Thread Scott, Brian
users] programmatically add layer to initial map Hi, I am trying to programmatically filter and add a layer to a map that exists in the repository before the map is initially loaded in the clients viewer. The steps i am performing are as follows; 1)Initialize the web teir and open site 2)Create a new sessio

RE: [mapguide-users] programmatically add layer to initial map

2007-08-13 Thread Carl
Mail List Subject: Re: [mapguide-users] programmatically add layer to initial map When the viewer loads, it creates a map from the weblayout/mapdefinition passed. Your runtime map gets overwritten when the viewer starts. Instead you can do this: Initialize web tier Create a session, and open conne

Re: [mapguide-users] programmatically add layer to initial map

2007-08-14 Thread Kenneth, GEOGRAF A/S
y the response. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth, GEOGRAF A/S Sent: 13 August 2007 15:16 To: MapGuide Users Mail List Subject: Re: [mapguide-users] programmatically add layer to initial map When the viewer loads, it creates a map from

RE: [mapguide-users] programmatically add layer to initial map

2007-08-16 Thread Carl
delay the response. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth, GEOGRAF A/S Sent: 13 August 2007 15:16 To: MapGuide Users Mail List Subject: Re: [mapguide-users] programmatically add layer to initial map When the viewer loads, it creates a map

Re: [mapguide-users] programmatically add layer to initial map

2007-08-16 Thread Kenneth, GEOGRAF A/S
Web Site: http://www.keynetix.com IMPORTANT: Please address all support & sales correspondence [EMAIL PROTECTED] Addressing support questions to individuals may delay the response. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth, GEOGRAF A/S Sent

RE: [mapguide-users] programmatically add layer to initial map

2007-08-16 Thread Carl
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth, GEOGRAF A/S Sent: 13 August 2007 15:16 To: MapGuide Users Mail List Subject: Re: [mapguide-users] programmatically add layer to initial map When the viewer loads, it creates a map from the weblayout/mapdefinition passed. Your runtime map

Re: [mapguide-users] programmatically add layer to initial map

2008-10-14 Thread Galois
Hello, if u find a way to solve your problem, can u plZ show me some sample code. I'm trying also to add a layer via .NET and I'm going really crazy with that thing... Thx in advance! Carl Grice wrote: > > Hi, > > I am trying to programmatically filter and add a layer to a map that > exist

Re: [mapguide-users] programmatically add layer to initial map

2008-10-14 Thread Kenneth Skovhede, GEOGRAF A/S
This is a PHP version of the same: http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/AddLayerToInitialMap If you are using .Net, be aware of the UTF-8 BOM problem, as it validates, but fails to create the map. If you are using .Net, you can try the MaestroAPI: http://trac.osgeo.org/mapguide/w