Author Topic: Map Providers  (Read 633 times)

Astro_liam

  • Newbie
  • *
  • Posts: 25
Map Providers
« on: November 21, 2025, 09:41:12 pm »
Love the new 2D map option for editing parking and pushback! Much more user friendly.

Just one question in the update video it showed multiple map providers. How do we add these? I only have the Openstreetmap option ? How can we add the API Keys for Google and Bing etc where do we place the key?

Thanks




Flightdoc

  • Full Member
  • ***
  • Posts: 217
Re: Map Providers
« Reply #1 on: November 22, 2025, 12:21:59 am »
I googled it



To obtain an API key for Google services, follow these steps:

    Access the Google Cloud Console:
    Navigate to the Google Cloud Console in your web browser. You will need to sign in with a Google account.
    Select or Create a Project:
    If you already have a project, select it from the project list. Otherwise, create a new project and give it a name.
    Navigate to Credentials:
    In the Google Cloud Console, go to the "APIs & Services" section and then select "Credentials."
    Create API Key:
    On the Credentials page, click "Create credentials" and then choose "API key."

Copy the API Key:
Your new API key will be displayed in a dialog box. Copy this key, as it will be used to authenticate your application's requests to Google APIs.
Restrict the API Key (Recommended):
For security purposes, it is highly recommended to restrict your API key. You can do this by editing the key and specifying where and for which APIs it can be used. For example, you can restrict it to specific websites (HTTP referrers) or IP addresses
Flightdoc

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Map Providers
« Reply #2 on: November 22, 2025, 12:37:25 am »
I only have the Openstreetmap option ? How can we add the API Keys for Google and Bing etc where do we place the key?

The page in the manual that explains this is 124.

It's common practice for developers to put their API keys in Environment variables, so they won't be accidentally end up in code and, nowadays everybody uses AI-assisted coding, they won't be *read* by AI assistants when they are looking at your code, so placing API keys in environment variables is just the best standard practice. GSX  just use them.

So, as explained at Page 124 of the manual, GSX will read the API keys from the following variables:

GOOGLE_MAPS_API_KEY
BING_MAPS_API_KEY

If the key are found, they'll be read and saved in the GSX settings (couatladdons.ini)

Terblanche

  • Jr. Member
  • **
  • Posts: 87
Re: Map Providers
« Reply #3 on: November 26, 2025, 10:17:38 am »

To obtain Google and Bing Maps' API codes are SO complicated.

I've followed the instructions step by step and finally when I got my Google API and entered it into GSX maps, nothing happens (i.e. it's probably not valid).

If there is an easier way, or a more precise step-by-step guide, then I'm sure everyone will appreciate it.
Terblanche Jordaan
From: Cape Town (FACT)