The <QUICK-VIEW-EXTENT> element is used to specify a named extent that will appear in a
drop-down selection box on the status bar for the user to choose from to zoom to the
named extent. If <QUICK-VIEW-EXTENT> elements are present in the site configuration XML
file, the status bar will show the selection box as follows. If no <quick-view>
elements are present, the status bar doesn't show the selection box or prompt.
If you want to use the quick view selection box, you would usually put multiple
<QUICK-VIEW-EXTENT> elements in your site configuration XML file, or add the extents
programmably using a startup script. The named areas appear in the sequence that they
appear in the site configuration file. The coordinates must be in the same coordinate
system as your map.
| Frequency |
Parent Elements (this element is valid within): |
|
PO+ |
<SITE-CONFIG> |
| |
|
|
|
Attributes |
Description |
|
name |
The extent's name to display in the selection box. Required.
|
|
minx |
The minimum X coordinate double precision value. Required.
|
|
miny |
The minimum Y coordinate. Required.
|
|
maxx |
The maximum X coordinate. Required.
|
|
maxy |
The maximum Y coordinate. Required.
|
| |
|
|
| Frequency |
Description (in this context) |
|
PO+ |
The <QUICK-VIEW-EXTENT> element is optional, and may appear one or more
times within the <SITE-CONFIG> element in the specified sequence. |
| |
|
|
Example:
<QUICK-VIEW-EXTENT name="Downtown" minx="2319581" miny="721641" maxx="2324614" maxy="725169"/>
<QUICK-VIEW-EXTENT name="Stanley Park" minx="2323180" miny="723073" maxx="2324172" maxy="723768"/>