OVERVIEWMAP | Examples |
<OVERVIEWMAP | Attribute
Description Table |
backgroundcolor ="0,0,0 - 255,255,2555"
[255,255,255] framefillcolor ="0,0,0 - 255,255,255" [255,0,0] frameoutlinecolor ="0,0,0 - 255,255,255" [255,0,0] zoomfactor ="double" > (m) <LAYERDEF... /> </OVERVIEWMAP > | |
(m): Child element can be used multiple times. |
Attribute | Usage | Back to Top |
---|---|---|
backgroundcolor | Background color using RGB values. | |
framefillcolor | Frame fill color using RGB values. | |
frameoutlinecolor | Frame outline color using RGB values. | |
zoomfactor | Ratio of overview map extent to main map extent. Small positive values should be used. |
Example 1: | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="-116.016078" miny="36.252371" maxx="-100.855887" maxy="46.622450" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to USA ESRIDATA>" /> </WORKSPACES> <LAYER type="featureclass" name="STATES" visible="true" id="0"> <DATASET name="STATES" type="polygon" workspace="shp_ws-0" /> <SIMPLERENDERER> <SIMPLEPOLYGONSYMBOL fillcolor="255,0,0" /> </SIMPLERENDERER> </LAYER> </MAP> <OVERVIEWMAP backgroundcolor="255,255,255" framefillcolor="255,0,0" frameoutlinecolor="255,0,0" zoomfactor="4.0"> <LAYERDEF name="STATES" /> </OVERVIEWMAP> </CONFIG> </ARCXML> |