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

This is an old revision of the document!


Map configuration

The map configuration defines what server to connect to, which layers to show, etc..
This file is required for the Flash component to operate!

Its default name is OrbitFlashMapConfig.xml.

You can generate a map configuration file using the Publish to the Web wizard of OrbitGIS.

Sample file

<?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 For testing purposes, you may wish to use “localhost :90” ; in real life, set here a valid URL to your IOS server installation. This can be any URL and may thus differ from your website�??s URL address. However, the IOS server URL requires to be accessible from the internet. You may require to use a proxy or forwarding (see 3.4) if you run into firewall problems. <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:: 2010/10/28 14:45