Moxi Media Inc.
<quick-view> Discussion Forum

IMF Developer's Guide » Site Configuration » <quick-view>  

The <quick-view> 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> 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> 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):
POS+ <site-config>
   

Frequency Description (in this context)
POS+ This element may appear multiple times within the <site-config> element in the specified sequence.
   

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.
   

Example:

<quick-view name="Downtown"
            minx="2319581"
	    miny="721641"
	    maxx="2324614"
	    maxy="725169"/>
<quick-view name="Stanley Park"
            minx="2323180" 
	    miny="723073" 
	    maxx="2324172" 
	    maxy="723768"/>