Topics List
Design Elements

Maps Control
Location Services: Integrating Google Maps using a Native Control

The Google Maps control enables you to integrate interactive maps into your app, providing location-based services and enhancing user engagement. With Google Maps, you can display maps, add markers for specific locations, show routes and directions, and enable various map-related features. This control is ideal for apps that require mapping functionalities, such as navigation apps, travel guides, or location-based services. Integrating Google Maps into your app enhances its functionality and usability, allowing users to interact with maps directly within the app.
When using a Google Maps control, there are limitations on the level of customization and interaction that can be achieved compared to directly using a WebView control. However, depending on the app´s requirements and development needs, using the Google Maps control can still be a useful approach, providing a simpler integration method and basic mapping functionalities.



You can download the project from the following link:

Class_Rar_0__47.rar

You can observe the project in motion here:



Map´s Properties


During design mode, you can assign the following properties and events to a Map:



  • name: The name of the Google Maps control.

  • Position and Size

    • x: The x-coordinate of the Google Maps control.

    • y: The y-coordinate of the Google Maps control.

    • const_anchorX: The anchor point on the x-axis.

    • const_anchorY: The anchor point on the y-axis.

    • width: The width of the Google Maps control.

    • height: The height of the Google Maps control.

    • toBack: Set to true to move the Google Maps control to the back.

    • toFront: Set to true to move the Google Maps control to the front.

    • isVisible: Set to true to make the Google Maps control visible.

  • Appearance

    • mapType: The type of map to display (standard, satellite, hybrid).

  • Content

    • latitude: The latitude of the map center.

    • longitude: The longitude of the map center.

  • Functions

    • tap: The function to execute when the Google Maps control is tapped.