Xebia MapsAndLocations
Overview
📌 Xebia Maps & Locations
Xebia Maps & Locations is an advanced geolocation and mapping module designed to supercharge Mendix apps with real-time location intelligence. Whether you're displaying maps or converting addresses to coordinates and vice versa, this module provides a robust, plug-and-play solution.
🚀 Key Features:
-
📍 GetCurrentLocationAsHumanReadable :- Retrieve the user's current location in a clean, readable address format (e.g., street, city, country).
-
🌍 GetAddressByLatLong :- Perform reverse geocoding — convert latitude & longitude into a complete address.
-
🗺️ GetLatLongByAddress :- Perform forward geocoding — convert any address into latitude & longitude coordinates.
Documentation
Typical usage scenario
-
Location-based dashboards
-
Asset and site tracking
-
Store locator apps
-
Delivery zone visualization
-
Smart form autofill using current location
Features
-
📍 GetCurrentLocationAsHumanReadable :- Retrieve the user's current location in a clean, readable address format (e.g., street, city, country).
-
🌍 GetAddressByLatLong :- Perform reverse geocoding — convert latitude & longitude into a complete address.
-
🗺️ GetLatLongByAddress :- Perform forward geocoding — convert any address into latitude & longitude coordinates.
Dependencies
Configuration
-
Download the Community Commons module from the Mendix Marketplace.
-
Go to Google Cloud Platform and generate your API Key (make sure Geocoding API is enabled).
-
Download the Xebia Maps & Locations module.
-
Open the Nanoflow folder inside this module, choose any nanoflow as per your requirement, and set the API Key in the JavaScript action used inside the nanoflow.
-
Open the MapsAndLocations page and set the API Key in all the map widgets.
Note: The accuracy of the detected address depends on the Google Geocoding API. When using a free-tier API key, results may occasionally be approximate or less precise.