Changes between Version 45 and Version 46 of MapGuideRfc67
- Timestamp:
- 07/17/09 10:16:06 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc67
v45 v46 84 84 [[BR]] 85 85 86 ==== !PrintLayoutElement Resource Schema ====87 88 Each print layout element type is defined as a new !PrintLayoutElement resource containing definition of the particular type of print layout element. Here’s the schema:89 90 [[BR]] 91 [[Image(PrintLayoutElement Type.PNG)]]92 [[BR]] 93 94 A sample print layout element formap viewport is:86 ==== !PrintLayoutElementDefinition Resource Schema ==== 87 88 Each print layout element definition type is defined as a new !PrintLayoutElementDefinition resource containing the definition of the particular type of print layout element. Here’s the base schema: 89 90 [[BR]] 91 [[Image(PrintLayoutElementDefinitionBase.png)]] 92 [[BR]] 93 94 A sample print layout element definition for a map viewport is: 95 95 96 96 97 97 {{{ 98 98 <?xml version="1.0" encoding="UTF-8"?> 99 < LayoutElementxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"99 <PrintLayoutElementDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 100 100 xsi:noNamespaceSchemaLocation="Schema\PrintLayoutSchema-1.1.0.xsd"> 101 <MapViewport >101 <MapViewportDefinition> 102 102 <Extents> 103 103 … 104 104 </Extents> 105 105 … 106 </MapViewport >107 </ LayoutElement>106 </MapViewportDefinition> 107 </PrintLayoutElementDefinition> 108 108 }}} 109 109 110 A print layout element gets the data it needs to elaborate its stylized geometry from both Stylization property and Data property. The Data property provides enough information to access all the data necessary to describe the geometry and attributes of the FDO features that are used to represent print layout data.110 A print layout element definition may get the data it needs to elaborate its stylized geometry from the optional Stylization and Data properties. The Data property provides enough information to access all the data necessary to describe the geometry and attributes of the FDO features that are used to represent print layout data. 111 111 112 112 [[BR]]