Official Content

Warning: The Maps external object is newer than the Geolocation external object. Many of the methods and properties provided by both external objects are similar. The difference consists in the fact that the Maps external object uses the Geography data type while the Geolocation external object uses the Geolocation domain (which is deprecated). In addition, the Maps external object includes more functionalities. The use of the Maps external object and the Geography data type is highly recommended.

The following are the scenarios that the Geolocation external object is designed to solve.

Showing geolocation information

Where are all the Facilities of my company?
Which gas station are within a mile from me?

The canonical case would be to create an app which will show the Top 5 Customers near my current position.

How To: Geolocation - Show points near me

Sending geolocation information

Which is the location of this accident?
Which is the location of this restaurant?

The canonical case of use would be to develop an app that enables the user to report transit issues and one key piece of information can be the location of that issue.

How To: Geolocation - Showing My Location

Tracking Geolocation

How did the truck got to that place?
Where is the route this cab did?

A canonical case of use would be tracking vendors in mobile point of sale applications.

 

IMPORTANT

To use this API in iOS is important to set the Location when in Use Usage Property

How To: HowTo: Solve Tracking with GeneXus






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