ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Map functions
  • Getting a Bing key
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
MapLicenseBing (Function)
In french: CarteLicenceBing
Indicates the "Bing map" license key that will be used in the Map controls used in Universal Windows 10 App mode.
Example
// Project initialization
MapLicenseBing("AIzaSyBjsINSH5x39Ks6c0_CoS1yr1Mb3cB3cVo")
Syntax
MapLicenseBing(<key>)
<key>: Character string
Key supplied by Bing.
Remarks

Getting a Bing key

In the Universal Windows 10 App applications, the Map control is using the "Bing Map" service.
To use this service, you must get a Bing Map license key.
To get a Bing Map license key:
  1. Register on https://www.bingmapsportal.com/.
  2. In the "My Account" menu, select "Create or view keys".
  3. Specify the requested information:
    • Application name.
    • Type of key.
    • Type of application: "Universal Windows App".
  4. Click "Create".
  5. The generated key is displayed in the browser. The "Copy key" link is used to copy the key.
Reminder: The use of the Map control is subject to specific terms and conditions. For more details, see http://www.microsoft.com/maps/Licensing/licensing.aspx.

Use conditions

  • This function allows you to specify the license to use in order for the provider of Bing maps to allow the application to access the extended features (markers, itineraries, ...).
  • The license is applied to all the Map controls of the application. It will not be used for all the new Map controls created after the call to the function.
  • It is recommended to use MapLicenseBing in the initialization code of the project.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help