|
|
|
|
MapDisplayPosition (Function) In french: CarteAffichePosition Centers the map displayed in a Map control on a geographical position or on a specific location. An animation is automatically performed. At the end of the animation, the "Whenever changing position" event of the Map control will be run. This event will not be run if the positioning on the map is canceled by the user before the end of the animation.
// Centers the map displayed by the "MAP_Position" control on a geographical position MyLocation is geoPosition MapDisplayPosition(MAP_Position, MyPosition) Â // Equivalent syntax (without animation): MAP_Position = MyPosition Remarks - The zoom level of the map is not modified when changing position.
- To center the map on a specific position without performing the animation, you have the ability to assign a geoPosition variable to the Value property of a Map control.
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|