<MAP_REGION> : Map region

Java class : leon.view.LyMapRegion

ROLE

A region allows displaying on a map a graphical element made up of a finite set of points.
These points define polygons that are displayed on the map with a given color.
These elements follow the zooms made on the map (their size increases or decreases when zooming in or out).

ATTRIBUTES

<!ATTLIST MAP_REGION
	  id CDATA #IMPLIED
	  template CDATA #IMPLIED
	  file CDATA #IMPLIED
	  label CDATA #IMPLIED
	  tooltip CDATA #IMPLIED
	  smallImage CDATA #IMPLIED
	  smallImageTooltip CDATA #IMPLIED
	  weight NMTOKEN "0F"
	  overview CDATA #IMPLIED
	  sensitive ( true | false) "true"
	  selected ( true | false) "false"
	  hidden ( true | false) "false"
	  background ( true | false) "false"
	  layer NMTOKEN #IMPLIED
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  borderColor CDATA #IMPLIED
	  fontColor CDATA #IMPLIED
	  tooltipFont CDATA #IMPLIED
	  tooltipColor CDATA #IMPLIED
	  selectedColor CDATA #IMPLIED
	  inactiveSelectedColor CDATA #IMPLIED
	  outlineColor CDATA #IMPLIED>
Attribute Mand. Description Default
id no Identifier of the region.  
template no MAP_REGION.template  
file no Additional data file for the region.
The indicated file must contain the description of one or more polygons that will be added to the region at the moment of its first display. The content of the file can be of two types: An XML file containing the description of a polygon A DXF file (Autocad data format)
 
label no Label of the region.  
tooltip no Tooltip of the region.  
smallImage no Image used as superimposed on the representation of the region.  
smallImageTooltip no Tooltip of the image used as superimposed on the representation of the region.  
weight no Weight of the region. This value is used only for the managers of TREEMAP type. 0F
overview no Overview label of the region.  
sensitive no Indicates whether the region is sensitive or not, that is it can be selected. true
selected no Indicates whether the region is selected or not. false
hidden no Indicates if the region is hidden (not displayed) or not. false
background no Indicates whether the region is a map background region or not.
A map background region is not sensitive, is displayed under the other regions and is drawn with a shadow effect.
false
layer no Layer of the region. -1
font no MAP_REGION.font  
color no MAP_REGION.color  
borderColor no Border color used for drawing the region.  
fontColor no MAP_REGION.fontColor  
tooltipFont no MAP_REGION.tooltipFont  
tooltipColor no MAP_REGION.tooltipColor  
selectedColor no MAP_REGION.selectedColor  
inactiveSelectedColor no MAP_REGION.inactiveSelectedColor  
outlineColor no MAP_REGION.outlineColor  

ELEMENTS

<!ELEMENT MAP_REGION 
	  (POLYGON*,
	   MAP_CONTENT?,
	   MAP_REGION*)>
Element Mand. Mult. Description
POLYGON no yes Polygons describing the region.
MAP_CONTENT no no Content of the region.
This content is not displayed on the map where the region is.
However, when launching an action on the concerned region, the content of the map is reloaded by taking as content the one of the activated region.
MAP_REGION no yes Sub-regions of the region.