|
|
|
|
Constants for managing Map controls
The following constants are used to manage Map controls: | | | Constant | Description | Used by the functions |
---|
addressCustom | Type of address: custom address. | Address variable | addressHome | Type of address: home address. | Address variable | addressOther | Type of address: other type of address. | Address variable | addressWork | Type of address: professional address (office). | Address variable | itineraryCar | The 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 | itineraryCarNotOptimized | The 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 | itineraryCyclist | The 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 | itineraryManual | The 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 | itineraryPedestrian | The 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 | mcsAubergine | Style applied to the map: "aubergine" style. | MapGetStyle, MapChangeStyle | mcsAutomatic | Style 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 | mcsCustom | Style applied to the map: Custom style. | MapGetStyle, MapChangeStyle | mcsDark | Style applied to the map: "Dark" style. | MapGetStyle, MapChangeStyle | mcsNight | Style applied to the map: "night" style. | MapGetStyle, MapChangeStyle | mcsRetro | Style applied to the map: "Retro" style. | MapGetStyle, MapChangeStyle | mcsSilver | Style applied to the map: "silver" style. | MapGetStyle, MapChangeStyle | mcsStandard | Style applied to the map: "standard" style. | MapGetStyle, MapChangeStyle | mkBottom | Mode for aligning the marker when it is displayed on a map: Marker displayed at the bottom of the position. | Marker type | mkCenter | Mode for aligning the marker when it is displayed on a map: Marker displayed on the position. | Marker type | mkLeft | Mode for aligning the marker when it is displayed on a map: Marker displayed on the left of the position. | Marker type | mkRight | Mode for aligning the marker when it is displayed on a map: Marker displayed on the right of the position. | Marker type | mkTop | Mode 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): | | | Constant | Description | Used by the functions |
---|
addressCustom | Type of address: custom address. | Address variable | addressHome | Type of address: home address. | Address variable | addressOther | Type of address: other type of address. | Address variable | addressWork | Type of address: professional address (office). | Address variable | itineraryCar | The 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 | itineraryCarNotOptimized | The 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 | itineraryCyclist | The 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 | itineraryManual | The 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 | itineraryPedestrian | The 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 | mcsAubergine | Style applied to the map: "aubergine" style. | MapGetStyle, MapChangeStyle | mcsAutomatic | Style 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 | mcsCustom | Style applied to the map: Custom style. | <Map>.GetStyle, <Map>.ChangeStyle | mcsDark | Style applied to the map: "Dark" style. | <Map>.GetStyle, <Map>.ChangeStyle | mcsNight | Style applied to the map: "night" style. | <Map>.GetStyle, <Map>.ChangeStyle | mcsRetro | Style applied to the map: "Retro" style. | <Map>.GetStyle, <Map>.ChangeStyle | mcsSilver | Style applied to the map: "silver" style. | MapGetStyle, MapChangeStyle | mcsStandard | Style applied to the map: "standard" style. | <Map>.GetStyle, <Map>.ChangeStyle | mkBottom | Mode for aligning the marker when it is displayed on a map: Marker displayed at the bottom of the position. | Marker type | mkCenter | Mode for aligning the marker when it is displayed on a map: Marker displayed on the position. | Marker type | mkLeft | Mode for aligning the marker when it is displayed on a map: Marker displayed on the left of the position. | Marker type | mkRight | Mode for aligning the marker when it is displayed on a map: Marker displayed on the right of the position. | Marker type | mkTop | Mode for aligning the marker when it is displayed on a map: Marker displayed at the top of the position. | Marker type |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|