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
The following constants are used to manipulate Map controls:
ConstantDescriptionUsed by the functions
addressCustomAddress type: personalized address.Address variable
addressHomeAddress type: home address.Address variable
addressOtherAddress type: other address type.Address variable
addressWorkAddress type: business (office) address.Address variable
itineraryCarThe itinerary will be drawn taking into account the roads accessible to cars.
Characteristics of this mode:
  • This mode uses Google's geolocation mode. An Internet access is required.
  • You can rearrange the order of the stops get the best possible route.
MapAddItinerary
itineraryCarNotOptimizedThe itinerary will be drawn taking into account the roads accessible to cars.
Characteristics of this mode:
  • This mode uses Google's geolocation mode. An Internet access is required.
  • The order of the stops will not be changed.
MapAddItinerary
itineraryCyclistThe itinerary will be drawn by respecting the ways accessible to the bicycles. The itineraries for cyclists are not available in all the countries. For more information, please consult the Google geolocation service documentation.
Characteristics of this mode:
  • This mode uses Google's geolocation mode. An Internet access is required.
  • You can rearrange the order of the stops get the best possible route.
MapAddItinerary
itineraryManualThe itinerary will be drawn in a straight line between each specified position while ignoring the roads.
This mode avoids the use of Google's geolocation mode.. In this case, the <Positions> parameter must correspond to an array of geoPosition or Marker variables.
In this mode, the intermediate steps are taken into account according to the addition order in the array.
MapAddItinerary
itineraryPedestrianThe itinerary will be drawn by respecting the ways accessible to the pedestrians.
Characteristics of this mode:
  • This mode uses Google's geolocation mode. An Internet access is required.
  • You can rearrange the order of the stops get the best possible route.
MapAddItinerary
mcsAubergineStyle applied to card: "eggplant" style.MapGetStyle, MapChangeStyle
mcsAutomaticStyle applied to map: The style will be applied according to the application's light or dark mode:
  • Clear theme: the style used will be the "standard" style,
  • Dark theme: the style used will be "night".
If the theme of the application changes while the Map control is displayed, the style will change automatically.
MapGetStyle, MapChangeStyle
mcsCustomStyle applied to card: Custom style. MapGetStyle, MapChangeStyle
mcsDarkStyle applied to map: "Dark" style.MapGetStyle, MapChangeStyle
mcsNightStyle applied to card: "Night" style.MapGetStyle, MapChangeStyle
mcsRetroStyle applied to the card: "Retro" style.MapGetStyle, MapChangeStyle
mcsSilverStyle applied to card: "Silver" style.MapGetStyle, MapChangeStyle
mcsStandardStyle applied to card: "standard" style.MapGetStyle, MapChangeStyle
mkBottomMarker alignment mode when displayed on a map: Marker displayed at bottom of position.Marker type
mkCenterMarker alignment mode when displayed on a map: Marker displayed on position.Marker type
mkLeftMarker alignment mode when displayed on a map: Marker displayed to the left of position.Marker type
mkRightMarker alignment mode when displayed on a map: Marker displayed to the right of position.Marker type
mkTopMarker alignment mode when displayed on a map: Marker displayed at top of position.Marker type
The following constants are used to manipulate Map controls (prefix syntax):
ConstantDescriptionUsed by the functions
addressCustomAddress type: personalized address.Address variable
addressHomeAddress type: home address.Address variable
addressOtherAddress type: other address type.Address variable
addressWorkAddress type: business (office) address.Address variable
itineraryCarThe itinerary will be drawn taking into account the roads accessible to cars.
Characteristics of this mode:
  • This mode uses Google's geolocation mode. An Internet access is required.
  • You can rearrange the order of the stops get the best possible route.
<Map>.AddItinerary
itineraryCarNotOptimizedThe itinerary will be drawn taking into account the roads accessible to cars.
Characteristics of this mode:
  • This mode uses Google's geolocation mode. An Internet access is required.
  • The order of the stops will not be changed.
<Map>.AddItinerary
itineraryCyclistThe itinerary will be drawn by respecting the ways accessible to the bicycles. The itineraries for cyclists are not available in all the countries. For more information, please consult the Google geolocation service documentation.
Characteristics of this mode:
  • This mode uses Google's geolocation mode. An Internet access is required.
  • You can rearrange the order of the stops get the best possible route.
<Map>.AddItinerary
itineraryManualThe itinerary will be drawn in a straight line between each specified position while ignoring the roads.
This mode avoids the use of Google's geolocation mode.. In this case, the <Positions> parameter must correspond to an array of geoPosition or Marker variables.
In this mode, the intermediate steps are taken into account according to the addition order in the array.
<Map>.AddItinerary
itineraryPedestrianThe itinerary will be drawn by respecting the ways accessible to the pedestrians.
Characteristics of this mode:
  • This mode uses Google's geolocation mode. An Internet access is required.
  • You can rearrange the order of the stops get the best possible route.
<Map>.AddItinerary
mcsAubergineStyle applied to card: "eggplant" style.MapGetStyle, MapChangeStyle
mcsAutomaticStyle applied to map: The style will be applied according to the application's light or dark mode:
  • Clear theme: the style used will be the "standard" style,
  • Dark theme: the style used will be "night".
If the theme of the application changes while the Map control is displayed, the style will change automatically.
MapGetStyle, MapChangeStyle
mcsCustomStyle applied to card: Custom style. <Map>.GetStyle, <Map>.ChangeStyle
mcsDarkStyle applied to map: "Dark" style.<Map>.GetStyle, <Map>.ChangeStyle
mcsNightStyle applied to card: "Night" style.<Map>.GetStyle, <Map>.ChangeStyle
mcsRetroStyle applied to the card: "Retro" style.<Map>.GetStyle, <Map>.ChangeStyle
mcsSilverStyle applied to card: "Silver" style.MapGetStyle, MapChangeStyle
mcsStandardStyle applied to card: "standard" style.<Map>.GetStyle, <Map>.ChangeStyle
mkBottomMarker alignment mode when displayed on a map: Marker displayed at bottom of position.Marker type
mkCenterMarker alignment mode when displayed on a map: Marker displayed on position.Marker type
mkLeftMarker alignment mode when displayed on a map: Marker displayed to the left of position.Marker type
mkRightMarker alignment mode when displayed on a map: Marker displayed to the right of position.Marker type
mkTopMarker alignment mode when displayed on a map: Marker displayed at top of position.Marker type
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help