Modifying the Candidate Space map option

Embedded Google Maps functionality is used to display maps for job locations. You can modify this configuration. The procedure is essentially the same whether you modify the source file or the CandidateSpace.zip file.

  • The location that is shown is the requisition location.
  • The address format can be controlled on the Country record. Select Administrator > Set Up > Prerequisites > Countries > Countries. If no format is provided on the country record, then the address is a concatenation of the Street, City, State, Postal Code, and Country.
  1. Select CandidateSpace/src/js/global.js or html/js/global.js.
  2. Search for "showMap"
  3. Specify this information:
    showMap
    CandidateSpace/src/js/global.js or EmbeddedGoogleMaps is the default. It provides free basic Google maps for locations on job description pages.

    Specify none if you do not want to display maps.

    Specify MapLinkOnly to display only links to maps.

    Specify GoogleMapsAPI for the enhanced look and functionality provided by a Google Map API. You must procure a Google Map API license from Google. If you choose this option, you must specify your Google Map API key as the value for the googleMapAPIKey field variable.

    Specify BingMapsAPI for the enhanced look and functionality provided by a Bing™ Map API. You must procure a Bing Map API license from Bing. If you choose this option, you must specify your Bing Map API key as the value for the bingMapAPIKey field variable.

    googleMapAPIKey
    If you specified GoogleMapsAPI for your showMap option, then you must specify your Google Map API key. Otherwise this value is blank.
    bingMapAPIKey
    If you specified BingMapsAPI for your showMap option, then you must specify your Bing Map API key. Otherwise this value is blank.
  4. Save the file.
  5. If you modified the source file, redeploy the application to Websphere for the changes to take effect.

    If you modified the Candidatespace.zip file, select Administrator > Talent Acquisition > Code Setup > Job Board. Upload the modified file to the job boards.