Alexandre Clay
ServiceNow Employee
ServiceNow Employee
Spoiler
This article is compatible with Indoor Mapping version 1.12.12 and later.

In addition to this KB Article, users who were using the default key for accessing Google's services are now asked to generate and configure a new API key from the Google Cloud Console and update their application with the new key to maintain access to Google Maps services. After completing this process, users need to change the key in the System Property (sn_map_core.google_maps_geocoding_key) and replace the value with their newly created API Key. 

Note: An API Key is Provided within the KB Article for light usage only, we do advise to use your own API Key for full deployments. 

 

Step 1: Go to Google Cloud Console 

First, open the Google Cloud Console in your web browser. You will need a Google account to log in. If you do not have an account, you will need to create one. 

 

Step 2: Create a New Project 

Once logged in, click on Select a Project at the top left. Next, select the New Project button. Enter a name for your project, choose a location, and click Create. 

 

AlexandreClay_0-1743683147607.png

 

Step 3: Enable Google Maps API 

Now, after making sure your project is selected, open the Navigation Menu on the top left side. Click on APIs & Services > Library. 

 

AlexandreClay_1-1743683147609.png

In search bar, type Places API and click on it. Click Enable button. 

AlexandreClay_2-1743683147609.png

 

Step 4: Create API Key 

Once the API Enabled, Google should automatically ask to generate and API Key, then, go again to APIs & Services in the menu, then click Credentials. If no API Key was created then click Create Credentials button and choose API key. Google will generate an API key for you. 

Next, click on the three dots, select Edit API Key, and enter the information as displayed on the screenshot below. 

 

AlexandreClay_3-1743683147610.png

 

Step 5: Add Your API Key on the Instance 

After creating your API Key, go to the Instance's System Properties (sys_properties.list), find the sn_map_core.google_maps_geocoding_key and google.maps.key.geocoding properties, and add your API Key in the value field. 

 

AlexandreClay_4-1743683147611.png

 

Step 6: Usage and Billing 

Google Maps API has a free tier that provides limited usage per month. However, if your application exceeds this limit, you need to set up a billing account. Google provides a $200 free credit each month, which typically covers basic usage for approximately 10,000 transactions. It is important to note that Indoor Mapping performs only one transaction when searching for an address. Check Google Pricing for detailed cost breakdown. 

1 Comment
Saroja D
ServiceNow Employee
ServiceNow Employee

Great info!