Google Maps API
Starting June 2018 Google has updated their licensing guidelines for the Google Maps API. Please see this article for more information: Google Maps API Key
Maps are part of the Open-AudIT Professional & Enterprise suite. Maps are designed to show your locations and the devices in those locations using Google Maps.
Maps should not need to be enabled as such. The correct value should be in the Open-AudIT config by default.
If the correct value has been removed or changed, click the menu item Admin -> Community -> Advanced Configuration and set the correct URL for opMaps under the maps_url section. This will enable a link on the Maps icon in the header of the Open-AudIT pages. The default value for this config item is /omk/open-audit/map.
Open-AudIT ships with a Default Location (Gold Coast, Queensland, Australia). All devices are initially assigned to the Default Location. Devices may have their location changed as required either individually, using the Bulk Edit functionality or as part of a Discovery.
Creating a Location
Click the menu-> Manage -> Locations -> Create Locations. Adding Locations for Maps is very easy. Enter the complete location address details and click the "Get Lat / Long" button. You should see the latitude and longitude fields populated. These values are derived by submitting the location details to the Google API for Maps. You can also enter the Lat / Long manually. If you would prefer a different Lat / Long to the actual address details, but don't know the actual Lat / Long, you can populate the GeoCode field and click the "Get Lat / Long" button. This will populate the Lat / Long fields with the GeoCode address, rather than the entered address details. If both GeoCode and address details are populated, the "Get Lat/Long" button will use the GeoCode as preferred.
Select the "Activate Group" checkbox so that a Group will be created that will auto update when any devices are assigned to the given location.
Assigning a Device to a Location
To assign a device to a location you can view the device details and go to Summary -> Location / Owner on the left side menu then edit the location field to the desired location for that device.
Assigning Multiple Devices to a Location
To assign multiple devices to a location (say for example all devices in a selected subnet Group), you can view any Group list as an Open-AudIT Admin user and select the devices you need by the checkboxes on the right side of the Query. If you select the checkbox in the column header, all devices will be selected. Next, click the "Edit" button in the Query table header. You can then edit any fields, but importantly you can change the location of all selected devices. Click the Submit button at the bottom of the form to enact the change.
Once you have locations created and devices assigned to them and the URL for Maps populated, you can click the Maps icon in the header and be sent to the Open-AudIT Maps web page. The page will show all your locations and when a location is clicked a summary of the number of each type of device in that location. If you click the Location Name in the popup, you will be sent to the Open-AudIT page for that Location. If you click a devices, you will be sent to the Open-AudIT page for devices in that location.
An example of the Maps page is below.