Support » Plugin: Trackserver » Use my custom mobile app?

  • hassoun

    (@hassoun)


    Hello,

    I have my own app based on React Native that watches for GPS coordinates.

    I would like to know if I can use it to send the coordinates to this plugin and display the locations (of multiple users) on my WP site. Can I have a documentation for this?

    Also, can I (easily, if not in the options) change to Google Maps instead of OSM?

    Regards and stay safe!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author tinuzz

    (@tinuzz)

    Hi,

    Trackserver uses more or less known protocols to upload location data, so I don’t have any documentation for that. You should look for the protocol documentation upstream.

    The easiest way to get data into Trackserver if you don’t care about tracks (only locations), would be the OsmAnd protocol, which is just HTTP GET and doesn’t even need basic auth. It doesn’t even need documentation, because you can find all the URL parameters in your Trackserver profile:

    /?lat={0}&lon={1}&timestamp={2}&altitude={4}&speed={5}&bearing={6}&username=<usename>&key=<key>

    If you do care about Tracks, I suggest you look into the MapMyTracks protocol, which is HTTP POST + XML based. A little more complicated, but at least it does authentication in an acceptable way.

    Regarding Google Maps: I can’t help you with that. You should try and find the tile URL, but G Maps is very restricted, license wise, so it’s likely illegal to use it with Trackserver, unless you pay.

    Regards,
    Martijn.

    • This reply was modified 2 years ago by tinuzz.
    Plugin Author tinuzz

    (@tinuzz)

    MapMyTracks API v1:
    https://github.com/MapMyTracks/api-v1

    Regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    I have a blog post about client and protocol support in Trackserver coming up, but I can’t publish it until after the next release of Trackserver, because it’s not entirely applicable to v4.3.

    Martijn.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Use my custom mobile app?’ is closed to new replies.