forked from mapcentia/vidi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into async_conflict
- Loading branch information
Showing
4 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
.. _non_standard_extensions: | ||
|
||
################################################################# | ||
Ikke-standard extensions | ||
################################################################# | ||
|
||
.. topic:: Overview | ||
|
||
:Date: |today| | ||
:Author: `mapcentia <https://github.com/mapcentia>`_ | ||
|
||
.. contents:: | ||
:depth: 3 | ||
|
||
***************************************************************** | ||
Introduktion | ||
***************************************************************** | ||
|
||
Herunder findes dokumentation på nogle af de extensions, som ikke følger med Vidi som standard. Skal en af disse anvendes kræves det, at den bliver installeret. | ||
|
||
***************************************************************** | ||
Rejsetid (otp) | ||
***************************************************************** | ||
|
||
Rejsetid extensionen opsættes i en kørselskonfiguration (config) under :ref:`configjs_extensionconfig` | ||
|
||
``routes`` er en liste med de grafer, som brugeren skal kunne vælge imellem i Vidi. | ||
|
||
``default`` angiver start-værdier for de forskellige indstillinger i Vidi. Alle behøves ikke udfyldes. Hvis der undlades indstillinger, bliver der anvendt værdier, som svarer til de nedenunser viste. | ||
|
||
.. code-block:: json | ||
{ | ||
"extensionConfig": { | ||
"otp": { | ||
"routes": ["default", "nt", "midttrafik", "sydtrafik"], | ||
"defaults": { | ||
"startTime": 30, | ||
"endTime": 50, | ||
"intervals": [600, 1200, 1800], | ||
"startColor": "#ff0000", | ||
"endColor": "#00ff00", | ||
"opacity": 0.7, | ||
"arriveBy": false, | ||
"route": "default", | ||
"maxWalkDistance": 500 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
~ @author Martin Høgh <[email protected]> | ||
~ @copyright 2013-2022 MapCentia ApS | ||
~ @license http://www.gnu.org/licenses/#AGPL GNU AFFERO GENERAL PUBLIC LICENSE 3 | ||
~ @version 2022.3.3 | ||
~ @version UNRELEASED | ||
|
||
--> | ||
<html lang="en"> | ||
|