del: MapTypC.aspx.txt löschen
This commit is contained in:
@@ -413,3 +413,10 @@ Für die lokale Entwicklung bitte folgende Tools manuell installieren:
|
||||
| Node.js | 20.12.1 | [nodejs](https://littwinsystemtechnik.sharepoint.com/:f:/r/sites/LittwinSystemtechnik/Freigegebene%20Dokumente/Projekte/Masterkarte%20V2%20setup%20files?csf=1&web=1&e=Sm1wwt) |
|
||||
| Chrome | optional | [Chrome](https://littwinsystemtechnik.sharepoint.com/:f:/r/sites/LittwinSystemtechnik/Freigegebene%20Dokumente/Projekte/Masterkarte%20V2%20setup%20files?csf=1&web=1&e=Sm1wwt) |
|
||||
| NSSM.exe | 2.24 | [nssm](https://littwinsystemtechnik.sharepoint.com/:f:/r/sites/LittwinSystemtechnik/Freigegebene%20Dokumente/Projekte/Masterkarte%20V2%20setup%20files?csf=1&web=1&e=Sm1wwt) |
|
||||
|
||||
> Hinweis: Die Datei `MapTypC.aspx` in TALAS lädt NodeMap als iFrame über Port 3000.
|
||||
> Wenn die Seite nicht angezeigt wird, bitte sicherstellen:
|
||||
>
|
||||
> - Port 3000 ist in der Firewall freigegeben
|
||||
> - Die IP im Scriptteil von `MapTypC.aspx` ist aktuell (z. B. `10.10.0.13`)
|
||||
> - `npm start` läuft oder der Windows-Dienst `NodeMapService` ist aktiv
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// /config/appVersion
|
||||
export const APP_VERSION = "1.1.106";
|
||||
export const APP_VERSION = "1.1.107";
|
||||
|
||||
@@ -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