Google Geolocation
Google Geolocation
Global location API'sEVA uses Google's API's for encoding address data into latitude/longitude and vice versa. This is used by Order Orchestration, store locators, address lookup et cetera.
First off, you need your own Google Places API credentials, which you need to get from Google. To be very specific, you need API keys for:
- Google Geocoding API
- Google Places API
When you have these API credentials, set them for the following settings:
Google:Geocoding:ApiKey
Google:Places:ApiKey
Note
Make sure to add your EVA endpoint as allowed origin for your API credential.
Places API
Setting | Description |
---|---|
Google:Places:ApiKey:IP | Used for Geolocation bij EVA Core. |
Google:Places:ApiKey:HTTP | Exposed in GetApplicationConfiguration and used by our apps. |
Google:Places:ApiKey:Android | Exposed in GetApplicationConfiguration and used by our apps. |
Google:Places:ApiKey:IOS | Exposed in GetApplicationConfiguration and used by our apps. |
Maps API
Setting | Description |
---|---|
Google:Maps:ApiKey:HTTP | Exposed in GetApplicationConfiguration and used by our apps. |
Google:Maps:ApiKey:Android | Exposed in GetApplicationConfiguration and used by our apps. |
Google:Maps:ApiKey:IOS | Exposed in GetApplicationConfiguration and used by our apps. |
Directions API
Setting | Description |
---|---|
Google:Directions:ApiKey | |
Google:Directions:Url |
Geocoding API
Setting | Description |
---|---|
Google:Geocoding:ApiKey |
Analytics
Setting | Description |
---|---|
Google:Analytics:TrackingID | Exposed in GetApplicationConfiguration and used by our apps. |