The CGI Advantage system initialization file, ADV30Params.ini, contains initialization parameters that are used by CGI Advantage. This topic includes details on the parameters that relate to the Travel and Expense Management area along with a brief description for each parameter.
Parameter |
Description |
MapService |
Valid values are GoogleMaps or MapQuest. The default value is GoogleMaps. This parameter indicates whether the application should use Google Maps or MapQuest API. If MapQuest is selected, then refer to the parameters listed in the “MapQuest Parameters” section of this topic. If GoogleMaps is selected, then refer to the “Google Maps Parameters” section of this topic. |
The following parameters are only used if the MapService parameter is MapQuest.
Parameter |
Description |
MapQuestEnterpriseKey |
This is a required parameter to capture the MapQuest license key. This parameter can also be used to specify open license keys for use with Advantage for internal testing or other less formal environments. |
MapQuestGeocodingURL |
This parameter captures the Geocoding URL. When using an enterprise license key, use https://www.mapquestapi.com/. See https://www.mapquestapi.com/geocoding for details. When using an open license key, use https://open.mapquestapi.com/. See https://open.mapquestapi.com/geocoding for details. |
MapQuestGeocodingOptions |
This is a required parameter that allows filtering addresses by how specific the address should be. The following first two characters of the MapQuest Quality Code describe the type of location:
Required: L1 (specific address) Recommended: I1, P1 (allows for precise distance calculation) Optional: A5, A6, B1, B2, B3, Z1, Z2, Z3, Z4 (less meaningful for distance) Not recommended: A1, A3, A4 (not meaningful for distance) |
MapQuestReverseURL |
This parameter captures the Reverse route request URL – searching by latitude/longitude instead of location. When using an enterprise license key, use https://www.mapquestapi.com/. See https://www.mapquestapi.com/reverse for details. When using an open license key, use https://open.mapquestapi.com/. See https://open.mapquestapi.com/reverse for details. |
MapQuestRouteURL |
This parameter captures the Route request URL. When using an enterprise license key, use https://www.mapquestapi.com/. See https://www.mapquestapi.com/directions for details. When using an open license key, use https://open.mapquestapi.com/. See https://open.mapquestapi.com/directions for details. |
MapQuestRouteOptions |
This parameter captures the Route request parameters. When using an enterprise license key, see https://www.mapquestapi.com/directions for details. When using an open license key, see https://open.mapquestapi.com/directions for details. Ensure this value is URL encoded (spaces are prohibited). |
MapQuestProxyServerURL |
This parameter is optional. If a proxy server is required for the Advantage server to connect to the Internet, then this parameter provides the URL of the proxy server to be used for access to MapQuest. |
MapQuestProxyServerPort |
This parameter is required if the MapQuestProxyServerURL parameter is populated. |
MapQuestAutoSuggestURL |
Required if your site uses the auto suggest feature of MapQuest. |
The following parameters are only used if the MapService parameter is GoogleMaps.
Parameter |
Description |
GoogleMapsEnterpriseKey |
Captures a valid Google Maps license key. |
GoogleMapsGeocodingURL |
Captures the Geocoding request URL. See https://developers.google.com/maps/documentation/geocoding/overview for details. |
GoogleMapsReverseURL |
Reverse (by Lat/Long) Request URL See https://developers.google.com/maps/documentation/geocoding/overview for details. |
GoogleMapsRouteURL |
Route Request URL See https://developers.google.com/maps/documentation/geocoding/overview for details. |
GoogleMAPsScriptURL |
Google Map Scripts URL Required if using Google Map Service. |