Table of contents

 

 


Official Content

The Maps Control Type (available in Panel Grids) provides a way to display locations and geometries, using a map and interacting with them.

So, when you list data in a Grid control that contains a "location" field, it may be displayed as a map by setting the Grid Control Type property to Maps.

A "location" is an attribute or variable based on the Geography data type (or its derived data type GeoPoint). Although "locations" can also be defined based on the Geolocation domain, its use will be discontinued and replaced by the Geography data type.

Using the Maps Control Type

For example, if a Transaction of Waste Containers is defined, you could see the location of the containers on a map, with their different icons depending on the type of container.

GeoCity_Containers_runtime

To see more details on how to design that Panel, go to HowTo: Use the Maps Control Type in a Panel Grid.

Requirements

To enable the device to display a map, you must get the API keys for the map providers you will be using in your application.

Apple
  
Apple Maps No API keys needed
Google Maps Apple Maps API Key property must be used
Android Google Maps Android Google Services API Key property must be used
MapBox Android Maps API Key property and Mapbox API Private Key property must be used
Baidu Maps Android Maps API Key property must be used
AutoNavi Maps

Properties

The following properties are available for Grids with Control Type property = Maps:  Maps Control Type Properties.

Methods

You can set the following methods for Grids with Control Type property = Maps: Maps Control Type Methods.

Events 

The following events are available for Grids with Control Type property = Maps: Maps Control Type Events.


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant