Locate and Mapping¶
Table of Contents¶
- Overview
- Accessing the Locate Page
- The Asset Map
- Map Layers
- Map Controls
- Understanding Map Markers
- Asset Pins
- Parts and Materials Pins
- Running Status Indicator
- Viewing Asset Details on the Map
- Address Search
- Using Google Places Autocomplete
- Using Nominatim Search
- Clearing a Search
- Filtering the Map
- Text Search
- Status Filter
- Layer Toggles
- Map and List Views
- Map View
- List View
- Stats Bar
- Setting an Asset Location
- Manual Coordinate Entry
- Supported Coordinate Formats
- Selecting a Map Icon
- Mobile GPS Location Capture
- Automatic GPS Recording
- Recording Parameters
- Geolocation in Inspections
- Parts and Materials Locations
- Employee Location History
- Photo Geo-Tagging
- Tips for Rural and Remote Users
Overview¶
The Locate and Mapping module gives you a real-time, interactive map of all your tracked assets, parts, and materials. You can see where equipment is located, whether it is currently running, who last operated it, and navigate to any location across your operations — all from a single screen.
The map is built on Leaflet.js and supports street, satellite, and hybrid imagery. It integrates with Google Places for address search and displays colour-coded markers for quick visual identification.
Accessing the Locate Page¶
- Log in to AXITRAQ at axitraq.app.
- From the main navigation menu, select Locate.
- The Locate page opens with the interactive map displayed by default.
You need the Manage Assets permission to access this page.
The Asset Map¶
Map Layers¶
The map provides three tile layer options, accessible from the layer control in the top-right corner:
| Layer | Description |
|---|---|
| Street | Standard OpenStreetMap road and place names (default) |
| Satellite | ESRI World Imagery aerial photography |
| Hybrid | Satellite imagery with road and place name labels overlaid |
To switch layers, click the desired option in the layer control panel.
Map Controls¶
- Zoom: Use the + and - buttons in the top-left corner, scroll wheel, or pinch gesture on touch devices.
- Pan: Click and drag the map, or use two-finger drag on mobile.
- Fit to bounds: When data loads, the map automatically adjusts to show all markers with comfortable padding.
- Full screen: Expand the map to fill your browser viewport using the full-screen control.
Understanding Map Markers¶
Asset Pins¶
Assets appear as teardrop-shaped pins on the map. Each pin can display one of 21 equipment icons rendered as a white silhouette inside the coloured teardrop:
| Category | Available Icons |
|---|---|
| Vehicles | Vehicle, Semi Truck, Dump Truck |
| Heavy Machinery | Bulldozer, Excavator, Crane, Grader, Road Roller, Forklift, Skid Steer, Front Loader |
| Tools | Drill, Hammer, Jackhammer, Shovel, Toolbox |
| Implements | Wheelbarrow, Trailer |
| Inventory | Material (Bricks) |
Assets without a specific icon assigned display as a simple coloured dot.
Pin colours indicate status:
- Blue — Active asset
- Green — Currently running (last started, not yet stopped)
- Grey — Inactive asset
Parts and Materials Pins¶
Inventory locations with GPS coordinates appear as diamond-shaped pins, visually distinct from asset teardrops:
- Amber — Parts
- Purple — Materials
- Teal — Items classified as both part and material
Running Status Indicator¶
If an asset has a recorded start event more recent than its last stop event, the map treats it as "running." Running assets display a green pin and a green dot indicator in list view.
Viewing Asset Details on the Map¶
To view details for any asset on the map:
- Hover over a pin to see a tooltip with the asset code, name, icon type, and running status.
- Click the pin to open a detailed popup showing:
- Asset code and name
- Map icon type
- Manufacturer and model
- Current location name
- Hour meter reading
- Running status
- Last start time and operator
- Last stop time and operator
- Links to View Asset and Activity History
For parts and materials, the popup displays the item name, part number, type, category, quantity on hand, location name, address, and a link to edit the part.
Address Search¶
The map includes a dedicated search bar labelled "Map Search" located above the map area. This allows you to navigate the map to any address or place.
Using Google Places Autocomplete¶
- Click into the Map Search input field.
- Begin typing a place name, road, or address.
- A dropdown of autocomplete suggestions appears as you type.
- Select a suggestion from the list.
- The map flies to that location with a smooth animation and drops a red search pin.
- A popup on the search pin shows the resolved address.
Using Nominatim Search¶
If you press Enter without selecting an autocomplete suggestion:
- AXITRAQ first attempts a Google Geocoder lookup.
- If Google returns no results, it falls back to OpenStreetMap Nominatim geocoding.
- The map flies to the first result and drops a search pin.
This is useful for general area searches or when Google Places does not surface your query.
Clearing a Search¶
After searching, a Clear button appears beside the search bar. Click it to remove the search pin and reset the input field.
Filtering the Map¶
Text Search¶
- Enter a keyword in the Search field at the top of the Locate toolbar.
- Press Enter or click Refresh.
- The map and list update to show only assets matching by code, name, location, or manufacturer. Parts filter by name, part number, location name, or address.
Status Filter¶
- Use the Status dropdown to filter assets:
- All Statuses — shows everything
- Active (selected by default) — only active assets
- Inactive — only inactive assets
- Maintenance — only assets in maintenance
- The map updates immediately when you change the selection.
Layer Toggles¶
Two toggle buttons control which marker layers are visible:
- Assets — toggles the teardrop asset pin layer on or off
- Parts and Materials — toggles the diamond inventory pin layer on or off
Click a toggle to show or hide its layer. Active toggles are highlighted with a coloured border.
Map and List Views¶
Map View¶
The default view. Shows the interactive Leaflet map with all visible markers. The map container fills 65% of the viewport height (minimum 400px).
List View¶
Switch to list view by clicking the List button in the top-right corner of the card header.
The list view displays:
Assets table with columns: - Status (with running indicator dot) - Code - Name (with icon type) - Location (address or GPS coordinates) - Last Activity (most recent start or stop, with operator name) - Actions (View, History links)
Parts and Materials table (shown below the assets table when the parts layer is active): - Type (Part, Material, or Part/Material) - Part/Material name and number - Location name and address - Quantity on hand - Actions (Edit link)
Stats Bar¶
A row of summary statistics appears between the toolbar and the map:
| Stat | Description |
|---|---|
| Total Assets | Total number of assets matching the current filter |
| Assets w/ GPS | How many of those assets have GPS coordinates recorded |
| Running Now | Number of assets currently in a running state |
| Part Locations | Number of inventory locations with GPS coordinates |
These numbers update each time you search, filter, or refresh.
Setting an Asset Location¶
GPS coordinates for an asset can be set or updated in several ways:
Manual Coordinate Entry¶
- Navigate to the Asset Edit page for the asset.
- Find the Latitude and Longitude fields.
- Enter coordinates in any supported format (see below).
- Save the asset record.
Supported Coordinate Formats¶
AXITRAQ accepts multiple coordinate formats and automatically normalises Unicode characters from copy-paste:
| Format | Example |
|---|---|
| Decimal degrees | -35.4315, 143.7362 |
| Degrees/Minutes/Seconds (DMS) | 35°25'53.5"S, 143°44'10.3"E |
| Decimal minutes | 35°25.8'S |
| Direction suffix | 35.4315S |
Unicode prime symbols, smart quotes, and curly quotes copied from Google Maps or iOS are automatically converted to standard ASCII.
Selecting a Map Icon¶
- On the Asset Edit page, scroll to the Map Icon section.
- Click one of the icon cards to assign an icon to the asset.
- The selected icon will appear on the asset's map pin on the Locate page.
- If no icon is selected, the asset displays as a coloured dot.
Mobile GPS Location Capture¶
Automatic GPS Recording¶
When employees use the AXITRAQ mobile app, GPS coordinates are automatically captured during:
- Viewing or updating an asset
- Submitting timesheets
- Completing inspections and checklists
- Scanning QR codes
- Capturing photos
The device's current GPS position is recorded along with extended data including heading (compass direction), altitude, speed, and accuracy.
Recording Parameters¶
To prevent excessive data storage, GPS recording follows these rules:
- 60-second throttle — a new position is only recorded if at least 60 seconds have passed since the last one.
- Minimum movement — at least 5 minutes elapsed and 0.0001 degrees of movement for deduplication.
- Extended data — heading is converted to compass direction (N, NE, E, SE, S, SW, W, NW).
Geolocation in Inspections¶
When completing an inspection or pre-start checklist, location can be captured using an interactive map:
- Get Current GPS — Tap the "Get Current GPS" button to fetch the device's current location. Coordinates populate automatically.
- Search on Map — Use the address search bar (powered by Nominatim) to find a location by name.
- Tap or Click the Map — Drop a pin at any point by tapping or clicking directly on the map.
- Drag the Marker — After placing a pin, drag it to fine-tune the exact position.
- Review Coordinates — Latitude and longitude values display in real-time below the map as you adjust the marker.
The captured GPS location is saved with the inspection record for auditing and reporting purposes.
Parts and Materials Locations¶
Each inventory location for parts and materials can store:
- Location name — a descriptive label (e.g. "Main Warehouse", "Site 4 Shed")
- Street address — with Nominatim geocoding search for address lookup
- GPS coordinates — via an interactive Leaflet map picker
- Location type — Warehouse, Vehicle, Field, Office, or Workshop
- Map icon — select from the same icon set used for assets
To set a part location:
- Navigate to Parts and open the part for editing.
- Go to the Inventory tab.
- Edit or add an inventory location.
- Enter the address or use the map picker to set GPS coordinates.
- Choose a location type and optionally assign a map icon.
- Save the record.
Inventory locations with GPS coordinates appear on the Locate map as diamond-shaped pins.
Employee Location History¶
Managers can view an employee's location history:
- Navigate to People and open the employee record for editing.
- Select the Location History tab.
- An interactive map displays:
- A prominent marker at the most recently recorded position
- Smaller markers at historical positions, each with a timestamp and accuracy popup
- Below the map, a scrollable log table lists all recorded positions.
- Use the date range filter to narrow the view to a specific time period.
Location data is recorded passively whenever the employee interacts with the mobile app (submitting timesheets, completing inspections, scanning QR codes, or capturing photos).
Photo Geo-Tagging¶
Photos captured through the AXITRAQ mobile app are automatically geo-tagged with:
- GPS coordinates (latitude and longitude)
- Compass direction (heading in degrees)
- Altitude
- Location accuracy
When viewing photos in the lightbox, a map link is available to view the exact capture location on a map.
Tips for Rural and Remote Users¶
The Locate module is designed with rural and remote operations in mind:
- Satellite imagery — switch to Satellite or Hybrid view to identify landmarks where street maps show little detail.
- Address search — search by road name, locality, or place name when exact street addresses are unavailable.
- Large-area navigation — the map starts at a continental zoom level and fits to your data bounds, making it easy to see assets spread across large distances.
- Coordinate entry — paste coordinates directly from Google Maps or other tools; AXITRAQ handles the format conversion automatically.
- Mobile GPS — even without cellular data, the mobile app captures GPS from the device hardware and syncs when connectivity returns.