<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class=Section1>
<p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You have to set the projection in the applicationdefinition.xml.
MapGuide uses WKT in order to deal with projections. Fusion is now based
around OpenLayers which uses Proj4js to handle projections. So you need to set
the projection in both the MapDefinition (which you have already done in
MapGuide Studio) as well as in the Map element in the ApplicationDefinition.xml
file. The ApplicationDefinition.xml file resides in the same folder as the
index.html file that you are browsing to in your web browser.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Change your
applicationdefinition.xml file in the folder you just created to reflect the
markups below:<o:p></o:p></span></p>
<p class=MsoNormal><br>
<?xml version="1.0"?> <br>
<ApplicationDefinition xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_top" rel="nofollow" link="external">http://www.w3.org/2001/XMLSchema-instance</a>"
xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" target="_top" rel="nofollow" link="external">http://www.w3.org/2001/XMLSchema</a>"
xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd"> <br>
<TemplateUrl>fusion/templates/mapguide/padmini/index.html</TemplateUrl>
<br>
<MapSet> <br>
<MapGroup id="map"> <br>
<Map> <br>
<Type>MapGuide</Type> <br>
<SingleTile>true</SingleTile> <br>
<Extension> <span style='color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span style='font-size:14.0pt;font-family:
"Calibri","sans-serif";color:red'><ProjectionCode>EPSG:26911</ProjectionCode>
<br>
<ProjectionDef>+proj=utm
+zone=11 +ellps=GRS80 +datum=NAD83 +units=m +no_defs</ProjectionDef></span><br>
<ResourceId>Library://flexisample/map.MapDefinition</ResourceId> <br>
<SelectionAsOverlay>true</SelectionAsOverlay>
<br>
<SelectionColor>0x0000FFA0</SelectionColor> <br>
</Extension> <br>
</Map> <br>
<Extension /> <br>
</MapGroup> <br>
</MapSet><span style='color:#1F497D'><o:p></o:p></span></p>
</div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Problem-with-Studio-2010-Flexible-layouts-Error-tp4596619p4623862.html">RE: Problem with Studio 2010 +Flexible layouts Error</a><br>
Sent from the <a href="http://n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>