[mapguide-users] Troubleshooting Ajax Viewer Windows Server 2016 application migration
tuceda
tanguy.uceda at 1spatial.com
Tue Mar 24 01:29:49 PDT 2020
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 = mapDefinitionResId.GetName();
//map.Create(resourceService, mapDefinitionResId, mapName);
map.Create(mapDefinitionResId, mapName);
// set filters to some layers ...
//map.Save(resourceService, mapStateId);
map.Save();
This works well on a Windows Server 2012 or on my personal computer (Windows
8).
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
More information about the mapguide-users
mailing list