Configuring Google Maps

To make sure Google Maps is displayed properly on your screen, configure the applicable properties.

Make sure to set the FX Google Map context properties.
  1. Install a current version of Microsoft Edge.
    Please refer to Microsoft documentation for the installation procedure.
  2. If using Windows 10, install WebView2 runtimes.
    Note: Windows 11 already includes the required runtimes.
  3. Open the Trapeze6 Service Shell.
  4. Open the Trapeze6 Client Shell, and then open the Properties screen.
  5. Set the following values for the Core > Server > Headers > Content Security-Policy property.

    base-uri 'self'; connect-src 'self' https://*.googleapis.com *.google.com https://*.gstatic.com data: blob:; default-src 'none'; form-action 'self'; frame-src 'self' *.google.com; img-src 'self' maps.google.com maps.gstatic.com *.googleapis.com *.ggpht.com data:; img-src 'self' https://*.googleapis.com https://*.gstatic.com *.google.com *.googleusercontent.com data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.googleapis.com https://*.gstatic.com *.google.com https://*.ggpht.com *.googleusercontent.com https://ajax.googleapis.com https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com

    Click the Save button.

    Note: The property defines the Content Security Policy header for HTTP responses. It aims to prevent a wide range of security attacks including cross-site scripting and other cross-site injections. It is available in Trapeze6 version 19 and later.
  6. Open the Trapeze4 workstation, and then select Tools > System Properties.
    The Properties dialog opens.
  7. Set the following Port No. properties:
    • On System tab, set FX > Services > IP Port No.
    • On Profile tab, set Services > IP Port.

    The port numbers should be the same.

    Click Apply.

  8. Open the Route Definition screen.
  9. Select the Google Maps button: Google Maps button
    The map is shown on the right pane of the screen.