<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I also find the naming system quite confusing.<br>
Generally, most map operations can take either a MapName or
MapDefinition.<br>
The MapName must sometimes be entered with either a full path, or the
map name.<br>
Sometimes both works, sometimes only one works. I would personally
prefer only the full path.<br>
<br>
I don't know which behavior would be classifed as "bugged", but I share
your confusion.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
Gunter Becker skrev:
<blockquote cite="mid:13896658.post@talk.nabble.com" type="cite">
  <pre wrap="">OK I've found out how to change my code that this works again. 
I had to open the map with the MapName not with the ResourceIdentifier:

MgMap map = new MgMap(); 
MgResourceIdentifier mapId = new MgResourceIdentifier("Session:" +
MgSessionId + @"//" + MapName + "." + MgResourceType.Map); 
map.Open(ResourceService, MapName); // map.Open(ResourceService, mapId) -
That's wrong

But I'm still confused because I don't know what the difference is between
opening a runtime map with the ResourceIdentifier or the MapName. Until now
I supposed that these both methods have the same result. Maybe someone can
explain this behavior. Was it a bug in the former release of MapGuide or is
it one now?

Gunter



Kenneth, GEOGRAF A/S wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Are you mixing som 1.1 and 1.2 API's ?
There were some changes to how the Layers are stored in 1.2.

Make sure your application has the same DLL's as present in the 
installation

Regards, Kenneth, GEOGRAF A/S

    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>