ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Map functions
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
The following constants are used to manage Map controls:
ConstantDescriptionUsed by the functions
addressCustomType of address: custom address.Address variable
addressHomeType of address: home address.Address variable
addressOtherType of address: other type of address.Address variable
addressWorkType of address: professional address (office).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. See the documentation about the geo-localization service of Google for more details.
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 is not necessarily using the geo-localization mode of Google. 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 the map: "aubergine" style.MapGetStyle, MapChangeStyle
mcsAutomaticStyle applied to the map: The style will be applied according to the light or dark mode of the application:
  • Light theme: the "standard" style will be used,
  • Dark theme: the "night" style will be used.
If the theme of the application changes while the Map control is displayed, the style will change automatically.
MapGetStyle, MapChangeStyle
mcsCustomStyle applied to the map: Custom style. MapGetStyle, MapChangeStyle
mcsDarkStyle applied to the map: "Dark" style.MapGetStyle, MapChangeStyle
mcsNightStyle applied to the map: "night" style.MapGetStyle, MapChangeStyle
mcsRetroStyle applied to the map: "Retro" style.MapGetStyle, MapChangeStyle
mcsSilverStyle applied to the map: "silver" style.MapGetStyle, MapChangeStyle
mcsStandardStyle applied to the map: "standard" style.MapGetStyle, MapChangeStyle
mkBottomMode for aligning the marker when it is displayed on a map: Marker displayed at the bottom of the position.Marker type
mkCenterMode for aligning the marker when it is displayed on a map: Marker displayed on the position.Marker type
mkLeftMode for aligning the marker when it is displayed on a map: Marker displayed on the left of the position.Marker type
mkRightMode for aligning the marker when it is displayed on a map: Marker displayed on the right of the position.Marker type
mkTopMode for aligning the marker when it is displayed on a map: Marker displayed at the top of the position.Marker type
The following constants are used to manage Map controls (prefix syntax):
ConstantDescriptionUsed by the functions
addressCustomType of address: custom address.Address variable
addressHomeType of address: home address.Address variable
addressOtherType of address: other type of address.Address variable
addressWorkType of address: professional address (office).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. See the documentation about the geo-localization service of Google for more details.
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 is not necessarily using the geo-localization mode of Google. 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 the map: "aubergine" style.MapGetStyle, MapChangeStyle
mcsAutomaticStyle applied to the map: The style will be applied according to the light or dark mode of the application:
  • Light theme: the "standard" style will be used,
  • Dark theme: the "night" style will be used.
If the theme of the application changes while the Map control is displayed, the style will change automatically.
MapGetStyle, MapChangeStyle
mcsCustomStyle applied to the map: Custom style. <Map>.GetStyle, <Map>.ChangeStyle
mcsDarkStyle applied to the map: "Dark" style.<Map>.GetStyle, <Map>.ChangeStyle
mcsNightStyle applied to the map: "night" style.<Map>.GetStyle, <Map>.ChangeStyle
mcsRetroStyle applied to the map: "Retro" style.<Map>.GetStyle, <Map>.ChangeStyle
mcsSilverStyle applied to the map: "silver" style.MapGetStyle, MapChangeStyle
mcsStandardStyle applied to the map: "standard" style.<Map>.GetStyle, <Map>.ChangeStyle
mkBottomMode for aligning the marker when it is displayed on a map: Marker displayed at the bottom of the position.Marker type
mkCenterMode for aligning the marker when it is displayed on a map: Marker displayed on the position.Marker type
mkLeftMode for aligning the marker when it is displayed on a map: Marker displayed on the left of the position.Marker type
mkRightMode for aligning the marker when it is displayed on a map: Marker displayed on the right of the position.Marker type
mkTopMode for aligning the marker when it is displayed on a map: Marker displayed at the top of the position.Marker type
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help