diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-14 22:12:03 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-14 22:12:03 -0700 |
commit | e7b6993a0c142fb5a051d169fee2f7111c2884fe (patch) | |
tree | 1577d246c233ddc42d9d83fcf7a5ea6e087a0ea2 /src/main/java/org/traccar/config/Keys.java | |
parent | f4e7350ee5e15c0d463a4fcf83db877acc181f13 (diff) | |
download | trackermap-server-e7b6993a0c142fb5a051d169fee2f7111c2884fe.tar.gz trackermap-server-e7b6993a0c142fb5a051d169fee2f7111c2884fe.tar.bz2 trackermap-server-e7b6993a0c142fb5a051d169fee2f7111c2884fe.zip |
Add speed limit handler
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index cd80e68c4..d9e03517c 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -389,6 +389,24 @@ public final class Keys { "geolocation.processInvalidPositions", Boolean.class); /** + * Boolean flag to enable speed limit API to get speed limit values depending on location. Default value is false. + */ + public static final ConfigKey SPEED_LIMIT_ENABLE = new ConfigKey( + "speedLimit.enable", Boolean.class); + + /** + * Provider to use for speed limit. Available options: overpass. By default overpass is used. + */ + public static final ConfigKey SPEED_LIMIT_TYPE = new ConfigKey( + "speedLimit.type", String.class); + + /** + * Speed limit provider API URL address. + */ + public static final ConfigKey SPEED_LIMIT_URL = new ConfigKey( + "speedLimit.url", String.class); + + /** * Override latitude sign / hemisphere. Useful in cases where value is incorrect because of device bug. Value can be * N for North or S for South. */ |