[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["NAD_1983_UTM_Zone_11N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",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