ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Map functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
MapConfigureGglAPI (Function)
In french: CarteConfigureAPIGgl
Warning
From version 20 (57), MapConfigureAPIGgl is kept for backward compatibility. This function has been replaced with MapConfigureGglAPI.
Declares additional parameters for the Map control that will be transmitted to the Google API.
This function is mainly used to handle the additional libraries of functions, not available in the default Map control. These functions will be available in browser code in the native JavaScript object returned by MapGetJSObject.
WINDEV Warning: This function must be used in the project initialization code.. The function will have no effect if it is used in another process.
Example
// Code fonctionnant jusqu'à la version 2025 Update 1 
// CarteConfigureAPIGgl("libraries=geometry,places","language=fr")
// Code fonctionnant à partir de la version 2025 Update 2 
MapConfigureGglAPI("libraries=geometry,marker,places","language=fr")
Syntax
MapConfigureGglAPI(<Parameter 1> [, <Parameter 2> [... [, <Parameter N>]]])
<Parameter 1>: Character string
First parameter transmitted to the API. The parameter has the following format: Name=Value.
<Parameter 2>: Optional character string
Second optional parameter transmitted to the API. The parameter has the following format: Name=Value.
<Parameter N>: Optional character string
Last optional parameter transmitted to the API. The parameter has the following format: Name=Value.
Remarks
  • The configuration is global to the project. Each call to the function replaces the parameters defined beforehand.
  • If the function is called without parameter, the parameters defined beforehand are erased and no parameter is transmitted to the API.
  • The Map control may not operate if the transmitted value is invalid.
  • New in version 2025
    Warning: Some Google APIs have been deprecated. Map control management functions have been updated. If you use the MapConfigureGglAPIfunction, remember to check its operation and make any necessary adjustments.
Component: wd300obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help