I found the problem.
For Windows Server 2012, the mapviewernet mapframe.aspx was patched to be
able to open a Map instead of create a Map.
This is why in a new platform, the created map session was ignored.
Thanks frieda for your help.
--
Sent from:
I did more tests:
I tried to display the map created with MgMap using
GETDYNAMICMAPOVERLAYIMAGE mapagent's operation.
This map is well filtered.
So the problem is the WebLayout.
WebLayout content looks like this:
http://www.w3.org/2001/XMLSchema-instance;
Hi Frieda,
Thanks for your response.
In your application, do you manipulate the MgMap and an associated WebLayout
?
It seems to me that the WebLayout doesn't take into account the created map
session.
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Hi Jackie,
Yes, its sounds similar, but i've already check these method calls.
Now the code looks like this:
MgMap map = new MgMap(siteConn);
// strMapDefinition is extracted from web layout content
MgResourceIdentifier mapDefinitionResId = new
MgResourceIdentifier(strMapDefinition);
mapName =
I forgot to say that I also tested MapGuide 3.1 without results.
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
Hi,
I have an old MG 2.5 application that use Ajax Viewer and works well on a
Windows Server 2008 and 2012.
This application have an aspx page as entry point, that read the library
WebLayout identifier defined in url parameter. The aspx extract the
MapDefinition, and manipulates a MgMap instance