FormMap

From GeoMedia Smart Client
Jump to: navigation, search
Settings WorkflowSetting FormSetting CommonSetting

GMSC 2014

FormMap is used to show one or more maps in a form.

Blue.pngFormMap is NOT working with:

  • Dimensioning
  • TrafficNetwork
  • ECWP
  • WMTS
  • Callout



Blue.pngTo use FormMap in a FormReport the type of the FormReport has to be detail:

<FormReport name="MyFormReport" ... type="detail" ... />



Blue.pngFormMap is part of FormGroup.




FormMap attributes

Attribute Mandatory Description
name yes Name of the FormMap. Has to be the same like in the template.
Blue.pngYou have the same behaviour like FormTable in here.


<FormMap name="MyMap" ... />
label no With this attribute you change the display name of the FormMap
<FormMap ... label="ThisIsMyMap" ... />
layers no Defining which layers should be visible at the map in the report.
Blue.pngThe layers must be defined with the SimpleID of the feature.


Blue.pngThe order of the layers is important!!


for example:

<FormMap ... layers="1,2,3,4" ... />
activelayer no Defining which is you active layer. Like the attribute layers the activelayer has to be defined with the SimpleID of the feature.
<FormMap ... activelayer="1" ... />


Blue.pngEither you define an activelayer or you define a range in the FormMap.


range no Defining the range, which should be visible in the map extract.


Blue.pngEither you define an activelayer or you define a range in the FormMap.



Blue.pngCheck that the range you define in FormMap is in the same coordinate system as your feature is.


fitelements no Defining on which element the map should get fitted. There are two possible ways to set fitelements in FormMap:


  • SimpleID of one or more elements
<FormMap ... fitelements="1,2" ... />
  • The element of the detail view.
<FormMap ... fitelements="{FORM.ID}" ... />
fitfactor no Defining the factor you map will be fitted. So a fitfactor of 1 means the scale of the map is 1:1. A fitfactor of 2 means the scale of the map is 1:2.
<FormMap ... fitfactor="2" ... />



Blue.pngOnly make sense in combination with the attribute template.


heightratio no Defines the ratio of the width to the height in the form and then in the report. So a heightratio of 1 means the height of the map is the same as the width. A heightratio of 2 means the height gets doubled in contrast to the maximum width.



Blue.pngOnly make sense in combination with the attribute template.


<FormMap ... heightratio="1" ... />
drawingmode no Defines how the fitted element(s) get(s) drawn. There are three possibly ways to define the attribute drawingmode:


  • default
 
<FormMap ... drawingmode="default" ... />
  • selected
 
<FormMap ... drawingmode="selected" ... />
  • highlighted
 
<FormMap ... drawingmode="highlighted" ... />


Blue.pngThe color of selected, highlight are the same as in the GeoMedia Smart Client.


template no There are three predefined templates:
  • MapBigTemplate
 
<FormMap ... template="MapBigTemplate" ... />
  • MapMediumTemplate
 
<FormMap ... template="MapMediumTemplate" ... />
  • MapSmallTemplate
 
<FormMap ... template="MapSmallTemplate" ... />



Pfeil new.png To the top Pfeil new.png

Examples

In this section you will find some examples of different options for the atttributes fitfactor, heightratio and template.



Pfeil new.png To the top Pfeil new.png

Fitfactor

As it is mentioned above the fitfactor defines the factor of fitness of the map.

Fitfactor (not defined = 1.25) Fitfactor 1 Fitfactor 2
No Fitfactor defined Example FitFactor1 Example FitFactor2 Example




Pfeil new.png To the top Pfeil new.png

Heightratio

As it is mentioned above the heightratio defines the ratio of the height in contrast to the maximum width.

Heightration (not defined) Heightratio 1 (height = width) Heightratio 0.5 (height = width / 2)
Fitfactor2.png Heightratio1.png Heightratio05.PNG



Pfeil new.png To the top Pfeil new.png

Template

As it is mentioned above there are three predefined templates.


BigTemplate MediumTemplate SmallTemplate
Fitfactor2.png Mediumtemplate.png Smalltemplate.png


Blue.pngHeightratio and Fitfactor only make sense in combination with one of the above mentioned templates.




Language: English