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.
Change your applicationdefinition.xml file in the folder you just created to reflect the markups below: <?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> <ProjectionCode>EPSG:26911</ProjectionCode> <ProjectionDef>+proj=utm +zone=11 +ellps=GRS80 +datum=NAD83 +units=m +no_defs</ProjectionDef> <ResourceId>Library://flexisample/map.MapDefinition</ResourceId> <SelectionAsOverlay>true</SelectionAsOverlay> <SelectionColor>0x0000FFA0</SelectionColor> </Extension> </Map> <Extension /> </MapGroup> </MapSet> -- View this message in context: http://n2.nabble.com/Unable-to-view-Mark-tp4623889p4623895.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
