<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You can only display WebLayouts with the viewer.<br>
You must also enter the full path to the weblayout:<br>
<pre wrap="">Library://mylayout.WebLayout</pre>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
dorra2007 skrev:
<blockquote cite="mid:15180082.post@talk.nabble.com" type="cite">
  <pre wrap="">i have an error message: Invalid repository type.
Whereas the map is displayed in mapguide studio.

NB: I use postgis as data source.



Kenneth, GEOGRAF A/S wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Yes, the mapviewerajax should be configured with the correct default page.
If you use the "mapviewerjava", you must add ajaxviewer.jsp page name.
The full url becomes:

/mapguide/mapviewerjava/ajaxviewer.jsp?weblayout=Library://mylayout.WebLayout&amp;username=Anonymous&amp;password=



Regards, Kenneth, GEOGRAF A/S



dorra2007 skrev:
    </pre>
    <blockquote type="cite">
      <pre wrap="">  Thank you Kenneth for the code segment; 
But there is no folder named mapviewerajax; so I have changed it to
mapviewerjava. I have tried it and the result is the title (This is my
webpage with an embedded map!)+ blank: the map isnot displayed (instead
of
the map lays a blank square.)
Have you an idea about what the problem can be?


Kenneth, GEOGRAF A/S wrote:
  
      </pre>
      <blockquote type="cite">
        <pre wrap="">Yes, it is possible.

My favorite  method is to embed the Map in an Iframe:
&lt;html&gt;
&lt;body&gt;
&lt;h1&gt;This is my webpage with an embedded map!&lt;/h1&gt;
&lt;iframe 
src="/mapguide/mapviewerajax/?weblayout=Library://mylayout.WebLayout&amp;username=Anonymous&amp;password=" 
width="100%" height="100%"&gt;&lt;/iframe&gt;
&lt;/body&gt;
&lt;/html&gt;

By adding commands, do you mean from code?
What sort of commands do you want to add, and why is Studio not an
option?

Regards, Kenneth, GEOGRAF A/S



dorra2007 skrev:
    
        </pre>
        <blockquote type="cite">
          <pre wrap="">Hello all;
I have one precise question: Is it possible to display the mapguide map
in
my own web page?

If yes; what should I do? And how could I add commands without using
mapguide studio?

Thank you in advance.
  
      
          </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>
    <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>