Google Maps example
This example will show you how to:
- Create and display Google map links of devices
- Send a test event to see how map links are affected by system changes.
Procedure:
-
Disable map links.
Refer to the procedure in Drawing Map Links for instructions.
-
Create two locations: "New York" and "Los Angeles."
Refer to the procedure in Adding Locations for instructions.
-
Enter the following values in the Address field of the Add Location dialog: "NewYork, NY" and "Los Angeles, CA" respectively.
-
Set the location of a device to New York. Locate another device on the same network and set its location to Los Angeles.
-
Select Locations in the hierarchy, click Details, and then select Map. New York and Los Angeles are represented by dots on the map; however, no link is drawn between these locations.
-
Select Networks and re-enable map linking.
-
Select INFRASTRUCTURE > DEVICES, then select LOCATIONS in the hierarchy.
-
Click Details, and then select Map. A green line is now drawn between New York and Los Angeles.
-
Send an event with a severity of Critical to the device in New York.
For information about creating events, see Event Management. Do not specify a component.
-
Return to the Locations map.
The dot representing New York is now red, but the link between New York and Los Angeles remains green.
-
Navigate to the New York device and determine the ID of the component that is connected to the network shared with the Los Angeles device.
-
Send another test event, this time specifying that component.
-
Return to the Locations map.
The link between New York and Los Angeles is now red.