Moxi Media Inc.
<find-location> Discussion Forum
IMF Developer's Guide » Site Configuration » <find-location>  

The <find-location> element is used to add options for zooming to various location types from the "Find Location" tab using the imfFindLocation.jsp script. The options shown on the Find Location page are a combination of the values read from the default site configuration file and the application's site configuration file.

Frequency Parent Elements (the <find-location> element is valid within):
POS+ <site-config>
   

Frequency Description (in this context)
POS+ The <find-location> element may appear zero or more times in the <site-config> element in the specified sequence.
   

Attributes Description
display Whether the find location type appears on the find location page. Valid choices are "true" or "false". Optional, defaults to true.
target The name of the frame that the find location query form should be displayed in. Suggested choices are "dataFrame" or "_blank". Optional, defaults to "dataFrame".
type The find location type text that will appear on the Find Location page. Required.
url The URL of the find location query form. Valid choices are "dataFrame" or "_blank". Optional, defaults to "dataFrame". The URL can contain the special variable $IMF to specify that the document is relative to the IMF installation directory. Absolute URLs may also be used. URLs that don't start with http: or $IMF are resolved relative to the location of the XML file.
   

Examples:

<find-location type="Layer Extent" 
               url="$IMF/imfZoomToLayerExtentForm.jsp"
               target="dataFrame"/>

<find-location type="Spatial Bookmark"
               url="$IMF/imfZoomToBookmark.jsp"
               target="dataFrame"/>

<find-location type="Latitude / Longitude Coordinate"
               url="$IMF/imfZoomToLatLongForm.jsp"
               target="dataFrame"/>

<find-location type="UTM Coordinate"
               url="$IMF/imfZoomToUtmForm.jsp"
               target="dataFrame"/>

Valid HTML 4.01!