<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=GB2312" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I have reported a bug that may be related:<br>
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/ticket/173">http://trac.osgeo.org/mapguide/ticket/173</a><br>
<br>
If it is not related, you should create a ticket for the problem.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
champingfor skrev:
<blockquote cite="mid:200709261653030370779@163.com" type="cite">
<pre wrap="">Hi,Kenneth, GEOGRAF A/S
        Thank you for your replay!
actually ,the same code goes well in mgos 1.1 ,but raise the exception in mgos 1.2 .
        so, there must be some difference between the two version which I dont' know .
        so ,maybe I have to switch back to mgos1.1 to cross it over .
But,If someone knows the reasion ,please let me know .Thank you !
        
======= 2007-09-26 01:57:59 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======
</pre>
<blockquote type="cite">
<pre wrap="">I have no trouble adding temporary feature sources to a map.
You might get that exception if you try to save the wrong class instance.
Beware that the classes are inherited, and calling Save on the base
class might give that exception.
Also beware that there are TWO types of maps, a mapdefinition, and a
runtime map.
You create a runtime map based on a map definition, but not the other way.
You cannot save a runtime map onto a mapdefinition or the other way around.
Take a look at the viewer files, there is some code that does this when
creating buffers.
The code is avalible in the programming language you installed mapguide
with.
Most of the people who read the "internals" list also read the users
list, so there is no need to cross post.
Regards, Kenneth, GEOGRAF A/S
Champin skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Is that a BUG?adding a temp layer to map, Map.Save() raise
MgNotImplementedException
I have post some thread in MapGuide Users list,but there is no answer yet.
<a class="moz-txt-link-freetext" href="http://www.nabble.com/map.Save%28%29-raise-MgNotImplementedException%EF%BC%8Cprogrammatically-add-layer-to-a-map-tf4510561s16610.html">http://www.nabble.com/map.Save%28%29-raise-MgNotImplementedException%EF%BC%8Cprogrammatically-add-layer-to-a-map-tf4510561s16610.html</a>
<a class="moz-txt-link-freetext" href="http://www.nabble.com/How-to-Create-a-layerDefinition-programmtically-%2C-using-xml--tf4514122s16610.html">http://www.nabble.com/How-to-Create-a-layerDefinition-programmtically-%2C-using-xml--tf4514122s16610.html</a>
Map.Save(Resource) raise MgNotImplementedException when I am trying to save
the temp layer to the map.
the same code goes well in MGE 2007(MGOS 1.1?) but failed in MGOS 1.2.
so, is this a bug? if not, what am i doing wrong?
Thanks
</pre>
</blockquote>
<pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
= = = = = = = = = = = = = = = = = = = =
                        
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡
                                
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡champingfor
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡<a class="moz-txt-link-abbreviated" href="mailto:champingfor@163.com">champingfor@163.com</a>
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2007-09-26
---------------------------------
MapGuide Developer Network(China)
<a class="moz-txt-link-freetext" href="http://www.mgdn.com.cn">http://www.mgdn.com.cn</a>
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>