[mapguide-users] Re: Problem with Studio 2010 +Flexible layouts Error

padmini godavarthi godavarthi.padmini at gmail.com
Wed Feb 24 00:11:42 EST 2010


Hi mark,
Thank u very much for your patience and help...


1)For loading my data on slate templete 


in my library://flexisample/map.mapdefinitions were set to correct
projection system as


<?xml version="1.0" encoding="UTF-8"?>

<MapDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="MapDefinition-1.0.0.xsd">
 <Name>New Map</Name>

<CoordinateSystem>PROJCS[&quot;NAD_1983_UTM_Zone_11N&quot;,GEOGCS[&quot;GCS_North_American_1983&quot;,DATUM[&quot;D_North_American_1983&quot;,SPHEROID[&quot;GRS_1980&quot;,6378137.0,298.257222101]],PRIMEM[&quot;Greenwich&quot;,0.0],UNIT[&quot;Degree&quot;,0.0174532925199433]],PROJECTION[&quot;Transverse_Mercator&quot;],PARAMETER[&quot;False_Easting&quot;,500000.0],PARAMETER[&quot;False_Northing&quot;,0.0],PARAMETER[&quot;Central_Meridian&quot;,-117.0],PARAMETER[&quot;Scale_Factor&quot;,0.9996],PARAMETER[&quot;Latitude_Of_Origin&quot;,0.0],UNIT[&quot;Meter&quot;,1.0]]</CoordinateSystem>
 <Extents>
  <MinX>271673.8130436262</MinX>
  <MaxX>512056.71341944818</MaxX>
  <MinY>3750970.4455238734</MinY>
  <MaxY>3858924.9056628617</MaxY>
 </Extents>
 <BackgroundColor>ffffffff</BackgroundColor>
 <MapLayer>
  <Name>layer1</Name>
  <ResourceId>Library://flexsample1/layer1.LayerDefinition</ResourceId>
  <Selectable>true</Selectable>
  <ShowInLegend>true</ShowInLegend>
  <LegendLabel>layer1</LegendLabel>
  <ExpandInLegend>true</ExpandInLegend>
  <Visible>true</Visible>
  <Group></Group>
 </MapLayer>
</MapDefinition>


u told me that i have to modify it in Applicationdefinition.xml(where it is
located?? r u talking about to change in Applicationdefinition.xml that
resides in slate temple).iam a little bit confusing about this
applicationdefinition.xml


2)For creating my own template(padmini tempete)

 i have copied all the files to padmini folder and copied the
ApplicationDefinition.xml created by me in padmini.xml


<?xml version="1.0"?>
<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
  <TemplateUrl>fusion/templates/mapguide/padmini/index.html</TemplateUrl>
  <MapSet>
    <MapGroup id="map">
      <Map>
        <Type>MapGuide</Type>
        <SingleTile>true</SingleTile>
        <Extension>
          <ResourceId>Library://flexisample/map.MapDefinition</ResourceId>
          <SelectionAsOverlay>true</SelectionAsOverlay>
          <SelectionColor>0x0000FFA0</SelectionColor>
        </Extension>
      </Map>
      <Extension />
    </MapGroup>
  </MapSet>
and created padmini.xml in mapguide folder ..and when i refresh the mapguide
studio.It displaying fine..is it correct way??(i mean i have copied the
flexisampleApplicationdefinition.xml to padmini folder and renamed as
Applicationdefinition.xml )
Plz guide meeeeeee....................

regards,
Padmini G.



-- 
View this message in context: http://n2.nabble.com/Problem-with-Studio-2010-Flexible-layouts-Error-tp4596619p4623816.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list