Moxi Media Inc.
<scalebar> Discussion Forum

IMF Developer's Guide » Site Configuration » <scalebar>  

The <scalebar> element is used to set the properties of the scalebar on the map of an IMF site. Example use:

<scalebar display="true" units="meters" />

Frequency Parent Elements (the <scalebar> element is valid within):
POS1 <site-config>
   

Frequency Description (in this context)
POS1 The <scalebar> element may appear once in the <site-config> element in the specified sequence.
   

Attributes Description
display Whether the scalebar should be shown. Valid values are "true" or "false", defaults to "false". Required.
max-scale The maximum scale that the scalebar should be shown. Numeric value expected. If this attribute is not used, there is no limit. optional.
units The units of the scalebar text. Valid values are "meters", "kilometers", "feet" or "miles". Required.