PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
MapConfigureGglAPI (Function)
In french: CarteConfigureAPIGgl
Warning
From version 20 (57), MapConfigureAPIGgl is kept for backward compatibility. This function is replaced by 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 Caution: This function must be used in the initialization code of the project. The function will have no effect if it is used in another process.
Example
MapConfigureGglAPI("libraries=geometry,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.
Component: wd270obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment