Changeset 267 in tmcsimulator
- Timestamp:
- 02/17/2019 10:32:38 AM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
-
atmsdriver/model/PostmileCoords.java (modified) (1 diff)
-
tmcsim/application.properties (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/atmsdriver/model/PostmileCoords.java
r266 r267 116 116 public String toJson() 117 117 { 118 String pattern = "\n{\n \"type\": \"Feature\",\n" 119 + " \"geometry\":\n {\n \"type\": \"Point\",\n" + 118 String pattern = "\n{\n \"type\": \"Feature\",\n" + 119 " \"id\": \"%s\",\n" + 120 " \"geometry\":\n {\n \"type\": \"Point\",\n" + 120 121 " \"coordinates\": [%s,%s]\n" + 121 122 " },\n" + 122 123 " \"properties\": \n" + 123 " {\"id\": \"%s\", " + 124 "\"street\": \"%s\", " + 124 " {\"street\": \"%s\", " + 125 125 "\"color\": \"desiredcolor\"" + 126 126 "}\n},"; 127 127 128 return String.format(pattern, longitude, latitude, name, street);128 return String.format(pattern, name, longitude, latitude, street); 129 129 } 130 130 } -
trunk/src/tmcsim/application.properties
r266 r267 1 #S at, 16 Feb 2019 16:50:48-08001 #Sun, 17 Feb 2019 10:04:13 -0800 2 2 3 Application.revision=26 53 Application.revision=266 4 4 5 5 Application.buildnumber=95
Note: See TracChangeset
for help on using the changeset viewer.
