player tracker
- line colour changed to yellow - easier to see on map - track time changed from 1 to 3 hours
This commit is contained in:
parent
d4a9042e48
commit
9a581061e1
@ -5,3 +5,4 @@ Since the last version from breunigs, the following changes have been made
|
|||||||
|
|
||||||
* Fix up URLs to point to new hosting (icons, etc).
|
* Fix up URLs to point to new hosting (icons, etc).
|
||||||
* Removed forced redirect from http to https - it should work on either now.
|
* Removed forced redirect from http to https - it should work on either now.
|
||||||
|
* Player tracker: change line colour to yellow, increase time to 3 hours
|
||||||
|
@ -18,9 +18,11 @@ if(typeof window.plugin !== 'function') window.plugin = function() {};
|
|||||||
|
|
||||||
|
|
||||||
// PLUGIN START ////////////////////////////////////////////////////////
|
// PLUGIN START ////////////////////////////////////////////////////////
|
||||||
window.PLAYER_TRACKER_MAX_TIME = 60*60*1000; // in milliseconds
|
window.PLAYER_TRACKER_MAX_TIME = 3*60*60*1000; // in milliseconds
|
||||||
window.PLAYER_TRACKER_MIN_ZOOM = 9;
|
window.PLAYER_TRACKER_MIN_ZOOM = 9;
|
||||||
|
|
||||||
|
window.PLAYER_TRACKER_LINE_COLOUR = '#FFFF00';
|
||||||
|
|
||||||
|
|
||||||
// use own namespace for plugin
|
// use own namespace for plugin
|
||||||
window.plugin.playerTracker = function() {};
|
window.plugin.playerTracker = function() {};
|
||||||
@ -249,7 +251,7 @@ window.plugin.playerTracker.drawData = function() {
|
|||||||
|
|
||||||
var opts = {
|
var opts = {
|
||||||
weight: 2-0.25*i,
|
weight: 2-0.25*i,
|
||||||
color: '#FF00FD',
|
color: PLAYER_TRACKER_LINE_COLOUR,
|
||||||
clickable: false,
|
clickable: false,
|
||||||
opacity: 1-0.2*i,
|
opacity: 1-0.2*i,
|
||||||
dashArray: "5,8"
|
dashArray: "5,8"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user