Changes between Version 45 and Version 46 of MapGuideRfc67


Ignore:
Timestamp:
Jul 17, 2009, 10:16:06 AM (15 years ago)
Author:
chrisclaydon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc67

    v45 v46  
    8484[[BR]]
    8585
    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(PrintLayoutElementType.PNG)]]
    92 [[BR]]
    93 
    94 A sample print layout element for map viewport is:
     86==== !PrintLayoutElementDefinition Resource Schema ====
     87
     88Each 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
     94A sample print layout element definition for a map viewport is:
    9595
    9696
    9797{{{
    9898<?xml version="1.0" encoding="UTF-8"?>
    99 <LayoutElement xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     99<PrintLayoutElementDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    100100xsi:noNamespaceSchemaLocation="Schema\PrintLayoutSchema-1.1.0.xsd">
    101         <MapViewport>
     101        <MapViewportDefinition>
    102102                <Extents>
    103103                …
    104104                </Extents>
    105105                …
    106         </MapViewport>
    107 </LayoutElement>
     106        </MapViewportDefinition>
     107</PrintLayoutElementDefinition>
    108108}}}
    109109
    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.
     110A 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.
    111111
    112112[[BR]]