Inserting a Google Map Polyline object to display query results

You can use the Google Map Polyline object to display query results as a geographic map polyline.

Before you begin

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

About this task

The Google Map Polyline object creates a linear overlay on Google Maps. It consists of a series of points and creates a series of line segments that connect the points in the ordered sequence.

To insert a Google Map Polyline object:

Procedure

  1. When you insert the Google Map object, select Create a map with a component, and then select the Polyline 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 polyline on the map, and click Next.
  3. Select the Direct check box to define the latitude and longitude coordinates of the polyline points and click Next.
    1. From the Tooltip field list, select a column to supply a tooltip text for the polyline on the map.
    2. From the Vertices field list, select a column to supply the coordinates for the polyline 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 polyline in the Google Maps encoded format and click Next.
    1. From the Tooltip field list, select a column to supply a tooltip text for the polyline on the map.
    2. Select the columns to specify a series of points within a polyline 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 polyline 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.