Inserting a Google Map Polygon object to display query results

You can use the Google Map Polygon object in your visual dashboard to display query results as a geographic map polygon.

Before you begin

The Google Map Polygon object properties are defined in the User's reference section of the QMF help.

About this task

Like the Google Map Polyline object, the Google Map Polygon object represents a series of sequential data points. However, instead of being open-ended, polygons are designed to define regions within a closed loop.

You can define the characteristics of the polygon edge and the fill area within the enclosed region.

To insert a Google Map Polygon object:

Procedure

  1. When you insert the Google Map object, select Create a map with a component, and then select the Polygon option on the Define map content page of the Google Map Wizard. Then click Next.
  2. In the All Data Sources tree, select a table or query, which results you want to use to define a polygon on the map, and click Next.
  3. Select the Direct check box to define the latitude and longitude coordinates of the polygon points and click Next.
    1. From the Tooltip field list, select a column to supply a tooltip text for the polygon on the map.
    2. From the Vertices field list, select a column to supply the coordinates for the polygon points.
    3. From the Point format list, select the format for coordinates (Latitude-Longitude or Longitude-Latitude).
  4. Select the Encoded check box to define a polygon in Google Maps encoded format and click Next.
    1. From the Tooltip field list, select a column to supply a tooltip text for the polygon on the map.
    2. Select the columns to specify a series of points for a polygon from the Points field list.
    Tip: To increase the performance of your visual dashboard, you can use the encoded polyline algorithm format for your polyline and polygon objects. You can obtain more information about it from the Google Developers website.
  5. Click Finish to close the Google Map Wizard and display the Google Map object with the polygon that you added to it in the editor.
    Tip: To add any other objects to the Google Map object that you created, add a new Data Template to it, and then drag the required object from the Map pallet to the Data Template in the Project Explorer view.