Skip to content
Cartograph Maps

Show people from your own server

Cartograph Maps can show positions from a server you run or use: other people, your family, or your other devices. They appear on the map and in the People list together with your Cartograph Live friends. Live tracking needs Cartograph Pro.

To send your own position to such a server, add a destination instead: see Send your position to your own server.

Add a source

  1. Open the Live tracking page, tab Friends.
  2. Under Sources, press + and choose:
    • Traccar (devices on the server)
    • OwnTracks Recorder
    • Dawarich (family)
    • Receive data from custom server
  3. Fill in the dialog (see below).
  4. Press Check now in the Status card. The app asks the server once and shows, for example, “OK: 3 person(s)”.
  5. Close the dialog. The people appear under People and on the map.

A source is checked only while the app is open, as often as the update rate says. Untick it to stop checking it; ⋮ next to it has Properties, Check now and Delete. Its status line says when it was last checked and how many people it reported, or what went wrong.

Seeing, hiding and following these people works as for Cartograph Live friends: see See your friends on the map.

Traccar

Traccar (devices on the server) shows every device your Traccar user may see.

  • Server url: the Traccar web address, for example https://traccar.example.com. Not port 5055: that one is for sending.
  • User (empty = API token) and Password or API token: either your Traccar user name and password, or leave User empty and enter an API token (in Traccar: settings → Preferences → token).

OwnTracks Recorder

OwnTracks Recorder shows the last position of every user and device on the Recorder.

  • Server url: the Recorder’s address, for example https://recorder.example.com.
  • User and Password: if your Recorder needs them.

Dawarich family sharing

Dawarich (family) shows the members of your Dawarich family who share their location.

  • Server url: the Dawarich address, for example https://dawarich.example.com.
  • API key: from your Dawarich account page.

Passwords and tokens stay on the device

The passwords, tokens and API keys of these three sources are stored on this device only (“Stored on this device only; it isn’t synced.”). On your other devices the source says “Not checking: the password / token was entered on another device. Enter it here too.”

Your own server: Receive data from custom server

Receive data from custom server reads positions from any server that answers a GET request in the JSON format below.

  • Server url: the address the app calls.
  • HTTP Headers: extra headers, one per line as Name: value, for example for authentication. Unlike the passwords of the other sources, these headers are synced to your other devices with the rest of the source.

The answer

{
   "version": 2,
   "error_code": 0,
   "friends": [
      {
         "key": "friend_1",
         "name": "Kevin",
         "description": "Runner 1",
         "latitude": 48.1,
         "longitude": 16.28,
         "view_dir": 34.1,
         "time": "2026-11-28 10:26:57",
         "icon": "https://www.example.com/icons/kevin.png",
         "track_fg_color": "#ff0000",
         "track_bg_color": "#ffffff",
         "track_line_width": 4,
         "trackpoints": [
            { "ts": 1795861517, "lat": 48.098, "lon": 16.277 },
            { "ts": 1795861577, "lat": 48.1, "lon": 16.28 }
         ]
      },
      {
         "key": "friend_2",
         "name": "Anna",
         "description": "Runner 2",
         "latitude": 48.01,
         "longitude": 16.18,
         "time": "2026-11-28 10:26:57"
      }
   ]
}
FieldMeaning
error_code0 when the answer is fine. Anything else is shown as an error, with error_msg if you add it. Required
friendsOne entry per person
keyA unique id of the person; entries without one are skipped
nameThe name on the map and in the list
descriptionShown in the person’s popup on the map
latitude, longitudeThe position in degrees
view_dirOptional: the direction in degrees; the marker points that way
timeThe time of the position, yyyy-MM-dd hh:mm:ss in the device’s local time
iconOptional: the address (http:// or https://) of an image used as the person’s marker. It is downloaded once and kept; until then, and if it can’t be loaded, the normal marker shows
trackpointsOptional: the person’s trail, a list of points, oldest first, each with ts (the time, in seconds since 1970, UTC), lat and lon. The trail is drawn as a line on the map; points newer than the last one drawn are added on every check
track_fg_colorOptional: the colour of the trail, for example #ff0000
track_bg_colorOptional: the colour of the trail’s outline
track_line_widthOptional: the width of the trail line (default 2)

Hiding a person (the eye button in the People list) hides their trail too.

An example answer: examplecustomfriendservice.php.