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
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to