10.4.5 Adding a Map to a New Page

Run the Create Page Wizard to create a new page with a map.

The Create Page Wizard supports spatial geometry objects based on a local table, SQL query, REST Enabled SQL Service, or REST Data Sources.

To create a map page by running the Create Page Wizard:

  1. On the Workspace home page, click the App Builder icon.
  2. Select the application.
  3. Click Create Page.
  4. For Create a Page:
    1. Page Type - Select Component.

      Tip:

      Component pages provides page-level functionality and can be added multiple times within a given application such as reports, forms, charts, or calendars. Feature pages provide application-level functionality and can only be added once per application.

    2. Click Map.
  5. On Create Map Page:
    1. Page Number - If you enter a new page number, the wizard creates a new page. If you enter an existing page number, the wizard adds the component to that page.
    2. Page Name - Specify a name for the page.
    3. Page Mode - Identify the page mode. Options include Normal or Modal Dialog.
    4. Breadcrumb - Select whether you want to use a breadcrumb navigation control on your page. If you elect to include breadcrumb navigation, additional attributes appear.
    5. Click Next.
  6. For Navigation Preference:
    1. Select how you want this page integrated into the Navigation Menu. To learn more, see field-level Help.
    2. Click Next.
  7. For Data Source, select a Data Source for the page:
    • Local Database - Data is sourced from the local database.
    • REST Enabled SQL Service - Data is sourced from a remote database, where the connection is defined using REST Enabled SQL. To create or maintain REST Enabled SQL references, navigate to Shared Components, REST Enabled SQL.
    • REST Data Source - Data is sourced from a RESTful web service defined using REST Data Sources. To create or maintain REST Data Sources, navigate to Shared Components, REST Data Sources.

    Tip:

    The steps that follow differ depending upon the selected Data Source. This task assumes the Data Source is Local Database.

  8. For Source Type - Specify the source of the new page:
    1. Select a Source Type. Options include:
      • Table:

        • Table / View Owner - Select the owner of the table on which you are building the faceted search page.

        • Table/View Name - Select the table or view on which the page will be based.

      • SQL Query:

        • Enter a SQL SELECT statement - Enter the SQL query. To see an example, expand the SQL Query Example region.
    2. Click Next.
  9. On Create Page:
    1. Select the type of spatial geometry layer. Options include:
      • Points - Points (for example, customer or supplier locations) are display as markers. The marker shape and color is configurable.

      • Lines - Lines represent features such as roads or paths. The stroke style and color is configurable.

      • Polygons - Polygons represent areas like parcels, states, or countries. The style and color are configurable for stroke and fill.

      • Heat Map - Heat Maps are used to visualize the point density. The more points that are clustered together, the more intense the color becomes. Use this option to visualize the spatial distribution of population or incidents.

      • Extruded Polygons - Display as three-dimensional, extruded, objects. The height of the 3D object visualizes a column value.

    2. Geometry Type - Select how spatial objects are sourced. Options include:
      • Geometry Column - Supported datatypes include SDO_GEOMETRY, VARCHAR2, or CLOB.

        Local databases and REST Data Sources support the SDO_GEOMETRY column type. However, REST Enabled SQL data sources do not support the SDO_GEOMETRY column type.

        VARCHAR2 and CLOB columns must contain geometry information in GeoJSON format.

      • Two Numeric Columns - These columns must contain longitude and latitude values. This option only applies to Point and Heat Map layers.

    3. What appears next depends upon the spatial objects (or geometries) and Geometry Type you select. Select the appropriate columns.
    4. Create a Faceted Search Page - Enable this option to create the map page as a Faceted Search page. The Faceted Search region will contain only a Search facet, other facets can be added later in Page Designer.
  10. Click Create.

Tip:

To learn more about external data sources, see "Managing REST Enabled SQL References" and "Managing REST Data Sources."