<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<STYLE type=text/css>
<!-- 
.message {background: white; font-size:9pt; font-family:'Arial';}
 .message p { margin-top: 0em; margin-bottom: 0em; }
 -->
</STYLE>
</HEAD>
<BODY class='message' bgColor=#ffffff>
<br />look at  ajaxviewersample.aspx <br /><br />trace these lines<br />    String mapDefinition = &quot;Library://Samples/Sheboygan/Maps/<font color="#0033ff">Sheboygan.MapDefinition</font>&quot;;<br />    String webLayout = &quot;Library://Samples/Sheboygan/Layouts/<font color="#0033cc">SheboyganAsp.WebLayout</font>&quot;;<br />  <br />you see those names in the URL  layout and the repository folder names whihc are passed thru the querystring.<br /><br />just do a simple thng save the ajaxviewersample file with another name and change the map and weblayout to your map and weblayout name and then run it <br /><br /><blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #5167c6 2px solid; MARGIN-RIGHT: 0px"><div style="FONT: 10pt arial">----- Original Message -----</div><div style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><b>From:</b> simflex <a href="mailto:simflex@millenniumhealthproducts.com">&lt;simflex@millenniumhealthproducts.com&gt;</a></div><div style="FONT: 10pt arial"><b>To:</b>   <a href="mailto:users@mapguide.osgeo.org">&lt;users@mapguide.osgeo.org&gt;</a></div><div style="FONT: 10pt arial"><b>Cc:</b> </div><div style="FONT: 10pt arial"><b>Date:</b> Thursday, July 20 2006 07:04 PM</div><div style="FONT: 10pt arial"><b>Subject:</b> Re: [mapguide-users] RE: viewing map from an internet browser</div> <br />Thanks again, good people. <br /> <br />I guess I am not explaining myself well. <br /> <br />I am trying to find out how to have an address similar to this: <br /> <br />http://mapguide.spatialgis.com/mapguide/spokanemaps <br /> <br />instead of this: <br /> <br />http://cane2/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fTrans%2fLayouts%2fTrans.WebLayout  <br /> <br />Andrew, I believe that when I posted this question before, you indicated to <br />me that this is an invalid web address. <br /> <br />Of course it works when I copy it and paste it in an address bar but I am <br />wondering what is the best way to make the url more regular like <br />http://cane2/mapguide/ourname/... and get rid of this portion: <br /> <br />?WEBLAYOUT=Library%3a%2f%2fTrans%2fLayouts%2fTrans.WebLayout  <br /> <br /> <br />--  <br />View this message in context: http://www.nabble.com/viewing-map-from-an-internet-browser-tf1972327.html#a5415299 <br />Sent from the OSGeo MapGuide forum at Nabble.com. <br /> <br /> <br />--------------------------------------------------------------------- <br />To unsubscribe, e-mail: users-unsubscribe@mapguide.osgeo.org <br />For additional commands, e-mail: users-help@mapguide.osgeo.org <br /></blockquote>
</BODY></HTML>