Document toolboxDocument toolbox

Creating a Google Maps API key for Igloo StreetView

A Google Maps API key is required to pull image/street view requests from Google Maps. Without the key, depending on your installed version of node, Streetview (as viewed through Igloo Web/Peruse-a-rue) may either be labeled with a “For development purposes only” or be coloured in grayscale.

The API key can be obtained from this page:

https://console.cloud.google.com/apis/dashboard 

This ought to prompt for a login, for the purposes of this document, an account with no existing API services will be used.

The dashboard appears as follows:

There are a lot of menus on the Google Cloud platform. To return to the dashboard at any time, select the three bars in the top left of the webpage and select APIs & services → Dashboard.

 

First, create a project using the highlighted dropdown, then select ENABLE APIS AND SERVICES which will open the API Library. Search for Maps:

The three required APIs are the Maps JavaScript API, the Directions API and the Places API. Click each and select enable:

Once all three APIs have been enabled, return to the dashboard. The APIs should be listed:

Select Credentials from the sidebar. Select Create Credentials and choose API Key. Once completed, the API Key will appear in the credentials list:

The API key will look something like this:
AIzaSyGqw4tO_-1x_4-wjNyasqzxD2Uy9LCwPS4

Finally, billing must be enabled for the project.

This is mainly targeted at large corporations making use of the API, and Google, at the time of writing, provides the first $200 USD of maps calls for free each month. More information found here: https://cloud.google.com/maps-platform/pricing

Select the three bars in the top left of the page, and click on Billing:

There, it should prompt the linking between project and billing account. Create a billing account, make the link and the key should then be active for use.

Installing the key: - Pre ICE 1.3

In the root directory of the Igloo Streetview app, there is a file APIKey.json.”The API key should be stored here. The file presents as a single line to host the API key.

Post 1.3

In the C:\igloo\igloo-core-service edit the config.JSON file on line 79 enter the key. Save and restart services.

 

(c) Igloo Vision Ltd. 2023