Merge pull request 'notebook' (#1) from notebook into master
Reviewed-on: http://140.125.21.65:8418/leo/Parking_space_ASPNET/pulls/1
This commit is contained in:
commit
dfef348f96
@ -89,7 +89,7 @@
|
|||||||
//console.log(name)
|
//console.log(name)
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "http://140.125.20.183:7700/api/Yuntech_in_car_table/location-" + name,
|
url: "http://140.125.20.183:7700/api/Yuntech_in_car_table",
|
||||||
data: {},
|
data: {},
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
success: function (Model) {
|
success: function (Model) {
|
||||||
|
@ -4,5 +4,47 @@
|
|||||||
Layout = "~/Views/Shared/_Layout_Manager.cshtml";
|
Layout = "~/Views/Shared/_Layout_Manager.cshtml";
|
||||||
}
|
}
|
||||||
|
|
||||||
<h1>Map_RTSP</h1>
|
|
||||||
|
|
||||||
|
<!-- css -->
|
||||||
|
<link rel="stylesheet"
|
||||||
|
href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
|
||||||
|
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
|
||||||
|
crossorigin="" />
|
||||||
|
<!-- js -->
|
||||||
|
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"
|
||||||
|
integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
|
||||||
|
crossorigin="">
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
html, body {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#myMap {
|
||||||
|
height: 80vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
#img_id {
|
||||||
|
display: block; /* 使圖像為塊級元素,以便使用 margin:auto; */
|
||||||
|
margin: auto; /* 將圖像置中 */
|
||||||
|
width: 80%
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<h1>即時影像</h1>
|
||||||
|
<button class="btn btn-outline-info" onclick="Yuntech_RTSP()">雲科即時影像</button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!--跳轉頁面-->
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function Yuntech_RTSP() {
|
||||||
|
window.open("http://140.125.50.178:7006/", "_blank");
|
||||||
|
}
|
||||||
|
</script>
|
@ -89,7 +89,7 @@
|
|||||||
//console.log(name)
|
//console.log(name)
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "http://140.125.20.183:7700/api/Yuntech_in_car_table/location-" + name,
|
url: "http://140.125.20.183:7700/api/Yuntech_in_car_table" ,
|
||||||
data: {},
|
data: {},
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
success: function (Model) {
|
success: function (Model) {
|
||||||
|
Loading…
Reference in New Issue
Block a user