How is your experience with the OutSystems Community?
geolocator
Reactive icon

Geolocator

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 20 June 2025
 by 
0.0
 (0 ratings)
geolocator

Geolocator

Documentation
1.0.0

📍 Web Geolocator – JavaScript Documentation

This component provides real-time geolocation functionality for OutSystems Reactive and Traditional Web applications using pure JavaScript. Unlike the built-in mobile-only geolocation plugin, this solution allows web apps to access the user's current location (latitude and longitude) directly through the browser's Geolocation API.

🔧 Features:

  • Real-time position tracking

  • Latitude and longitude retrieval

  • Compatible with all major modern browsers

  • Lightweight and easy to integrate

  • Includes error handling (e.g., permission denied, timeout)

🚀 How It Works:

The component uses navigator.geolocation.watchPosition() to track the user's position in real time. Each time the position changes, the updated coordinates are passed to the OutSystems client action via a JavaScript-to-OutSystems event bridge.

✅ Use Cases:

  • Real-time user tracking on a map

  • Location-based filtering or content display

  • Delivery tracking dashboards

  • Geo-tagging actions within web forms

No mobile plugin required. Fully web-native.