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
  • Properties specific to Address variables
  • Using Address variables
  • Reinitialization
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
The Address type is used to manipulate the address of a place or person. An address is defined by a postal address (street, city, state, postal code, country) and/or a geographic position (latitude and longitude). You can define and change the characteristics of this address via different WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Ejemplo
MyAddress is Address
MyAddress.City = "Paris"
MyAddress.Country = "France"
// Centers the map displayed by the "MAP_Position" control from an address
MapDisplayPosition(MAP_Position, MyAddress)
Propiedades

Properties specific to Address variables

The following properties can be used to define the characteristics of Address variables:
Property nameType usedEffect
AdminAreaCharacter stringRegion associated with the address (state for an address in the USA, land for an address in Germany, etc.).
This property is optional.
CityCharacter stringName of city.
This property is optional.
CountryCharacter stringName of the country. This property is optional.
Character stringLabel for the types of custom addresses (optional).
If Type does not correspond to the addressCustom constant, the value of this property will be ignored.
This property is mainly used to manage the contacts.
PositiongeoPosition variableGeographical position of address: latitude and longitude.
This property is optional.
If the geographic position is not specified, the PositionValid property of the geoPosition variable is set to False.
StreetCharacter stringName of the street, road or avenue.
This property is optional.
Integer constantType of address:
  • addressOther other type of address.
  • office address: business (office) address.
  • home address: home address.
  • personalizedaddress custom type corresponding to the value of the Label.
This property is mainly used to manage the contacts.
ZipCodeCharacter stringZip code of the address.
This property is optional.
Observaciones

Using Address variables

Address variables are used by the following functions:
geoGetAddressRetrieves an address or a list of addresses corresponding to the description of a geographic location.
MapAddItineraryAdds an itinerary onto a Map control.
MapDisplayPositionCenters the map displayed in a Map control on a geographical position or on a specific location.
The Address variables are used by the following types of variables:
ContactoEn Contacto se utiliza para definir las características avanzadas de un contacto de la agenda telefónica.

Reinitialization

You can use VariableReset to reset the content of an Address variable.
Versión mínima requerida
  • Versión 17
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 14/05/2025

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