diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-11 19:09:42 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-11 19:09:42 -0700 |
commit | 69d634fb0723ca4dced2f15ea432b4eb59d11d8e (patch) | |
tree | 62d0c4134fc68603e621fb3801001fe021c2e519 | |
parent | 0d7985bd502ae106c5c7afcd2b8263058b090e5f (diff) | |
download | trackermap-server-69d634fb0723ca4dced2f15ea432b4eb59d11d8e.tar.gz trackermap-server-69d634fb0723ca4dced2f15ea432b4eb59d11d8e.tar.bz2 trackermap-server-69d634fb0723ca4dced2f15ea432b4eb59d11d8e.zip |
Add server overlay URL
-rw-r--r-- | schema/changelog-5.1.xml | 4 | ||||
-rw-r--r-- | src/main/java/org/traccar/model/Server.java | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/schema/changelog-5.1.xml b/schema/changelog-5.1.xml index 26c2088b9..d5a8bc1fe 100644 --- a/schema/changelog-5.1.xml +++ b/schema/changelog-5.1.xml @@ -12,6 +12,10 @@ <column name="uniqueid" /> </createIndex> + <addColumn tableName="tc_servers"> + <column name="overlayurl" type="VARCHAR(512)" /> + </addColumn> + </changeSet> </databaseChangeLog> diff --git a/src/main/java/org/traccar/model/Server.java b/src/main/java/org/traccar/model/Server.java index c5640fb97..ee7f7069a 100644 --- a/src/main/java/org/traccar/model/Server.java +++ b/src/main/java/org/traccar/model/Server.java @@ -85,6 +85,16 @@ public class Server extends ExtendedModel implements UserRestrictions { this.mapUrl = mapUrl; } + private String overlayUrl; + + public String getOverlayUrl() { + return overlayUrl; + } + + public void setOverlayUrl(String overlayUrl) { + this.overlayUrl = overlayUrl; + } + private double latitude; public double getLatitude() { |