AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Mapa
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 20 (57), MapConfigureAPIGgl se conserva por motivos de compatibilidad. Esta función ha sido reemplazada por 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.
Ejemplo
// Code up to version 2025 Update 1 
// MapConfigureGglAPI("libraries=geometry,places","language=fr")
// Code operating from version 2025 Update 2 
MapConfigureGglAPI("libraries=geometry,marker,places", "language=en")
Sintaxis
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.
Observaciones
  • 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.
  • Novedad versión 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.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 20
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local