|
Yes, it is possible. When the viewer creates the runtime map, it places it in the root of the session repository, and names it the same as the originating resource, ea: Library://Folder/MyMap.MapDefinition becomes the runtime map: Session:xx-yy//MyMap.Map You have to open the runtime map, (using MgMap.Open). The resulting runtime map contains the original resource, in the Property "MapDefinition". Regards, Kenneth, GEOGRAF A/S Andrew DeMerchant skrev: Is it possible to get the full library path to my map, given a sessionid? I'm playing around with the 'plot to dwf' example, and would like to have it pick a PrintLayout to use based on the library path of the map the user is printing. I just can't figure out how to work backwards like that - I had a look at the API's but didn't see any means to do this.....is it possible? |
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users

