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
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
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
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
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
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
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
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
[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
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
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
11 matches
Mail list logo