Commit f83b5e7c authored by Sparkf's avatar Sparkf 🏙️
Browse files

remove datasourse update warning

parent 5090a87f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -418,13 +418,13 @@ export default {
          var marker = new maplibre.Marker(bus_marker_up)
              .setLngLat([this.bus_location_data_api[i].lng, this.bus_location_data_api[i].lat])
              .setPopup(
                  new maplibre.Popup({offset: 25}) // add popups
                  new maplibre.Popup({offset: 20}) // add popups
                      .setHTML(
                        '<p class="car-plate">' +
                          'Plate: <b>' + this.bus_location_data_api[i].id +
                          '</b></p><p>' +
                          'Speed: <b>' + this.bus_location_data_api[i].speed + "km/h" +
                          '</b></p><p>' + 'Next Sta: <b>' + this.bus_location_data_api[i].next_station_string +
                          '</b></p><p>' + 'Line: <b>' + this.bus_location_data_api[i].route_code +
                          '</b></p>'
                      )
              )
@@ -433,13 +433,13 @@ export default {
            var marker = new maplibre.Marker(bus_marker_down)
                .setLngLat([this.bus_location_data_api[i].lng, this.bus_location_data_api[i].lat])
                .setPopup(
                    new maplibre.Popup({offset: 25}) // add popups
                    new maplibre.Popup({offset: 20}) // add popups
                        .setHTML(
                          '<p class="car-plate">' +
                          'Plate: <b>' + this.bus_location_data_api[i].id +
                          '</b></p><p>' +
                          'Speed: <b>' + this.bus_location_data_api[i].speed + "km/h" +
                          '</b></p><p>' + 'Next Sta: <b>' + this.bus_location_data_api[i].next_station_string +
                          '</b></p><p>' + 'Line: <b>' + this.bus_location_data_api[i].route_code +
                          '</b></p>'
                        )
                )
+0 −4
Original line number Diff line number Diff line
@@ -10,10 +10,6 @@ navbar: false

## 车辆位置 Bus Realtime Loaction

::: warning
因校园巴士更换供应商,新车辆的位置上报模块正在安装,车辆实时位置预计于6月初恢复。请参考下方的时间表计划行程。
:::

位置每5秒自动刷新。Location refreshes automatically every 5 seconds

<Realtimemap/>
+0 −4
Original line number Diff line number Diff line
@@ -6,10 +6,6 @@

## 车辆位置 Bus Realtime Loaction

::: warning
因校园巴士更换供应商,新车辆的位置上报模块正在安装,车辆实时位置预计于6月初恢复。请参考下方的时间表计划行程。
:::

位置每5秒自动刷新。Location refreshes automatically every 5 seconds

<Realtimemap/>