This is documentation of an archived release.
For documentation on the current version, please check Knowledge Base.

Map Configuration

The OrbitFlashMapConfig.xml file defines what server to connect to, which layers to render, etc.

Publish To The Web

You can auto-generate this file :

  1. Run the Publish to the Web wizard of OrbitGIS.
  2. Copy the generated file next to the flash component.

Example

<?xml version="1.0" encoding="UTF-8"?>
<OrbitFlashMapConfigs>
 
   <System>
      <IOSServerURL>http://localhost:90/wms?</IOSServerURL>
      <Timeout>60000</Timeout>
   </System>
 
   <View>
      <BackgroundColor>0xFFFFFF</BackgroundColor>
      <CopyrightMessage>Copyright Eurotronics NV</CopyrightMessage>
      <CopyrightHyperlink>www.orbitgis.com</CopyrightHyperlink>
      <ScaleRange>
         <MaxScaleDenominator>100000</MaxScaleDenominator>
         <MinScaleDenominator>1000</MinScaleDenominator>
      </ScaleRange>
   </View>
 
   <LayerList>
      <!--Leave empty to use all layers-->
      <Layer>HyperlinkLayer</Layer>
      <Layer>Buildings</Layer>
      <Layer>Orthos</Layer>
   </LayerList>
 
   <VisibleLayerList>
      <Layer>Buildings</Layer>
      <Layer>Orthos</Layer>
   </VisibleLayerList>
 
   <SelectionLayer>
      <Layer>Buildings</Layer>
   </SelectionLayer>
 
   <MaptipLayer>
      <Layer>Buildings</Layer>
   </MaptipLayer>
 
   <HyperlinkLayer>
      <Layer>HyperlinkLayer</Layer>
      <Attribute>Attributes.URL</Attribute>
   </HyperlinkLayer>
 
</OrbitFlashMapConfigs>

Overview

Tags to configure1):

Tag Comment Default value
IOSServerURL The IOS Server URL. <undefined>
Timeout Defines how long to wait for the server to respond when loading view. 25000
BackgroundColor Flash component background color (to nicely blend in in our web style) #000000
CopyrightMessage Define copyright text (appears bottom left of the map) <undefined>
CopyrightHyperlink Define copyright hyperlink (appears bottom left of the map) <undefined>
ScaleRange Define scale range denominators. Set smallest (max) and largest (min) scale for Orbit FlashMap. These scales will also determine the extent for the zoom slider. <no limits>
LayerList List of accessible layers. Layer names must be the dataset's registry name, as specified in the EOS configuration. <all available layers>
VisibleLayerList List of visible layers at startup <no layers>
SelectionLayer Layer in which objects can be selected, highlighted and properties shown. <none>
MaptipLayer Layer which displays a maptip : the maptip setting is defined in the Orbit Resource Descriptor (ORD file associated with your resource). You can use Orbit GIS to define the maptip attribute for this layer. <undefined>
HyperlinkLayer Layer that can run a hyperlink, and the attribute on which the hyperlink URL is based. The hyperlink setting is defined in the Orbit Resource Descriptor (ORD file associated with your resource). You can use Orbit GIS to define the active hyperlink attribute for this layer and the URL that must be launched formed with the attribute value. <undefined>
1)
Not much tags have a default value, because the map configuration is very essential in deployment.
 
Last modified:: 2019/03/25 11:36