Preview Function

Preview Function

The Preview function provides a map view of live data described by metatdata records in the Geoportal. Instructions for navigating the map are provided below. The Preview can be launched from the search result page from the Preview link in a search result, through the web browser URL window, or from an embedded URL in another web page. It is also contained in the search result Details page, displaying only if the metadata describes a live data resource. The Preview page has four sections:

  1. Service field: URL of the service or referenced website that is loaded in the Preview window
  2. Embed field: html element that can be copied and input as a customization to other web pages
  3. Preview window: window in center of page that will display the map service, an uploaded image, the organization's website, or another element if possible. Some metadata documents do not provide enough information to populate the Preview window, or reference a service that does not support an image (for example, a CS-W service). Currently, the Preview will display ArcGIS Server services (will show a map for MapServer services), OGC WMS services, KMZ, Sensor Observations Services, and ArcIMS services.
  4. REST API metadata information: displays the REST API metadata entry.
There are four ways to access the Preview:
  1. When viewing a list of search results in the Search page, the search results will have a Preview link. Clicking on the Preview link will load the Preview page for that metadata record.
  2. If the Details link is clicked for a search result that describes live data, then the Details page will also display a Preview link at the top.
  3. Outside of the Geoportal, you can access the Preview for a specific service by entering the following into your browser:

    Syntax

    Example

    <Geoportal Instance Name>/catalog/livedata/preview.page?url=<service url>

    http://ESRI_server/geoportal/catalog/livedata/preview.jsp?url=http://esri_server:8399/arcgis/services/California_Map/MapServer/WMSServer?request=GetCapabilities&service=WMS

  4. It is also possible to embed the Preview in another webpage. Simply copy the information from the Embed field into the webpage (can be a page outside the Geoportal web application structure), and save the file.

Navigating the Preview Map

The Preview map is built using the javascript API. Navigation behavior will be like the javascript api map available as an example on the ESRI resource center.

1/29/2014