<!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">
If you want to create a WebLayout using the MaestroAPI, simpy do:<br>
<tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MaestroAPI.ServerConnectionI con; //You need this from
the code in the example<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MaestroAPI.WebLayout layout = new MaestroAPI.WebLayout();<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; layout.Map = new MaestroAPI.MapType();<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; layout.Map.ResourceId = "Library://mymap.MapDefinition";<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; con.SaveResourceAs(layout, "Library://mylayout.WebLayout");<br>
</tt><br>
You might also want to add some buttons and set other options.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
padmini godavarthi skrev:
<blockquote cite="mid:20730049.post@talk.nabble.com" type="cite">
  <pre wrap="">Hi,
Thanks for u r reply.
Actually i have created one mgp in mapguide maestro.
so  i placed it in  the ajaxviewer sample application as
weblayout="Library://Layout/maplayout.weblayout.
It works fine

Now i want to create it by coding using (Maestroapi.dll) dynamically  so i
saw a link

<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/AddInitialLayer">http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/AddInitialLayer</a>

but i didnt get the code


So plz tell me the procedure sothat i will proceed further development


Regards,
Padmini



Maksim Sestic wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Then check the last few lines of this example:

<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/AddInitialLay">http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/AddInitialLay</a>
er

...but I suggest you reading a bit about MeastroAPI in general:

<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI">http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI</a>

Regards,
Maksim Sestic

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of padmini
godavarthi
Sent: Thursday, November 27, 2008 02:22
To: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
Subject: RE: [mapguide-users] How to Load Runtime map in mapviewerajax


Hi,
Thanks for u r reply.
I followed the given url



<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/RuntimeMap">http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/RuntimeMap</a>



i got an session id for that. After getting it iam unable to get what to
do
with that?


can u plz tell me the procedure.



Regards,
padmini

Maksim Sestic wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">You might check this out first:

<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/Runtime">http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/Runtime</a>
Map

I guess it does exactly what you need.

Regards,
Maksim Sestic

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of padmini 
godavarthi
Sent: Wednesday, November 26, 2008 17:15
To: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
Subject: [mapguide-users] How to Load Runtime map in mapviewerajax



   Hi,
iam using Mapguide opensource 2.0 (with .net 2.0+IIS 5.1).
Now i want to load a runtime map  (using MaestroAPI.dll) in to 
mapviewer ajax application (in .net)

Plz tell me the procedure  for

1) How to load the runtime map?
2) What are the steps i have to follow?

If anybody knows plz help me


Regards,
Padmini


--
View this message in context:
<a class="moz-txt-link-freetext" href="http://www.nabble.com/How-to-Load-Runtime-map-in-mapviewerajax-tp20704">http://www.nabble.com/How-to-Load-Runtime-map-in-mapviewerajax-tp20704</a>
038p20
704038.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
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>

__________ Information from ESET NOD32 Antivirus, version of virus 
signature database 3643 (20081126) __________

The message was checked by ESET NOD32 Antivirus.

<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>

 

__________ Information from ESET NOD32 Antivirus, version of virus 
signature database 3643 (20081126) __________

The message was checked by ESET NOD32 Antivirus.

<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>
 

_______________________________________________
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="">--
View this message in context:
<a class="moz-txt-link-freetext" href="http://www.nabble.com/How-to-Load-Runtime-map-in-mapviewerajax-tp20704038p20">http://www.nabble.com/How-to-Load-Runtime-map-in-mapviewerajax-tp20704038p20</a>
712155.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
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>

__________ Information from ESET NOD32 Antivirus, version of virus
signature
database 3644 (20081126) __________

The message was checked by ESET NOD32 Antivirus.

<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>


 

__________ Information from ESET NOD32 Antivirus, version of virus
signature
database 3644 (20081126) __________

The message was checked by ESET NOD32 Antivirus.

<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>
 

_______________________________________________
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>