tinuzz
Forum Replies Created
-
Forum: Plugins
In reply to: [Trackserver] Oruxmaps live not working?Yes, you would use your WP credentials for live tracking in OruxMaps. Whether SNI is a problem is impossible for me to say without more information.
First of all, make sure that live tracking is working by checking in the backend if a track is actually created and updated when you use OruxMaps. The step of publishing tracks with the ‘tsmap’ shortcode is separate. There is nothing to publish if there is no track.
‘live: true’ is not valid syntax. Just leave that out.
Best regards,
Martijn.- This reply was modified 8 years, 9 months ago by tinuzz.
Forum: Plugins
In reply to: [Trackserver] Infobar template not workingA reply to this topic is hopelessly overdue, I’m sorry about that. The template of the infobar should be changeable on the user level, so I suspect there is a bug somewhere. I will investigate, but I’m not sure when I will have time. I’ll keep this open in the mean time.
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] any working iphone apps for live tracking?Thanks for the confirmation! I’m closing this topic!
Cheers,
Martijn.Forum: Plugins
In reply to: [Trackserver] Track clickableHi Henrik,
I’m not sure what to tell you. I have been using ‘Per Post Scripts & Styles’ (https://wordpress.org/plugins/per-post-scripts-and-styles/) for this, but I see now that it hasn’t been updated in 5 years. It does however work with the latest WP.
An alternative option, which is a bit more complicated, it to create a special plugin or a child theme for this, so you can just write your JS in a dedicated file.
I’m sorry I can’t really help you any further than this. If you have questions regarding Trackserver directly, please let me know.
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] Usage of ‘class’ attributeHi Ben,
Hm, I never thought that there could be any confusion on that. What have you tried?
The way it’s supposed to work, and the way it seems to work for me, is simply like this:
[tsmap user=@ class=redborder]
And in your post’s or theme’s CSS, you write something like this:
<style>
.redborder { border: 5px solid red; }
</style>Which gives me a 5px wide red border around the map, as I would expect,
Doesn’t that work for you?
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] Track clickableGreat, glad I could help!
Martijn.
Forum: Plugins
In reply to: [Trackserver] Track clickableHi,
Yes, it is possible, but you have to code it yourself in JavaScript.
After the map and the track have been initialized, you can get to the track object via the global Trackserver object:
Trackserver.mydata.<div_id>[<track_id>].trackSo, for example on a page with one map that has track id 99 on it, the track object would be:
Trackserver.mydata.tsmap_1[99].trackOnce you have this object, you can do stuff with it. See the Leaflet manual for more information, for example:
http://leafletjs.com/reference-1.0.0.html#evented
You can add an ‘onClick’ handler like this:
Trackserver.mydata.tsmap_1[99].track.on('click', function() { alert("hallo"); });I hope this helps.
Cheers,
Martijn.Forum: Plugins
In reply to: [Trackserver] any working iphone apps for live tracking?Hi Matt,
People have reported success with the SendLocation app.
https://itunes.apple.com/nl/app/sendlocation/id377724446
However, it hasn’t been updated since 2011, so I’m not sure if it still works.
If you find other options, please let me know. As long as an app can post location updates over HTTP, it’s usually not hard to add support for it to Trackserver.
Regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] Multiple GPX filesAh, that’s the demo page. I guess I could add it there too, although I don’t consider the demo page ‘documentation’ as such. Thanks for the clarification anyway!!
Forum: Plugins
In reply to: [Trackserver] Additional information on last reported LocationHi Phil,
This is not something I would implement in Trackserver. It could be done in a separate WP plugin, but you would have to create it yourself, or find someone else to do it. Sorry about that.
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] CSV lat,long fileHi,
Leaflet-omnivore’s CSV support seems to be about waypoints and not about tracks, so in the context of uploading files to Trackserver, it will not be supported.
It might still make sense to have Trackserver display CSV files, because it will happily display any waypoints from CSV and KML as well, but I’m not sure if it is worth the effort. Please create a feature request issue on Github if you really need this.
Regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] Multiple GPX filesWhere in the documentation have you found the quoted text? The documentation on Github and WordPress.org both explain how to use multiple URLs, and I believe it has done that ever since the release of v3.0….
Forum: Plugins
In reply to: [Trackserver] Tile BordersHi,
It is because you have padding:5px and border:1px for img in your theme’s CSS.
More specifically, in http://www.talbotyouthtravel.org/wp-content/themes/evolve/style.css:
.entry-content img, .entry-content .wp-caption { padding: 5px; border: 1px solid rgba(255, 255, 255, 0.95); }Best regards,
Martijn.- This reply was modified 8 years, 11 months ago by tinuzz.
Forum: Plugins
In reply to: [Trackserver] Multiple GPX filesSorry, I should clarify that.
Multiple URLs should be given separated by spaces, with the value as a whole enclosed in quotes.
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] Map not showing on homepageHello Adaptiman,
This is most likely different problem. In the source of your homepage, I see the following appear from the Trackserver plugin:
var trackserver_mapdata = [{"div_id":"tsmap_1","tracks":[] ....The ‘tracks’ array is empty, meaning that Trackserver doesn’t think that ‘id=3’ is a valid track on that particular page. Could it be that the Author (in WP terms) of your homepage is not a WP administrator or editor and that the track (id=3) is owned by a different user?
Only administrators and editors are allowed to publish other people’s tracks in their posts and pages.
Best regards,
Martijn.- This reply was modified 8 years, 11 months ago by tinuzz.