Configuring WebFOCUS for Google Maps

How to:

To configure WebFOCUS for Google Maps:


Top of page

x
Procedure: How to Generate a Google Maps API License Key

You must sign up for the Google Maps API in order to generate a Google Maps API license key. The Google Maps API license key is used to enable the Google Maps interface in the HTML Composer. The type of Google Maps API license key depends on how the application is deployed.

Note: You must have a Google Account to get a Maps API key, and your API key will be connected to your Google Account.

  1. Log into your Google Account.
  2. Access the following site from your Internet Browser:

    http://code.google.com/apis/maps/signup.html

    The Sign Up for the Google Maps API page appears.

  3. Read the bulleted list of items at the top of the Google Maps API page to determine the type of license key needed. If you are entitled to the free API key, continue to step 4. If you are required to use the Premier API, click the Google Maps API Premier link and follow the instructions on the Web site.
  4. Read the Google Maps API Terms of Use and select the check box to agree with the terms and conditions.
  5. Enter your base URL in the My web site URL: input field.
  6. Click Generate API Key.

    The following image is an example of the Sign Up for Google Maps API page with these options selected.

    The Google API license key is generated.

  7. Copy the license key and save it to a text file.

You will use this license key to configure the WebFOCUS Administration console.


Top of page

x
Procedure: How to Configure WebFOCUS to Use Google Maps

To integrate WebFOCUS with Google Maps, set the Google configuration option in the WebFOCUS Administration Console.

  1. Access the WebFOCUS Administration Console by using one of the following methods:
    • Enter the following URL:
      http://hostname:port/ibi_apps/welcome.jsp
    • Select WebFOCUS Administration Console from the Start Programs menu of your WebFOCUS application.

      Note: This menu option is only available on the machine on which the WebFOCUS Client is installed.

    • From within Developer Studio, select a location from the WebFOCUS Environments section to activate the toolbar and select the WebFOCUS Administration Console icon.

    The WebFOCUS Administration Console appears. You may have to logon depending on how your configuration is set.

  2. Select General from the Client Settings submenu of the Configuration menu.
  3. Scroll down to the bottom of the Client Settings - General page to see the Google Maps configuration settings.
  4. The default google_maps_api_version is set as 2.

    Note: The Google Maps API Version number refers to the Google Map API being used by Google Maps.

  5. In the google_maps_api_key input field, paste the Google Maps API license key that you saved earlier.

    The following image is an example of the WebFOCUS Administration Console with these options set.

  6. Click Save and logout of the WebFOCUS Administration Console.

For more information about using the WebFOCUS Administration Console, see the WebFOCUS Security and Administration manual.


WebFOCUS