All map views in WebNMS IoT applications use Google Maps APIs for the background rendering. To use these APIs, it is required to register and provide the GMap key in the application. Else "InvalidKeyMapError" will be displayed and the map background will not be displayed.
Follow the procedure given below for configuring the GMap key :
In Google Maps Page
- Generate the GMap Key by completing the wizard in the Google Maps Platform page.
- In the Google Maps Platform, click the Get Started button.
- Pick all the three products Maps, Routes, and Places.
- Maps - required for the Asset Location Maps and Fleet Asset location views.
- Routes - required for the Fleet Tracker and Route Planner views.
- Places - required for all location views e.g. All Assets and Fleet.
- Click Continue, and provide a project name in the next screen.
- Click Next and proceed to complete the billing procedure.
In the WebNMS IoT installed product :
- Click on the Admin tab, and select Configure GMAP Key in the Configuration section.
- Provide the Key in the GMap Key textbox.
-WebNMS IoT support-