<!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">
You should also save the LayerDefinition.<br>
<br>
Beware that saving the LayerDefinition will change the layer for all
current and future users.<br>
Instead you need to save a copy, and make the layer.ResourceId in line
43 point to this temp one instead.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
euskalmap skrev:
<blockquote cite="mid:1247667933649-3263518.post@n2.nabble.com"
type="cite">
<pre wrap="">Hi,
thanks, it's running.
so, the last question : i have adding 3 lines in my code to update the
filter of the layer (see <a class="moz-txt-link-freetext" href="http://patxi.mayol.free.fr/public/test2.pdf">http://patxi.mayol.free.fr/public/test2.pdf</a> my
sample , line 47).
This new modify do not run : How can i associate the new filter with the
layer ?
euskalmap.
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">You should also set
"layer.Visible = true;"
when adding the layers.
Regards, Kenneth Skovhede, GEOGRAF A/S
euskalmap skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
In Masetro, I have 1 layout with a reference to a map (Library://Ag
Base/Carte/MyMap.MapDefinition); the map MyMap contents no layers because
i
want to load the layers dynamicly.
Another map MyMap_NEW contents 5 layers.
So, my code modify the resource in layout (mapdefinition become
Library://Ag
Base/Carte/MyMap_NEW.MapDefinition) and add the layers from MyMap_NEW.
Here is my <a class="moz-txt-link-freetext" href="http://patxi.mayol.free.fr/public/test2.aspx">http://patxi.mayol.free.fr/public/test2.aspx</a> code
when i load my web page, i see temporarily the layers on the left and 2
seconds later, they disappear : and no map is displaying!!
Have you an idea ?
</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=""><!---->
</pre>
</blockquote>
</body>
</html>