|
|
|
|
|
MapMode (Property) In french: ModeCarte
The MapMode property determines and changes how the map is displayed in the Map control. This map can be displayed in road map mode or in satellite mode.
// Modify the display mode of the Map control MAP_Position.MapMode = mapModeSatellite
Syntax
Finding out the display mode of a Map control Hide the details
<Result> = <Map control>.MapMode
<Result>: Integer constant Current display mode of the map in the Map control. This parameter can correspond to one of the following constants:
| | mapModePlan | The map displayed in the Map control is in road map mode. | mapModeSatellite | The map displayed in the Map control is in satellite mode. |
<Map control>: Control name Name of the Map control to be used.
Modifying the display mode of a Map control Hide the details
<Map control>.MapMode = <New display mode>
<Map control>: Control name Name of the Map control to be used. <New display mode>: Integer constant New display mode of the map in the Map control. This parameter can correspond to one of the following constants:
| | mapModePlan | The map displayed in the Map control is in road map mode. | mapModeSatellite | The map displayed in the Map control is in satellite mode. |
Related Examples:
|
Unit examples (WEBDEV): The Map control
[ + ] This example explains how to use the Map control of WEBDEV. It can be used to display a map that includes markers as well as an itinerary.
|
|
Unit examples (WINDEV): The Map control
[ + ] Using the Map control of WINDEV. It is used to display a map that includes markers as well as an itinerary.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|