Update Shape Properties

After you upload a shape, you can modify its properties such as visibility on the Map hint.

  1. Click Configuration.
  2. In the General section, click Business Rules.
  3. In the Map layers section, click the stack icon next to layer that you want to modify and click Modify.
    The Edit map layer dialog opens and displays the information in the Layer info and Shapes sections. The information in the Shapes section depends on the way in which you have uploaded the shape.
  4. Select a title for the shape in the Shape title column drop-down list.
    This title is displayed for the shape on the Map view.
  5. Click Shape Hint Button and select a plug-in or custom form.
    The name of the plug-in or custom form that you select here is displayed as a button (link) in the custom map layer hint. When a user clicks the link, the plug-in or form opens. To delete a plug-in or a custom form that is configured for a custom map layer, you must clear 'Shape hint button' field.

    To send parameters to the plug-in or custom form, specify the values in the Plugin/Form Field column in the Shape Hint table. This maps the fields in the shape file to the parameters in the plug-in or custom form. For plug-ins, the parameters are sent as additional parameters within the 'openParams' section. For custom forms, the fields are populated based on the specified names.

    To send the coordinates of the point where the user clicked on the map to the plug-in or custom form, specify the corresponding parameters in Plugin/Form Field column.

  6. Fill up these fields in the Shape hint columns section:
    Field Description
    Visible on hint Select the check box if you want to display the property in the hint on the Map view.
    Latitude and Longitude Enter the name for Latitude and Longitude in your plug-in or custom form. These fields capture the coordinates of the point where the user clicked on the map.
    Source Asset property as defined in the shape file.
    Label Enter a meaningful name for the property in the hint.
    Plugin/Form Field Enter the name of the property that maps to the corresponding source field. This column is visible only when you select 'Shape hint button'. The parameter that you specify in this column is sent to the configured plug-in or form upon opening.
  7. Click Submit and then click Save on Business Rules.
    The changes are saved.