Now that you have a way to detect the user location, you will create a new User Variable in which you will store the geolocation coordinates of Belgium. At runtime, you will compare the cpInfoGeolocation system variable to your custom Belgium variable. If you detect that the learner is in Belgium, you should display the slide that you inserted in the project earlier in this section. Use the following steps to create a custom Belgium variable:
- Still in the Variables dialog of the takeTheTrain.cptx file, use the Type dropdown to return to the User Variables.
- Click the Add New button to create a new User Variable.
- Type v_locationBelgium in the Name field.
- Select the Geolocation checkbox below the Unused ...