tinuzz
Forum Replies Created
-
Forum: Plugins
In reply to: [Trackserver] New shortcode 'last-x', displays last x tracks on DBHello Aare,
I have been thinking about more ways to specify multiple tracks, for example using regular expressions against name or description, grouped by date or multiple dates, and stuff like that. Your request fits inthere, so I’ll consider it! But I can’t tell you when this will be included, I’ve got some other things to work on first.
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] IOS testing UpdateSince I’m not sure what else could be added in this ticket, I’m closing it.
Forum: Plugins
In reply to: [Trackserver] POST GET API FOR TRACKSERVERHi,
Trackserver understands a couple of different protocols, some of which are better documented than others. In any case, I do not provide this information, but you should turn to the source of the app or service in question.
The only protocol that’s properly documented is MapMyTracks: https://github.com/MapMyTracks/api
TrackMe, OsmAnd and SendLocation use a simple HTTP GET protocol. The easiest way to find out about the used parameters and authentication methods is to look at Trackserver’s source: https://github.com/tinuzz/wp-plugin-trackserver/blob/master/trackserver.php
Good luck with your app! If you’re making it available publicly or as open source, I’d be very interested to hear about it.
Best regards,
Martijn.Ok, good.
Cheers,
Martijn.Support for uploading tracks directly from OxuxMaps via ‘Upload to MapMyTracks’ has been implemented and will be part of the next release.
https://github.com/tinuzz/wp-plugin-trackserver/commit/7100bf95dbf714ee88352f5ff09684d494980fe8
Cheers,
Martijn.Hello Aare,
I am sorry, some things should be clearer in the documentation. MapMyTracks upload is not supported, because in earlier versions, OruxMaps would not use the ‘custom URL’ for uploading, only for live tracking, so it just couldn’t work. I guess that has been fixed in the mean time, so add support for upload is definitely something I can (and probably will) do.
Regarding the trailing slash, I don’t know what’s wrong exactly, but Trackserver should work with both. I rechecked the code, and it definitely checks for the configured ‘slug’ with and without a trailing slash.
What is the result you get from the webserver without a trailing slash?
If you need help debugging the issue, let me know.
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] No Tracks/Pop up when clicking userRegarding turning off the track and only showing the last known location, this will be possible in the next release.
Use ‘markers=e’ to only show a marker at the END of the track.
Use ‘opacity=0.0’ to make the track transparent and therefore invisible.Forum: Plugins
In reply to: [Trackserver] Cannot see all Merge Window on mobile browserI have reworked the admin modals a little to work better on small screens. The changes are on Github now, and will be part of the next release.
Forum: Plugins
In reply to: [Trackserver] Speed, altitude?On the options page, near the bottom, you can set the OSM/Google tile server URL.
Change it to something like:
http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
Make sure to also set the correct license attribution if you do so. See http://www.openstreetmap.org/copyright for more information.
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] DirectoryAt this time, no.
I was considering adding a new shortcode to generate a download URL for GPX or maybe other formats.
What format are you interested in?
Should the download URL be protected, as in: should it work only from the page that it’s published on, or should there also be an option to publish a non-expiring public link?
Best regards,
Martijn.Hello Aare,
I must confess that I didn’t really test recent versions of OruxMaps, so there may be incompatibilities, but with OruxMaps / MapMyTracks, you should use your WordPress password and not the TrackMe password from the profile. I am sorry if that was unclear.
Can you try that and let me know if that fixes the problem?
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] Speed, altitude?Possible replacement tags are {lat}, {lon}, {timestamp}. Should I consider this a feature request?
Cheers,
Martijn.Forum: Plugins
In reply to: [Trackserver] Cannot see all Merge Window on mobile browserHi,
Can you send a patch, or -better yet- a pull request on Github?
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] IOS testing UpdateThank your for the update on SendLocation. I haven’t really used it myself, since I don’t own an iPhone, but I’m happy that it works for you.
I think I understand your wish to interface with Leaflet within Trackserver, but I can’t really tell you anything without more information. What exactly do you mean with ‘custom map’? In what ways would you like to interface with Leaflet?
I think you’d learn the most by looking at the Javascript source, trackserver.js in particular, and in your browser use Developer Tools or Firebug or something similar to look at the global Trackserver object and its ‘mydata’ property, that contains a reference to all map-divs and their tracks.
Trackserver.mydata.<mapdiv>.<trackid>.track._map is a direct reference to the L.map object and you should be able to build upon that.
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] No Tracks/Pop up when clicking userHello!
I haven’t stated work on supporting multiple users’ live tracks in a single map. I’m not entirely sure how that should be implemented, I’ll have to experiment with that a little bit. Unfortunately, I haven’t had a lot of time to work on Trackserver lately.
Regarding turning off the track and only showing the latest location, that should be doable with little effort, so I’ll write it down as a feature request. Expect this to be possible in the next version.
Your third request is closely related to the first request. I think at some point, I will make the hover/title text of a marker templateable, so you can have it contain information from different variables. Time, username, coordinates, maybe reverse geocoding, are things that come to mind.
Regarding your final request, I could think of a mechanism where you can specify a Javascript callback function for a click event on the marker. I can make Trackserver execute the callback, but everything else (opening a window/overlay with a video stream) is up to you to implement.
Again, I am sorry I can’t give you any time frame for these requests. They are kind of outside my own use cases for Trackserver, and my time to work on Trackserver is really limited these days.
If you were to implement some of it yourself, you’re welcome to send me a pull request on Github.
Best regards,
Martijn.