The OrbitFlashMapUIConfig.xml file defines how FlashMap is presented to the user.
Some toolbar buttons appear automatically, depending on the configuration :
<?xml version="1.0" encoding="UTF-8"?> <OrbitFlashMapUIConfigs> <TotalWidth>600</TotalWidth> <TotalHeight>500</TotalHeight> <ToolbarStyle>consumer</ToolbarStyle/> <StartupMode>smartzoom</StartupMode> <HasZoomNavigation>false</HasZoomNavigation> <HasFocus>false</HasFocus> <HasLayers>false</HasLayers> <ShowLocation>false</ShowLocation> <ShowScalebar>true</ShowScalebar> <ShowScaledisplay>true</ShowScaledisplay> <HasMeasure>false</HasMeasure> <HasSubselect>true</HasSubselect> <UnitDescription> <System> <Abbr>yd</Abbr> <Name>yards</Name> </System> <SubUnit> <SysUnits>5280</SysUnits> <Abbr>ml</Abbr> <Name>miles</Name> </SubUnit> </UnitDescription> <Watermark> <Transparent>watermark.png</Transparent> <NonTransparent>watermark-nontransparent.jpg</NonTransparent> </Watermark> <OFMParameters> <Parameter> <Name>ShowActiveCentroid</Name> <Value>true</Value> </Parameter> </OFMParameters> </OrbitFlashMapUIConfigs>
Tag overview :
| Parameter | Comment | Default value |
|---|---|---|
| TotalWidth | Defines the total width the component can use. | <available width> 1) |
| TotalHeight | Defines the total height the component can use. | <available height> |
| ToolbarStyle | Defines the default setup of the toolbar. Its possible values are prof, consumer, toolbarless or decorationless. | prof |
| HasZoomNavigation | Defines whether buttons for navigating zooms are available (zoom previous, zoom next). | true |
| HasFocus | Defines whether focus behavior is available. | false |
| HasLayers | Defines whether the user can access the list of layers and change layer visibility. | false |
| ShowLocation | Defines whether a map overlay is added, displaying the current location. | true |
| ShowScalebar | Defines whether a map overlay is added, displaying a scale bar. | true |
| ShowScaledisplay | Defines whether a map overlay is added, displaying a scale display. | false |
| HasMeasure | Defines whether a measurement utility is available. | false |
| HasSubquery | Defines whether the subselect mode button is added, when map configuration defines a selection layer. | false |
| StartupMode | Defines the mode FlashMap should be in after startup. | zoomin |
| UnitDescription | Defines how to describe map units. | english description of metric units |
| Watermark | Defines where to look for the watermarking images. | no watermark |
| OFMParameters | Defines additional parameters to tweak OFM layout and functionality. | no parameters |
HasFocus, HasLayers, ShowLocation, ShowScalebar, ShowScaledisplay parameters. Its size is fixed at 570×487 px.LAYOUT FlashVar instead of UICONFIG.