del: MapTypC.aspx.txt löschen
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
Port 3000 Freigabe ?
|
||||
|
||||
node -v v20.12.1
|
||||
----------------------
|
||||
Start-Dev.ps1
|
||||
cd 'C:\inetpub\wwwroot\talas5\nodeMap'
|
||||
npm run dev
|
||||
-------------
|
||||
|
||||
.env.local
|
||||
DB_HOST=localhost
|
||||
|
||||
--------------
|
||||
in /config/config.js
|
||||
10 und 484 entfernen
|
||||
|
||||
-------------------
|
||||
MapComponent.js
|
||||
URL von onlineTileLayer und offlineTileLayer URL eingeben und Port 3000
|
||||
"http://localhost:3000/mapTiles/{z}/{x}/{y}.png";
|
||||
|
||||
baseurl
|
||||
const baseUrl = "http://localhost/talas5/devices/";
|
||||
serverURL
|
||||
const serverURL = "http://localhost";
|
||||
|
||||
------------------
|
||||
In C:\inetpub\wwwroot\talas5\MessagesMap\MapTypC.aspx
|
||||
"http://localhost:3000?m=" + encodeURIComponent(mValue) + "&u=" + encodeURIComponent(uValue);
|
||||
|
||||
--------------------
|
||||
In pages/api/[...path].js
|
||||
target: "http://localhost",
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Standard.Master" AutoEventWireup="true" CodeBehind="MapTypC.aspx.cs" Inherits="TALAS_V5.MessagesMap.MapTypC" %>
|
||||
<%@ Register assembly="DevExpress.Web.v19.2, Version=19.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web" tagprefix="dx" %>
|
||||
|
||||
<asp:Content ID="NaviContent" ContentPlaceHolderID="NaviContent" runat="server">
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="Content" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<style>
|
||||
.responsive-iframe-wrapper {
|
||||
position: relative !important;
|
||||
width: 100% !important;
|
||||
height: 97.2vh !important; /* Setzt die Höhe des Wrappers auf die Höhe des Viewports */
|
||||
overflow: hidden !important; /* Verhindert Scrollbalken innerhalb des Wrappers */
|
||||
padding: 0 0 0 0 !important;
|
||||
margin: 0 0 0 0 !important;
|
||||
}
|
||||
.responsive-iframe-wrapper iframe {
|
||||
position: absolute !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
border: none !important; /* Removes the border */
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<div class="responsive-iframe-wrapper">
|
||||
<iframe frameborder="0"></iframe>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var url = new URL(window.location.href);
|
||||
var mValue = url.searchParams.get("m");
|
||||
var uValue = url.searchParams.get("u");
|
||||
|
||||
// Setzen der src-Eigenschaft des iframe mit den abgerufenen Parametern
|
||||
document.querySelector('.responsive-iframe-wrapper iframe').src =
|
||||
// "http://10.10.0.70:3000?m=" + encodeURIComponent(mValue) + "&u=" + encodeURIComponent(uValue);
|
||||
"http://10.10.0.13:3000?m=" + encodeURIComponent(mValue) + "&u=" + encodeURIComponent(uValue);
|
||||
//"http://localhost:3000?m=" + encodeURIComponent(mValue) + "&u=" + encodeURIComponent(uValue);
|
||||
});
|
||||
</script>
|
||||
|
||||
</asp:Content>
|
||||
Reference in New Issue
Block a user