Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. maps mit Streckendarstellung

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    688

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    5.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

maps mit Streckendarstellung

Scheduled Pinned Locked Moved Skripten / Logik
javascript
89 Posts 8 Posters 9.4k Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • bahnuhrB bahnuhr

    @liv-in-sky

    alles klar
    mich würde insbesondere die Punkte:
    Kreis, Blitzer, Temp
    interssieren.

    Hast PN. Danke vorab.

    liv-in-skyL Offline
    liv-in-skyL Offline
    liv-in-sky
    wrote on last edited by
    #65

    @bahnuhr

    das beste, was ich bis jetzt gefunden habe, um text darzustellen - mit transparenten hintergrund

    Image 088.png

    im style tag:

      .my-label {
      @charset "utf-8";
        position: absolute;
        width:150px;
        font-size:35px;
    	background:transparent;
    }
    

    einbinden im script tag:

    var marker = new L.marker([50.539, 11.99], { opacity: 0.01 }); //opacity may be set to zero
    marker.bindTooltip('17 °C', {permanent: true, className: "my-label", offset: [0, 50] });
    marker.addTo(map);
    

    nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

    1 Reply Last reply
    0
    • liv-in-skyL liv-in-sky

      @bahnuhr

      ok - die blitzer sind hier gemacht: https://forum.iobroker.net/post/512330

      temperatur ist einmal ein sonoff mit messung daheim - und netatmo-crawler - adapter

      das blockly ist in einem ganzen system integriert - ich schreibe alle routen in jsons um die zur abrechnung (fahrkosten) zu haben - daher nur als bild - darin wird auf eine distance von 500 meter die koordinaten in ein json gspeichert, welches dann die html datei mit den circles erzeugt

      Image 085.png

      die funktion leaflet-writing schreibt ein fortlaufendes json für all dir koordinaten

      let jarry=JSON.parse(getState("0_userdata.0.CONTROL-OWN.TRACCAR.LeafletJSON").val);
      
      jarry.push({
                "pos":pos,
                "stamp":stamp,
                "geozaun":geozaun
      
      
      })
      
      setState("0_userdata.0.CONTROL-OWN.TRACCAR.LeafletJSON",JSON.stringify(jarry));
      

      die funktion leaflet-draw macht das eigentliche html file und speichert das

      hier zum download - kenntwort schicke ich dir
      am besten du öffnest es mit notepad++ , damit alle zeichen richtig übersetzt werden

      leaflet-draw.7z

      P Offline
      P Offline
      padman
      wrote on last edited by
      #66

      @liv-in-sky Mit Begeisterung lese ich grad diesen Beitrag. Könnte ich auch das Password bekommen?

      liv-in-skyL 1 Reply Last reply
      0
      • P padman

        @liv-in-sky Mit Begeisterung lese ich grad diesen Beitrag. Könnte ich auch das Password bekommen?

        liv-in-skyL Offline
        liv-in-skyL Offline
        liv-in-sky
        wrote on last edited by
        #67

        @padman

        da sind viele daten drin - habe ein paar geändert - das kennwort ist im chat

        leaflet-draw-changed.7z

        nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

        1 Reply Last reply
        0
        • bahnuhrB bahnuhr

          @liv-in-sky

          anbei Script und View.
          Kannst bestimmt damit was anfangen.
          Funktioniert einwandfrei.

          
          
          // Script um aus den DP vom Adapter "bosch-ebike" eine MAP zu erstellen und den Weg zu zeichnen
          // bahnuhr, 03_2024
          
          // ###############################################################################################################
          // DP "javascript.0.Geräte.Fahrrad.Touren" ändert sich
              on({id: "javascript.0.Geräte.Fahrrad.Touren"}, function() {  
                  var body = getState("javascript.0.Geräte.Fahrrad.Touren").val;
                  var arrTouren = []; 
                  var obj = JSON.parse(body); 
                  for (var x=0; x<= obj.length-1; x++) {
                      var titel = obj[x].Titel; var datum = obj[x].Datum; var start = obj[x].Start; var end = obj[x].Ende; var strecke = obj[x].Strecke; 
                      var fahrzeit = obj[x].Fahrzeit; var o_trittfrequenz = obj[x].o_Trittfrequenz; var max_trittfrequenz = obj[x].max_Trittfrequenz;
                      var o_leistung = obj[x].o_Leistung; var max_leistung = obj[x].max_Leistung; var o_speed = obj[x].o_Speed; var max_speed = obj[x].max_Speed;
                      var bergauf = obj[x].Bergauf; var bergab = obj[x].Bergab;
                      arrTouren.push(datum + " _ " + strecke + " km _ " + titel); 
                  }
                  setState("javascript.0.Geräte.Fahrrad.Routen.Auswahl", JSON.stringify(arrTouren));
                  log (arrTouren);     
              });
          
          
          // ###############################################################################################################
          // DP "javascript.0.Geräte.Fahrrad.Routen.ausgewaehlt" ändert sich
              on({id: "javascript.0.Geräte.Fahrrad.Routen.ausgewaehlt"}, function(obj) {  
                  var arr = obj.state.val.split(" _ "); log (arr[0]); var Auswahl_Datum = arr[0];
                  var body = JSON.parse(getState("javascript.0.Geräte.Fahrrad.Touren").val);
                  for (var x=0; x<20; x++) {
                      var datum = body[x].Datum; 
                      if (datum == Auswahl_Datum) {
                          Datei_schreiben(x+1);
                      }
                  }
              });
          
          
          
          // ###############################################################################################################
          // GPS lesen und Datei html schreiben
              function Datei_schreiben(trip) {
                  // Variablen
                      var poly ="";       // hier werden die GPS gespeichert
                      var center_gps = "50.465, 9.71";    // Mittelpunkt der Karte
                      var zoom = 13                       // Zoom der Karte
                      var pfad = "route"             // Dateiname - wird in vis.0 gespeichert
                      var logging = true;
                  // Werte der Tour einlesen
                      var arrTour = [];
                      var obj2 = JSON.parse(getState("javascript.0.Geräte.Fahrrad.Touren").val); 
                      var titel = obj2[trip-1].Titel; var datum = obj2[trip-1].Datum; var start = obj2[trip-1].Start; var end = obj2[trip-1].Ende; var strecke = obj2[trip-1].Strecke; 
                      var fahrzeit = obj2[trip-1].Fahrzeit; var o_trittfrequenz = obj2[trip-1].o_Trittfrequenz; var max_trittfrequenz = obj2[trip-1].max_Trittfrequenz;
                      var o_leistung = obj2[trip-1].o_Leistung; var max_leistung = obj2[trip-1].max_Leistung; var o_speed = obj2[trip-1].o_Speed; var max_speed = obj2[trip-1].max_Speed;
                      var bergauf = obj2[trip-1].Bergauf; var bergab = obj2[trip-1].Bergab;
                      arrTour.push({Titel: titel, Datum: datum, Start: start, Ende: end, Strecke: strecke, Fahrzeit: fahrzeit, o_Trittfrequenz: o_trittfrequenz, max_Trittfrequenz: max_trittfrequenz, o_Leistung: o_leistung, max_Leistung: max_leistung, o_Speed: o_speed, max_Speed: max_speed, Bergauf: bergauf, Bergab: bergab}); 
                      setState("javascript.0.Geräte.Fahrrad.Routen.ausgewaehlt_alles", JSON.stringify(arrTour));
                  // GPS einlesen und der Variablen poly zuweisen
                      if (trip < 10) trip = "0" + trip;       // DP bei den Objekten der eingelesen werden soll: bosch-ebike.0.trips.xx.details
                      var obj = JSON.parse(getState("bosch-ebike.0.trips." + trip + ".details").val); 
                      var end = obj.activityData.length - 1;
                      for (var x=0; x<=end; x++) {
                          if (obj.activityData[x].lat > 1 && obj.activityData[x].lon > 1) {
                              poly = poly + "["+obj.activityData[x].lat+", "+obj.activityData[x].lon+"]"
                              if (x < end) poly = poly + ","
                          }
                      }
                      if (logging) log (poly);
                  // html erzeugen und speichern in /vis.0/xxx.html
                      var string = '<!DOCTYPE html>\n<html>\n<head>\n<title>Simple Leaflet Map</title>\n<meta charset="utf-8" />\n'
                      string = string + '<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="crossorigin=""/></head>\n'
                      string = string + '<body>\n<div id="map" style="width: 980px; height: 530px"></div>\n<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="crossorigin=""></script>\n<script>\n'
                      string = string + "var map = L.map('map').setView([" + center_gps + "], " + zoom + ");\n"
                      string = string + "mapLink = '<a href=" + '"http://openstreetmap.org"' + ">OpenStreetMap</a>';\n"
                      string = string + "L.tileLayer( 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; ' + mapLink + ' Contributors', maxZoom: 18,}).addTo(map);\n"
                      string = string + 'var polyline = L.polyline([ \n' + poly + '\n], { color: "blue", weight: 3, opacity: .7, lineJoin: "round" } ).addTo(map);\n'
                      string = string + '</script>\n</body>\n</html>'
                      writeFile("vis.0", "/Routen/" + pfad + trip +".html", string, (error) => {
                          if (logging) log('Datei "route.html" gespeichert!');
                      });
                      setState("javascript.0.Geräte.Fahrrad.Routen.Datei","/vis.0/Routen/" + pfad + trip + ".html");
              }
          
          

          View:

          {
             "settings": {
                 "style": {
                     "background_class": "",
                     "background-color": "black"
                 },
                 "theme": "dark-hive",
                 "sizex": "1270",
                 "sizey": "790",
                 "gridSize": "",
                 "useAsDefault": false,
                 "snapType": null,
                 "useBackground": false
             },
             "widgets": {
                 "e00001": {
                     "tpl": "tplBarNavigator",
                     "data": {
                         "hm_id": 65535,
                         "digits": "",
                         "factor": 1,
                         "min": 0,
                         "max": 1,
                         "step": 0.01,
                         "bPosition": "floatVertical",
                         "bWidth": 187,
                         "bHeight": 34,
                         "bValue": "",
                         "bStyleNormalHover": null,
                         "bStyleActiveHover": null,
                         "bCount": "10",
                         "buttonsText1": "Übersicht",
                         "buttonsImage1": "/vis.0/main/img/faviconEdit.png",
                         "buttonsOption1": "Titel",
                         "buttonsText2": "Etagen",
                         "buttonsImage2": "/vis.0/main/img/mfd/control_building_s_eg.png",
                         "buttonsOption2": "Erdgeschoss",
                         "buttonsText3": "Außenbereich",
                         "buttonsImage3": "/vis.0/main/img/mfd/weather_wind.png",
                         "buttonsOption3": "Aussenbereich",
                         "buttonsText4": "Maps",
                         "buttonsImage4": "/vis.0/main/img/boincmanager.png",
                         "buttonsOption4": "Maps_Dieter",
                         "buttonsText5": "Multimedia",
                         "buttonsImage5": "/vis.0/main/img/yamaha.jpg",
                         "buttonsOption5": "Yamaha",
                         "buttonsText6": "Video / Webcam",
                         "buttonsImage6": "/vis.0/main/img/camera.png",
                         "buttonsOption6": "Video",
                         "buttonsText7": "Geräte / Energie",
                         "buttonsImage7": "/vis.0/main/img/disconnect.png",
                         "buttonsOption7": "Geraete",
                         "buttonsText8": "Jalousie / Licht",
                         "buttonsImage8": "/vis.0/main/img/devices/50/61_hm-lc-bl1-pb-fm_thumb.png",
                         "buttonsOption8": "Schalter",
                         "buttonsText9": "Heizung",
                         "buttonsImage9": "/vis.0/main/img/devices/50/61_hm-lc-bl1-pb-fm_thumb.png",
                         "buttonsOption9": "Schalter2",
                         "buttonsText10": "System",
                         "buttonsImage10": "/vis.0/main/img/mfd/measure_power_meter.png",
                         "buttonsOption10": "System",
                         "buttonsText11": "",
                         "buttonsImage11": "",
                         "buttonsOption11": "Schalter2",
                         "buttonsText12": "",
                         "buttonsImage12": "",
                         "buttonsOption12": "System",
                         "buttonsText13": "",
                         "buttonsImage13": "",
                         "buttonsOption13": "Schalter2",
                         "bOnlyOneSelected": false,
                         "bTheme": "",
                         "alwaysOpened": false,
                         "g_css_background": false,
                         "g_gestures": false,
                         "g_signals": false,
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "g_effects": false,
                         "g_css_shadow_padding": true,
                         "g_css_border": false,
                         "g_css_font_text": true,
                         "bShowEffect": "show",
                         "bShowEffectMs": "100",
                         "bHideEffect": "show",
                         "bHideEffectMs": "100",
                         "views": [
                             "Aussenbereich",
                             "Code",
                             "Corona",
                             "DWD",
                             "DWD2",
                             "DWD3",
                             "Google",
                             "Krippe",
                             "Maps_Bettina",
                             "Maps_Dieter",
                             "Maps_Philipp",
                             "Nachrichten",
                             "Pool",
                             "Pool_Chemie",
                             "Schalter",
                             "Schalter2",
                             "System",
                             "System2",
                             "Tanks",
                             "Tankstelle2",
                             "Telefon",
                             "Telefon2",
                             "Titel",
                             "Uhr",
                             "Wetter",
                             "Wohnzimmer",
                             "Yamaha",
                             "Yamaha2",
                             "Yamaha3"
                         ],
                         "g_style": false,
                         "g_button_options": true,
                         "bSpace": "11",
                         "bRadius": "8",
                         "bOffset": "0",
                         "bTextAlign": "center",
                         "bImageAlign": "left",
                         "bLayout": "auto",
                         "imagePaddingLeft": "17",
                         "imagePaddingTop": "10",
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0,
                         "buttonsImage14": "/vis.0/main/img/devices/50/61_hm-lc-bl1-pb-fm_thumb.png",
                         "buttonsText14": "Heizung",
                         "buttonsOption14": "Schalter2",
                         "g_visibility": false,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide"
                     },
                     "style": {
                         "left": "20px",
                         "top": "270px",
                         "height": "505px",
                         "width": "190px",
                         "z-index": "2",
                         "position": "",
                         "opacity": "",
                         "font-family": "Alegreya-Italic",
                         "font-size": "12px",
                         "line-height": "6px",
                         "color": "",
                         "text-align": "",
                         "font-style": "normal"
                     },
                     "widgetSet": "bars"
                 },
                 "e00002": {
                     "tpl": "tplTwSimpleDate",
                     "data": {
                         "g_fixed": true,
                         "g_visibility": false,
                         "g_css_font_text": true,
                         "g_css_background": false,
                         "g_css_shadow_padding": false,
                         "g_css_border": false,
                         "g_gestures": false,
                         "g_signals": false,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "prependZero": "true",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "showWeekDay": true,
                         "views": [
                             "Aussenbereich",
                             "Code",
                             "Corona",
                             "DWD",
                             "DWD2",
                             "DWD3",
                             "Energie",
                             "Erdgeschoss",
                             "Garage",
                             "Geraete",
                             "Geraete2",
                             "Google",
                             "Haustuer",
                             "Heizungsanlage",
                             "Kellergeschoss",
                             "Krippe",
                             "Maps_Bettina",
                             "Maps_Dieter",
                             "Maps_Philipp",
                             "Nachrichten",
                             "Obergeschoss",
                             "Schalter",
                             "Schalter2",
                             "Strom",
                             "System2",
                             "Tanks",
                             "Tankstelle",
                             "Telefon",
                             "Telefon2",
                             "Titel",
                             "Uhr",
                             "Video",
                             "Wasser",
                             "Webcam",
                             "Wetter",
                             "Wohnzimmer",
                             "Wohnzimmer2",
                             "Yamaha",
                             "Yamaha2",
                             "Yamaha3"
                         ],
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0
                     },
                     "style": {
                         "left": "20px",
                         "top": "17px",
                         "width": "200px",
                         "height": "35px",
                         "z-index": "1",
                         "color": "rgb(255, 255, 255)",
                         "font-size": "16px",
                         "letter-spacing": "0px",
                         "line-height": "",
                         "font-family": "sans-serif"
                     },
                     "widgetSet": "timeandweather"
                 },
                 "e00003": {
                     "tpl": "tplTwSimpleClock",
                     "data": {
                         "hm_id": 65535,
                         "digits": "",
                         "factor": 1,
                         "min": 0,
                         "max": 1,
                         "step": 0.01,
                         "hideSeconds": true,
                         "blink": false,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "views": [
                             "Aussenbereich",
                             "Code",
                             "Corona",
                             "DWD",
                             "DWD2",
                             "DWD3",
                             "Energie",
                             "Erdgeschoss",
                             "Garage",
                             "Geraete",
                             "Geraete2",
                             "Google",
                             "Haustuer",
                             "Heizungsanlage",
                             "Kellergeschoss",
                             "Krippe",
                             "Maps_Bettina",
                             "Maps_Dieter",
                             "Maps_Philipp",
                             "Nachrichten",
                             "Obergeschoss",
                             "Schalter",
                             "Schalter2",
                             "Strom",
                             "System2",
                             "Tanks",
                             "Tankstelle",
                             "Telefon",
                             "Telefon2",
                             "Titel",
                             "Uhr",
                             "Video",
                             "Wasser",
                             "Webcam",
                             "Wetter",
                             "Wohnzimmer",
                             "Wohnzimmer2",
                             "Yamaha",
                             "Yamaha2",
                             "Yamaha3"
                         ],
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0
                     },
                     "style": {
                         "left": "20px",
                         "top": "47px",
                         "color": "rgb(255, 255, 255)",
                         "font-size": "40px",
                         "z-index": "1",
                         "height": "42px",
                         "line-height": "normal",
                         "font-family": "sans-serif",
                         "letter-spacing": "2px",
                         "width": "130px"
                     },
                     "widgetSet": "timeandweather"
                 },
                 "e00004": {
                     "tpl": "tplImage",
                     "data": {
                         "hm_id": 65535,
                         "digits": "",
                         "factor": 1,
                         "min": 0,
                         "max": 1,
                         "step": 0.01,
                         "src": "/vis.0/main/img/IMG_3343 - Kopie.jpg",
                         "refreshOnWakeUp": false,
                         "refreshOnViewChange": false,
                         "refreshInterval": "0",
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "views": [
                             "Aussenbereich",
                             "Code",
                             "Corona",
                             "DWD",
                             "DWD2",
                             "DWD3",
                             "Energie",
                             "Erdgeschoss",
                             "Garage",
                             "Geraete",
                             "Geraete2",
                             "Google",
                             "Haustuer",
                             "Heizungsanlage",
                             "Kellergeschoss",
                             "Krippe",
                             "Maps_Bettina",
                             "Maps_Dieter",
                             "Maps_Philipp",
                             "Nachrichten",
                             "Obergeschoss",
                             "Schalter",
                             "Schalter2",
                             "Strom",
                             "System2",
                             "Tanks",
                             "Tankstelle",
                             "Telefon",
                             "Telefon2",
                             "Titel",
                             "Uhr",
                             "Video",
                             "Wasser",
                             "Webcam",
                             "Wetter",
                             "Wohnzimmer",
                             "Wohnzimmer2",
                             "Yamaha",
                             "Yamaha2",
                             "Yamaha3"
                         ],
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0
                     },
                     "style": {
                         "left": "20px",
                         "top": "110px",
                         "width": "189px",
                         "height": "132px",
                         "z-index": "2"
                     },
                     "widgetSet": "basic"
                 },
                 "e00005": {
                     "tpl": "tplHtml",
                     "data": {
                         "hm_id": 65535,
                         "digits": "",
                         "factor": 1,
                         "min": 0,
                         "max": 1,
                         "step": 0.01,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "views": [
                             "Aussenbereich",
                             "Code",
                             "Corona",
                             "DWD",
                             "DWD2",
                             "DWD3",
                             "Energie",
                             "Erdgeschoss",
                             "Garage",
                             "Geraete",
                             "Geraete2",
                             "Google",
                             "Haustuer",
                             "Heizungsanlage",
                             "Kellergeschoss",
                             "Krippe",
                             "Maps_Bettina",
                             "Maps_Dieter",
                             "Maps_Philipp",
                             "Nachrichten",
                             "Obergeschoss",
                             "Schalter",
                             "Schalter2",
                             "Strom",
                             "System2",
                             "Tanks",
                             "Tankstelle",
                             "Telefon",
                             "Telefon2",
                             "Titel",
                             "Uhr",
                             "Video",
                             "Wasser",
                             "Webcam",
                             "Wetter",
                             "Wohnzimmer",
                             "Wohnzimmer2",
                             "Yamaha",
                             "Yamaha2",
                             "Yamaha3"
                         ],
                         "refreshInterval": "0",
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0
                     },
                     "style": {
                         "left": "10px",
                         "top": "10px",
                         "border-radius": "6px",
                         "padding": "3px",
                         "color": "rgb(255, 255, 255)",
                         "background": "rgba(0, 0, 0, 0) none repeat scroll 0% 0%",
                         "border": "1px solid rgb(170, 170, 170)",
                         "font": "normal normal 20px/normal Arial",
                         "width": "200px",
                         "height": "230px",
                         "border-color": "rgb(170, 170, 170)",
                         "border-style": "solid",
                         "border-width": "2px",
                         "z-index": "0"
                     },
                     "widgetSet": "basic"
                 },
                 "e00006": {
                     "tpl": "tplHtml",
                     "data": {
                         "hm_id": 65535,
                         "digits": "",
                         "factor": 1,
                         "min": 0,
                         "max": 1,
                         "step": 0.01,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "refreshInterval": "0",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "views": [
                             "Aussenbereich",
                             "Code",
                             "Corona",
                             "DWD",
                             "DWD2",
                             "DWD3",
                             "Energie",
                             "Erdgeschoss",
                             "Garage",
                             "Geraete",
                             "Geraete2",
                             "Google",
                             "Haustuer",
                             "Heizungsanlage",
                             "Kellergeschoss",
                             "Krippe",
                             "Maps_Bettina",
                             "Maps_Dieter",
                             "Maps_Philipp",
                             "Nachrichten",
                             "Obergeschoss",
                             "Schalter",
                             "Schalter2",
                             "Strom",
                             "System2",
                             "Tanks",
                             "Tankstelle",
                             "Telefon",
                             "Telefon2",
                             "Titel",
                             "Uhr",
                             "Video",
                             "Wasser",
                             "Webcam",
                             "Wetter",
                             "Wohnzimmer",
                             "Wohnzimmer2",
                             "Yamaha",
                             "Yamaha2",
                             "Yamaha3"
                         ],
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0
                     },
                     "style": {
                         "left": "10px",
                         "top": "260px",
                         "border-radius": "6px",
                         "padding": "3px",
                         "color": "rgb(255, 255, 255)",
                         "background": "rgba(0, 0, 0, 0) none repeat scroll 0% 0%",
                         "border": "1px solid rgb(170, 170, 170)",
                         "font": "normal normal 20px/normal Arial",
                         "width": "200px",
                         "height": "520px",
                         "border-color": "rgb(170, 170, 170)",
                         "border-style": "solid",
                         "border-width": "2px",
                         "z-index": "0"
                     },
                     "widgetSet": "basic"
                 },
                 "e00007": {
                     "tpl": "tplHtml",
                     "data": {
                         "hm_id": 65535,
                         "digits": "",
                         "factor": 1,
                         "min": 0,
                         "max": 1,
                         "step": 0.01,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "refreshInterval": "0",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0
                     },
                     "style": {
                         "left": "230px",
                         "top": "10px",
                         "border-radius": "6px",
                         "padding": "3px",
                         "color": "rgb(255, 255, 255)",
                         "background": "rgba(0, 0, 0, 0) none repeat scroll 0% 0%",
                         "border": "1px solid rgb(170, 170, 170)",
                         "font": "normal normal 20px/normal Arial",
                         "width": "1030px",
                         "height": "770px",
                         "border-color": "rgb(170, 170, 170)",
                         "border-style": "solid",
                         "border-width": "2px",
                         "z-index": "0"
                     },
                     "widgetSet": "basic"
                 },
                 "e00008": {
                     "tpl": "tplHtml",
                     "data": {
                         "hm_id": 65535,
                         "digits": "",
                         "factor": 1,
                         "min": 0,
                         "max": 1,
                         "step": 0.01,
                         "html": "E-Bike - Tour:",
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "refreshInterval": "0",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "views": [
                             "DWD2",
                             "DWD3"
                         ],
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0
                     },
                     "style": {
                         "left": "402px",
                         "top": "26px",
                         "width": "220px",
                         "height": "42px",
                         "color": "rgb(255, 255, 255)",
                         "z-index": "2",
                         "font-size": "40px",
                         "font-family": "Alegreya-Italic",
                         "line-height": "32px"
                     },
                     "widgetSet": "basic"
                 },
                 "e00009": {
                     "tpl": "tplBarNavigator",
                     "data": {
                         "hm_id": 65535,
                         "digits": "",
                         "factor": 1,
                         "min": 0,
                         "max": 1,
                         "step": 0.01,
                         "bPosition": "floatHorizontal",
                         "bWidth": 80,
                         "bHeight": 46,
                         "bSpace": 5,
                         "bRadius": 5,
                         "bOffset": 0,
                         "bTextAlign": "center",
                         "bImageAlign": "right",
                         "bValue": "",
                         "bShowEffect": "show",
                         "bHideEffect": "show",
                         "bShowEffectMs": 100,
                         "bHideEffectMs": 100,
                         "bStyleNormal": "bar-button-base-on",
                         "bStyleNormalHover": null,
                         "bStyleActive": "bar-button-nice-blue",
                         "bStyleActiveHover": null,
                         "bCount": "1",
                         "buttonsText1": "Fahrrad",
                         "buttonsImage1": "",
                         "buttonsOption1": "Fahrrad",
                         "buttonsText2": "Bettina",
                         "buttonsImage2": "",
                         "buttonsOption2": "Maps_Bettina",
                         "bOnlyOneSelected": false,
                         "bTheme": "",
                         "bLayout": "fixed",
                         "imagePaddingLeft": "10",
                         "imagePaddingTop": "2",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "buttonsText3": "Philipp",
                         "buttonsOption3": "Maps_Philipp",
                         "views": [
                             "Maps_Bettina",
                             "Maps_Philipp"
                         ],
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0,
                         "g_visibility": false,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "buttonsText4": "BMW",
                         "buttonsOption4": "BMW",
                         "buttonsText5": "Fahrrad",
                         "buttonsOption5": "Fahrrad"
                     },
                     "style": {
                         "left": "260px",
                         "top": "25px",
                         "font-size": "16px",
                         "border-width": "0px",
                         "border-style": "solid",
                         "border-color": "rgb(170, 170, 170)",
                         "height": "25px",
                         "width": "100px",
                         "z-index": "6",
                         "letter-spacing": "0px",
                         "color": "black"
                     },
                     "widgetSet": "bars"
                 },
                 "e00010": {
                     "tpl": "tplJSONTemplate2",
                     "data": {
                         "g_fixed": false,
                         "g_visibility": false,
                         "g_css_font_text": true,
                         "g_css_background": false,
                         "g_css_shadow_padding": false,
                         "g_css_border": false,
                         "g_gestures": false,
                         "g_signals": false,
                         "g_last_change": false,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "rss_dpCount": "1",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0,
                         "json_oid": "javascript.0.Geräte.Fahrrad.Routen.Auswahl",
                         "json_template": "<% \n    var selectid=\"mydropdown\"; \n    var dp_write = \"javascript.0.Geräte.Fahrrad.Routen.ausgewaehlt\";\n%>\n<script>\ndebugger;\n    var selectid=\"<%- selectid %>\";\n    var dp_write=\"<%- dp_write %>\";\n    \n    function writeDP(el) {\n        if (el.selectedOptions[0].text) vis.setValue(dp_write,el.selectedOptions[0].text);\n    }\n\n</script>\n<style>\n#mydropdown {\n    color:rgb(255,255,255);\n    background:black;\n    font-size:24px;\n}\n</style>\n</style><select id=\"<%- selectid %>\" name=\"<%- selectid %>\" size=\"1\" onchange=\"javascript:writeDP(this)\" >\n<% debugger; %>\n<% for (var i = 0; i<data.length;i++) { %>\n  <option <%- ((dp[dp_write]==data[i]) ? \"selected\":\"\") %>><%- data[i] %></option>\n<% } %>\n</select>",
                         "rss_dp1": "javascript.0.Geräte.Fahrrad.Routen.ausgewaehlt"
                     },
                     "style": {
                         "left": "656px",
                         "top": "30px",
                         "width": "600px",
                         "height": "35px",
                         "font-size": "",
                         "z-index": "1"
                     },
                     "widgetSet": "rssfeed"
                 },
                 "e00011": {
                     "tpl": "tplIFrame",
                     "data": {
                         "g_fixed": false,
                         "g_visibility": false,
                         "g_css_font_text": false,
                         "g_css_background": false,
                         "g_css_shadow_padding": false,
                         "g_css_border": false,
                         "g_gestures": false,
                         "g_signals": false,
                         "g_last_change": false,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "refreshInterval": "0",
                         "seamless": false,
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0,
                         "src": "{javascript.0.Geräte.Fahrrad.Routen.Datei}",
                         "scrollY": false,
                         "scrollX": false,
                         "noSandbox": false,
                         "refreshOnWakeUp": true,
                         "refreshOnViewChange": true
                     },
                     "style": {
                         "left": "257px",
                         "top": "222px",
                         "width": "1000px",
                         "height": "555px",
                         "z-index": "5",
                         "overflow-x": "hidden",
                         "overflow-y": "hidden"
                     },
                     "widgetSet": "basic"
                 },
                 "e00012": {
                     "tpl": "i-vis-jsontable",
                     "data": {
                         "g_fixed": false,
                         "g_visibility": false,
                         "g_css_font_text": true,
                         "g_css_background": false,
                         "g_css_shadow_padding": false,
                         "g_css_border": false,
                         "g_gestures": false,
                         "g_signals": false,
                         "g_last_change": false,
                         "visibility-cond": "==",
                         "visibility-val": 1,
                         "visibility-groups-action": "hide",
                         "iTblRowLimit": "1",
                         "iTableRefreshRate": "0",
                         "iColCount": "14",
                         "iColShow1": "true",
                         "iTblTextAlign1": "left",
                         "iTblCellFormat1": "normal",
                         "iTblCellImageSize1": "200",
                         "iTblCellBooleanCheckbox1": "false",
                         "iTblCellBooleanColorFalse1": "#ff0000",
                         "iTblCellBooleanColorTrue1": "#00ff00",
                         "iTblCellNumberDecimals1": "2",
                         "iTblCellNumberDecimalSeperator1": ".",
                         "iTblCellNumberThousandSeperator1": ",",
                         "iTblCellThresholdsDp1": "",
                         "iTblCellThresholdsText1": "",
                         "iOpacityAll": "1",
                         "iTblRowEvenColor": "#f2eeee",
                         "iTblRowUnevenColor": "#d2cbcb",
                         "iTblHeaderColor": "#908484",
                         "iRowSpacing": "7",
                         "iTblRowEvenTextColor": "#2c42e8",
                         "iTblRowUnevenTextColor": "#2c42e8",
                         "iTblHeaderTextColor": "#FFFFFF",
                         "iBorderSize": "1",
                         "iBorderStyleLeft": "groove",
                         "iBorderStyleRight": "groove",
                         "iBorderStyleUp": "groove",
                         "iBorderStyleDown": "groove",
                         "iBorderColor": "#ffffff",
                         "signals-cond-0": "==",
                         "signals-val-0": true,
                         "signals-icon-0": "/vis/signals/lowbattery.png",
                         "signals-icon-size-0": 0,
                         "signals-blink-0": false,
                         "signals-horz-0": 0,
                         "signals-vert-0": 0,
                         "signals-hide-edit-0": false,
                         "signals-cond-1": "==",
                         "signals-val-1": true,
                         "signals-icon-1": "/vis/signals/lowbattery.png",
                         "signals-icon-size-1": 0,
                         "signals-blink-1": false,
                         "signals-horz-1": 0,
                         "signals-vert-1": 0,
                         "signals-hide-edit-1": false,
                         "signals-cond-2": "==",
                         "signals-val-2": true,
                         "signals-icon-2": "/vis/signals/lowbattery.png",
                         "signals-icon-size-2": 0,
                         "signals-blink-2": false,
                         "signals-horz-2": 0,
                         "signals-vert-2": 0,
                         "signals-hide-edit-2": false,
                         "lc-type": "last-change",
                         "lc-is-interval": true,
                         "lc-is-moment": false,
                         "lc-format": "",
                         "lc-position-vert": "top",
                         "lc-position-horz": "right",
                         "lc-offset-vert": 0,
                         "lc-offset-horz": 0,
                         "lc-font-size": "12px",
                         "lc-font-family": "",
                         "lc-font-style": "",
                         "lc-bkg-color": "",
                         "lc-color": "",
                         "lc-border-width": "0",
                         "lc-border-style": "",
                         "lc-border-color": "",
                         "lc-border-radius": 10,
                         "lc-zindex": 0,
                         "iColShow2": true,
                         "iTblTextAlign2": "center",
                         "iTblCellFormat2": "normal",
                         "iTblCellImageSize2": "200",
                         "iTblCellBooleanCheckbox2": "false",
                         "iTblCellBooleanColorFalse2": "#ff0000",
                         "iTblCellBooleanColorTrue2": "#00ff00",
                         "iTblCellNumberDecimals2": "2",
                         "iTblCellNumberDecimalSeperator2": ".",
                         "iTblCellNumberThousandSeperator2": ",",
                         "iTblCellThresholdsDp2": "",
                         "iTblCellThresholdsText2": "",
                         "iColShow3": "true",
                         "iTblTextAlign3": "center",
                         "iTblCellFormat3": "normal",
                         "iTblCellImageSize3": "200",
                         "iTblCellBooleanCheckbox3": "false",
                         "iTblCellBooleanColorFalse3": "#ff0000",
                         "iTblCellBooleanColorTrue3": "#00ff00",
                         "iTblCellNumberDecimals3": "2",
                         "iTblCellNumberDecimalSeperator3": ".",
                         "iTblCellNumberThousandSeperator3": ",",
                         "iTblCellThresholdsDp3": "",
                         "iTblCellThresholdsText3": "",
                         "iColShow4": true,
                         "iTblTextAlign4": "center",
                         "iTblCellFormat4": "normal",
                         "iTblCellImageSize4": "200",
                         "iTblCellBooleanCheckbox4": "false",
                         "iTblCellBooleanColorFalse4": "#ff0000",
                         "iTblCellBooleanColorTrue4": "#00ff00",
                         "iTblCellNumberDecimals4": "2",
                         "iTblCellNumberDecimalSeperator4": ".",
                         "iTblCellNumberThousandSeperator4": ",",
                         "iTblCellThresholdsDp4": "",
                         "iTblCellThresholdsText4": "",
                         "oid": "javascript.0.Geräte.Fahrrad.Routen.ausgewaehlt_alles",
                         "iTblShowHead": true,
                         "iTblFixedHead": true,
                         "iColName1": "<p style=\"line-height:18px; text-align:left; font-size:16px;font-weight:normal\">Titel",
                         "iColWidth1": "",
                         "iColPreText1": "",
                         "iColAttr1": "",
                         "iBorderRemoveDouble": true,
                         "iColName2": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">Datum",
                         "iColName3": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">Start",
                         "iColName4": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">Ende",
                         "iTblSortOrder": "asc",
                         "iTblHeadTextAlign1": "left",
                         "iTblHeadTextAlign2": "center",
                         "iTblHeadTextAlign3": "center",
                         "iTblHeadTextAlign4": "center",
                         "iColShow5": "true",
                         "iTblHeadTextAlign5": "center",
                         "iTblTextAlign5": "center",
                         "iTblCellFormat5": "normal",
                         "iTblCellImageSize5": "200",
                         "iTblCellBooleanCheckbox5": "false",
                         "iTblCellBooleanColorFalse5": "#ff0000",
                         "iTblCellBooleanColorTrue5": "#00ff00",
                         "iTblCellNumberDecimals5": "2",
                         "iTblCellNumberDecimalSeperator5": ".",
                         "iTblCellNumberThousandSeperator5": ",",
                         "iTblCellThresholdsDp5": "",
                         "iTblCellThresholdsText5": "",
                         "iColName5": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">Strecke<br/>(in km)",
                         "iColShow6": true,
                         "iTblHeadTextAlign6": "center",
                         "iTblTextAlign6": "center",
                         "iTblCellFormat6": "normal",
                         "iTblCellImageSize6": "200",
                         "iTblCellBooleanCheckbox6": "false",
                         "iTblCellBooleanColorFalse6": "#ff0000",
                         "iTblCellBooleanColorTrue6": "#00ff00",
                         "iTblCellNumberDecimals6": "2",
                         "iTblCellNumberDecimalSeperator6": ".",
                         "iTblCellNumberThousandSeperator6": ",",
                         "iTblCellThresholdsDp6": "",
                         "iTblCellThresholdsText6": "",
                         "iColShow8": false,
                         "iTblHeadTextAlign8": "center",
                         "iTblTextAlign8": "center",
                         "iTblCellFormat8": "normal",
                         "iTblCellImageSize8": "200",
                         "iTblCellBooleanCheckbox8": "false",
                         "iTblCellBooleanColorFalse8": "#ff0000",
                         "iTblCellBooleanColorTrue8": "#00ff00",
                         "iTblCellNumberDecimals8": "2",
                         "iTblCellNumberDecimalSeperator8": ".",
                         "iTblCellNumberThousandSeperator8": ",",
                         "iTblCellThresholdsDp8": "",
                         "iTblCellThresholdsText8": "",
                         "iColShow9": true,
                         "iTblHeadTextAlign9": "center",
                         "iTblTextAlign9": "center",
                         "iTblCellFormat9": "normal",
                         "iTblCellImageSize9": "200",
                         "iTblCellBooleanCheckbox9": "false",
                         "iTblCellBooleanColorFalse9": "#ff0000",
                         "iTblCellBooleanColorTrue9": "#00ff00",
                         "iTblCellNumberDecimals9": "2",
                         "iTblCellNumberDecimalSeperator9": ".",
                         "iTblCellNumberThousandSeperator9": ",",
                         "iTblCellThresholdsDp9": "",
                         "iTblCellThresholdsText9": "",
                         "iColShow10": false,
                         "iTblHeadTextAlign10": "center",
                         "iTblTextAlign10": "center",
                         "iTblCellFormat10": "normal",
                         "iTblCellImageSize10": "200",
                         "iTblCellBooleanCheckbox10": "false",
                         "iTblCellBooleanColorFalse10": "#ff0000",
                         "iTblCellBooleanColorTrue10": "#00ff00",
                         "iTblCellNumberDecimals10": "2",
                         "iTblCellNumberDecimalSeperator10": ".",
                         "iTblCellNumberThousandSeperator10": ",",
                         "iTblCellThresholdsDp10": "",
                         "iTblCellThresholdsText10": "",
                         "iColShow11": true,
                         "iTblHeadTextAlign11": "center",
                         "iTblTextAlign11": "center",
                         "iTblCellFormat11": "normal",
                         "iTblCellImageSize11": "200",
                         "iTblCellBooleanCheckbox11": "false",
                         "iTblCellBooleanColorFalse11": "#ff0000",
                         "iTblCellBooleanColorTrue11": "#00ff00",
                         "iTblCellNumberDecimals11": "2",
                         "iTblCellNumberDecimalSeperator11": ".",
                         "iTblCellNumberThousandSeperator11": ",",
                         "iTblCellThresholdsDp11": "",
                         "iTblCellThresholdsText11": "",
                         "iColShow12": true,
                         "iTblHeadTextAlign12": "center",
                         "iTblTextAlign12": "center",
                         "iTblCellFormat12": "normal",
                         "iTblCellImageSize12": "200",
                         "iTblCellBooleanCheckbox12": "false",
                         "iTblCellBooleanColorFalse12": "#ff0000",
                         "iTblCellBooleanColorTrue12": "#00ff00",
                         "iTblCellNumberDecimals12": "2",
                         "iTblCellNumberDecimalSeperator12": ".",
                         "iTblCellNumberThousandSeperator12": ",",
                         "iTblCellThresholdsDp12": "",
                         "iTblCellThresholdsText12": "",
                         "iColShow13": "true",
                         "iTblHeadTextAlign13": "center",
                         "iTblTextAlign13": "center",
                         "iTblCellFormat13": "normal",
                         "iTblCellImageSize13": "200",
                         "iTblCellBooleanCheckbox13": "false",
                         "iTblCellBooleanColorFalse13": "#ff0000",
                         "iTblCellBooleanColorTrue13": "#00ff00",
                         "iTblCellNumberDecimals13": "2",
                         "iTblCellNumberDecimalSeperator13": ".",
                         "iTblCellNumberThousandSeperator13": ",",
                         "iTblCellThresholdsDp13": "",
                         "iTblCellThresholdsText13": "",
                         "iColShow14": "true",
                         "iTblHeadTextAlign14": "center",
                         "iTblTextAlign14": "center",
                         "iTblCellFormat14": "normal",
                         "iTblCellImageSize14": "200",
                         "iTblCellBooleanCheckbox14": "false",
                         "iTblCellBooleanColorFalse14": "#ff0000",
                         "iTblCellBooleanColorTrue14": "#00ff00",
                         "iTblCellNumberDecimals14": "2",
                         "iTblCellNumberDecimalSeperator14": ".",
                         "iTblCellNumberThousandSeperator14": ",",
                         "iTblCellThresholdsDp14": "",
                         "iTblCellThresholdsText14": "",
                         "iColWidth6": "",
                         "iColPreText6": "",
                         "iColName6": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">Fahrzeit",
                         "iColAttr6": "",
                         "iTblCellPlaceholder6": "",
                         "iColWidth3": "10",
                         "g_iTableCol_§6": true,
                         "iColShow7": true,
                         "iTblHeadTextAlign7": "center",
                         "iTblTextAlign7": "center",
                         "iTblCellFormat7": "normal",
                         "iTblCellImageSize7": "200",
                         "iTblCellBooleanCheckbox7": "false",
                         "iTblCellBooleanColorFalse7": "#ff0000",
                         "iTblCellBooleanColorTrue7": "#00ff00",
                         "iTblCellNumberDecimals7": "2",
                         "iTblCellNumberDecimalSeperator7": ".",
                         "iTblCellNumberThousandSeperator7": ",",
                         "iTblCellThresholdsDp7": "",
                         "iTblCellThresholdsText7": "",
                         "iColName7": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">\nØ-Tritt-<br>frequenz<br>(U/min.)",
                         "iColName8": "",
                         "iColName9": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">Ø-Leistung<br>(in W)",
                         "iColName10": "",
                         "iColName11": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">Ø-Speed<br>(in km/h)",
                         "iColName12": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">max-Speed<br>(in km/h)",
                         "iColName13": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">Bergauf<br>(in m)",
                         "iColShow15": "true",
                         "iTblHeadTextAlign15": "center",
                         "iTblTextAlign15": "left",
                         "iTblCellFormat15": "normal",
                         "iTblCellImageSize15": "200",
                         "iTblCellBooleanCheckbox15": "false",
                         "iTblCellBooleanColorFalse15": "#ff0000",
                         "iTblCellBooleanColorTrue15": "#00ff00",
                         "iTblCellNumberDecimals15": "2",
                         "iTblCellNumberDecimalSeperator15": ".",
                         "iTblCellNumberThousandSeperator15": ",",
                         "iTblCellThresholdsDp15": "",
                         "iTblCellThresholdsText15": "",
                         "iColShow16": "true",
                         "iTblHeadTextAlign16": "center",
                         "iTblTextAlign16": "left",
                         "iTblCellFormat16": "normal",
                         "iTblCellImageSize16": "200",
                         "iTblCellBooleanCheckbox16": "false",
                         "iTblCellBooleanColorFalse16": "#ff0000",
                         "iTblCellBooleanColorTrue16": "#00ff00",
                         "iTblCellNumberDecimals16": "2",
                         "iTblCellNumberDecimalSeperator16": ".",
                         "iTblCellNumberThousandSeperator16": ",",
                         "iTblCellThresholdsDp16": "",
                         "iTblCellThresholdsText16": "",
                         "iColName14": "<p style=\"line-height:18px; font-size:16px;font-weight:normal\">Bergab<br>(in m)",
                         "iColAttr4": "",
                         "iVertScroll": false,
                         "iTblDummyRow": ""
                     },
                     "style": {
                         "left": "258px",
                         "top": "77px",
                         "z-index": "6",
                         "width": "995px",
                         "height": "130px",
                         "font-size": "14px",
                         "line-height": "12px",
                         "font-weight": "bold"
                     },
                     "widgetSet": "vis-inventwo"
                 }
             },
             "name": "Fahrrad_Route",
             "rerender": false,
             "filterList": []
          }
          

          K Away
          K Away
          Kanumouse
          wrote on last edited by
          #68

          @bahnuhr

          Hi,
          ich habe heute endlich den Bosch-ebike-Adapter zum Laufen bekommen.
          Danach wollte ich auf deine Erfahrungen zurückgreifen und habe dein Script und die View importiert.
          Das bekomme ich leider nicht zum Laufen, ich denke, da fehlt irgend etwas.
          Wie werden die Objekte/Variablen unter javascript.0 gefüllt?
          Ich denke, irgend etwas fehlt mir auch in der View?

          bahnuhrB 1 Reply Last reply
          0
          • K Kanumouse

            @bahnuhr

            Hi,
            ich habe heute endlich den Bosch-ebike-Adapter zum Laufen bekommen.
            Danach wollte ich auf deine Erfahrungen zurückgreifen und habe dein Script und die View importiert.
            Das bekomme ich leider nicht zum Laufen, ich denke, da fehlt irgend etwas.
            Wie werden die Objekte/Variablen unter javascript.0 gefüllt?
            Ich denke, irgend etwas fehlt mir auch in der View?

            bahnuhrB Online
            bahnuhrB Online
            bahnuhr
            Forum Testing Most Active
            wrote on last edited by
            #69

            @kanumouse
            Da fehlt gar nix.
            Läuft einwandfrei.

            Bitte alles genau anschauen und versuchen zu verstehen..


            Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
            Danke.
            gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
            ScreenToGif :https://www.screentogif.com/downloads.html

            K 1 Reply Last reply
            0
            • bahnuhrB bahnuhr

              @kanumouse
              Da fehlt gar nix.
              Läuft einwandfrei.

              Bitte alles genau anschauen und versuchen zu verstehen..

              K Away
              K Away
              Kanumouse
              wrote on last edited by
              #70

              @bahnuhr
              Ich habe mir schon den Kopf zerbrochen, komme aber leider nicht weiter.
              Du hast sicherlich recht, dass ich irgend etwas nicht verstehe.

              K 1 Reply Last reply
              0
              • K Kanumouse

                @bahnuhr
                Ich habe mir schon den Kopf zerbrochen, komme aber leider nicht weiter.
                Du hast sicherlich recht, dass ich irgend etwas nicht verstehe.

                K Away
                K Away
                Kanumouse
                wrote on last edited by Kanumouse
                #71

                @bahnuhr
                Hast du vielleicht einen Tipp für mich?
                Wenn ich das richtig verstehe, ist mir nicht klar wie die javascript.0.Geräte.Fahrrad.Touren-Variable als JSON gefüllt wird???
                Ich weiß nicht, wie die Daten der Trips aus der ebike-Instanz als Ausgangsdaten für den Script verwendet werden, sehe ich offensichtlich nicht durch.

                bahnuhrB 1 Reply Last reply
                0
                • K Kanumouse

                  @bahnuhr
                  Hast du vielleicht einen Tipp für mich?
                  Wenn ich das richtig verstehe, ist mir nicht klar wie die javascript.0.Geräte.Fahrrad.Touren-Variable als JSON gefüllt wird???
                  Ich weiß nicht, wie die Daten der Trips aus der ebike-Instanz als Ausgangsdaten für den Script verwendet werden, sehe ich offensichtlich nicht durch.

                  bahnuhrB Online
                  bahnuhrB Online
                  bahnuhr
                  Forum Testing Most Active
                  wrote on last edited by
                  #72

                  @kanumouse sagte in maps mit Streckendarstellung:

                  ist mir nicht klar wie die javascript.0.Geräte.Fahrrad.Touren-Variable als JSON gefüllt wird???

                  Das ist nicht wichtig, bzw. bei jedem ja anders.
                  Du musst selber wissen wo deine lat und lon liegen.
                  Und diese musst du dann per script poly zuweisen.
                  Um danach eine html zu erzeugen.

                         // GPS einlesen und der Variablen poly zuweisen
                              if (trip < 10) trip = "0" + trip;       // DP bei den Objekten der eingelesen werden soll: bosch-ebike.0.trips.xx.details
                              var obj = JSON.parse(getState("bosch-ebike.0.trips." + trip + ".details").val); 
                              var end = obj.activityData.length - 1;
                              for (var x=0; x<=end; x++) {
                                  if (obj.activityData[x].lat > 1 && obj.activityData[x].lon > 1) {
                                      poly = poly + "["+obj.activityData[x].lat+", "+obj.activityData[x].lon+"]"
                                      if (x < end) poly = poly + ","
                                  }
                              }
                              if (logging) log (poly);
                          // html erzeugen und speichern in /vis.0/xxx.html
                              var string = '<!DOCTYPE html>\n<html>\n<head>\n<title>Simple Leaflet Map</title>\n<meta charset="utf-8" />\n'
                              string = string + '<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="crossorigin=""/></head>\n'
                              string = string + '<body>\n<div id="map" style="width: 980px; height: 530px"></div>\n<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="crossorigin=""></script>\n<script>\n'
                              string = string + "var map = L.map('map').setView([" + center_gps + "], " + zoom + ");\n"
                              string = string + "mapLink = '<a href=" + '"http://openstreetmap.org"' + ">OpenStreetMap</a>';\n"
                              string = string + "L.tileLayer( 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; ' + mapLink + ' Contributors', maxZoom: 18,}).addTo(map);\n"
                              string = string + 'var polyline = L.polyline([ \n' + poly + '\n], { color: "blue", weight: 3, opacity: .7, lineJoin: "round" } ).addTo(map);\n'
                              string = string + '</script>\n</body>\n</html>'
                              writeFile("vis.0", "/Routen/" + pfad + trip +".html", string, (error) => {
                                  if (logging) log('Datei "route.html" gespeichert!');
                              });
                              setState("javascript.0.Geräte.Fahrrad.Routen.Datei","/vis.0/Routen/" + pfad + trip + ".html");
                  

                  Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                  Danke.
                  gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                  ScreenToGif :https://www.screentogif.com/downloads.html

                  K 2 Replies Last reply
                  0
                  • bahnuhrB bahnuhr

                    @kanumouse sagte in maps mit Streckendarstellung:

                    ist mir nicht klar wie die javascript.0.Geräte.Fahrrad.Touren-Variable als JSON gefüllt wird???

                    Das ist nicht wichtig, bzw. bei jedem ja anders.
                    Du musst selber wissen wo deine lat und lon liegen.
                    Und diese musst du dann per script poly zuweisen.
                    Um danach eine html zu erzeugen.

                           // GPS einlesen und der Variablen poly zuweisen
                                if (trip < 10) trip = "0" + trip;       // DP bei den Objekten der eingelesen werden soll: bosch-ebike.0.trips.xx.details
                                var obj = JSON.parse(getState("bosch-ebike.0.trips." + trip + ".details").val); 
                                var end = obj.activityData.length - 1;
                                for (var x=0; x<=end; x++) {
                                    if (obj.activityData[x].lat > 1 && obj.activityData[x].lon > 1) {
                                        poly = poly + "["+obj.activityData[x].lat+", "+obj.activityData[x].lon+"]"
                                        if (x < end) poly = poly + ","
                                    }
                                }
                                if (logging) log (poly);
                            // html erzeugen und speichern in /vis.0/xxx.html
                                var string = '<!DOCTYPE html>\n<html>\n<head>\n<title>Simple Leaflet Map</title>\n<meta charset="utf-8" />\n'
                                string = string + '<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="crossorigin=""/></head>\n'
                                string = string + '<body>\n<div id="map" style="width: 980px; height: 530px"></div>\n<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="crossorigin=""></script>\n<script>\n'
                                string = string + "var map = L.map('map').setView([" + center_gps + "], " + zoom + ");\n"
                                string = string + "mapLink = '<a href=" + '"http://openstreetmap.org"' + ">OpenStreetMap</a>';\n"
                                string = string + "L.tileLayer( 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; ' + mapLink + ' Contributors', maxZoom: 18,}).addTo(map);\n"
                                string = string + 'var polyline = L.polyline([ \n' + poly + '\n], { color: "blue", weight: 3, opacity: .7, lineJoin: "round" } ).addTo(map);\n'
                                string = string + '</script>\n</body>\n</html>'
                                writeFile("vis.0", "/Routen/" + pfad + trip +".html", string, (error) => {
                                    if (logging) log('Datei "route.html" gespeichert!');
                                });
                                setState("javascript.0.Geräte.Fahrrad.Routen.Datei","/vis.0/Routen/" + pfad + trip + ".html");
                    
                    K Away
                    K Away
                    Kanumouse
                    wrote on last edited by
                    #73

                    @bahnuhr
                    Danke für den Hinweis.
                    Aber jetzt bin ich richtig verwirrt und ich glaube zu blöd dazu.
                    Meine lat und lon habe ich in deinem Script an meinem Standort angepasst. Aber mit dem Rest bin ich überfordert, da sich meine AKenntnisse in der Programmierung im Anfangstadium befinden.

                    1 Reply Last reply
                    0
                    • bahnuhrB bahnuhr

                      @kanumouse sagte in maps mit Streckendarstellung:

                      ist mir nicht klar wie die javascript.0.Geräte.Fahrrad.Touren-Variable als JSON gefüllt wird???

                      Das ist nicht wichtig, bzw. bei jedem ja anders.
                      Du musst selber wissen wo deine lat und lon liegen.
                      Und diese musst du dann per script poly zuweisen.
                      Um danach eine html zu erzeugen.

                             // GPS einlesen und der Variablen poly zuweisen
                                  if (trip < 10) trip = "0" + trip;       // DP bei den Objekten der eingelesen werden soll: bosch-ebike.0.trips.xx.details
                                  var obj = JSON.parse(getState("bosch-ebike.0.trips." + trip + ".details").val); 
                                  var end = obj.activityData.length - 1;
                                  for (var x=0; x<=end; x++) {
                                      if (obj.activityData[x].lat > 1 && obj.activityData[x].lon > 1) {
                                          poly = poly + "["+obj.activityData[x].lat+", "+obj.activityData[x].lon+"]"
                                          if (x < end) poly = poly + ","
                                      }
                                  }
                                  if (logging) log (poly);
                              // html erzeugen und speichern in /vis.0/xxx.html
                                  var string = '<!DOCTYPE html>\n<html>\n<head>\n<title>Simple Leaflet Map</title>\n<meta charset="utf-8" />\n'
                                  string = string + '<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="crossorigin=""/></head>\n'
                                  string = string + '<body>\n<div id="map" style="width: 980px; height: 530px"></div>\n<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="crossorigin=""></script>\n<script>\n'
                                  string = string + "var map = L.map('map').setView([" + center_gps + "], " + zoom + ");\n"
                                  string = string + "mapLink = '<a href=" + '"http://openstreetmap.org"' + ">OpenStreetMap</a>';\n"
                                  string = string + "L.tileLayer( 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; ' + mapLink + ' Contributors', maxZoom: 18,}).addTo(map);\n"
                                  string = string + 'var polyline = L.polyline([ \n' + poly + '\n], { color: "blue", weight: 3, opacity: .7, lineJoin: "round" } ).addTo(map);\n'
                                  string = string + '</script>\n</body>\n</html>'
                                  writeFile("vis.0", "/Routen/" + pfad + trip +".html", string, (error) => {
                                      if (logging) log('Datei "route.html" gespeichert!');
                                  });
                                  setState("javascript.0.Geräte.Fahrrad.Routen.Datei","/vis.0/Routen/" + pfad + trip + ".html");
                      
                      K Away
                      K Away
                      Kanumouse
                      wrote on last edited by
                      #74

                      @bahnuhr
                      Zur ERgänzung, so sieht meine importierte View aus.
                      E-Bike_View.jpg

                      bahnuhrB 1 Reply Last reply
                      0
                      • K Kanumouse

                        @bahnuhr
                        Zur ERgänzung, so sieht meine importierte View aus.
                        E-Bike_View.jpg

                        bahnuhrB Online
                        bahnuhrB Online
                        bahnuhr
                        Forum Testing Most Active
                        wrote on last edited by
                        #75

                        @kanumouse
                        Ok, ich bin jetzt raus.
                        Ich glaube ohne intensive Einarbeitung deinerseits wird das nix.


                        Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                        Danke.
                        gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                        ScreenToGif :https://www.screentogif.com/downloads.html

                        K 1 Reply Last reply
                        0
                        • bahnuhrB bahnuhr

                          @kanumouse
                          Ok, ich bin jetzt raus.
                          Ich glaube ohne intensive Einarbeitung deinerseits wird das nix.

                          K Away
                          K Away
                          Kanumouse
                          wrote on last edited by Kanumouse
                          #76

                          @bahnuhr
                          Kann ich verstehen, trotzdem schade!
                          Ich weiß nicht so richtig, wo ich im Moment anfangen soll.
                          Ich glaube mein Problem ist, wie ich aus der Instanz die Touren auslese und abspeichere???

                          OliverIOO 1 Reply Last reply
                          0
                          • K Kanumouse

                            @bahnuhr
                            Kann ich verstehen, trotzdem schade!
                            Ich weiß nicht so richtig, wo ich im Moment anfangen soll.
                            Ich glaube mein Problem ist, wie ich aus der Instanz die Touren auslese und abspeichere???

                            OliverIOO Offline
                            OliverIOO Offline
                            OliverIO
                            wrote on last edited by
                            #77

                            @kanumouse

                            Ich habe hier mal ein versuch gestartet das etwas einfacher zu machen.
                            Du musst halt JSON können, ist aber auch nicht so schwer
                            https://forum.iobroker.net/topic/82214/test-iobroker-mapwidgets

                            Meine Adapter und Widgets
                            TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                            Links im Profil

                            K 1 Reply Last reply
                            1
                            • OliverIOO OliverIO

                              @kanumouse

                              Ich habe hier mal ein versuch gestartet das etwas einfacher zu machen.
                              Du musst halt JSON können, ist aber auch nicht so schwer
                              https://forum.iobroker.net/topic/82214/test-iobroker-mapwidgets

                              K Away
                              K Away
                              Kanumouse
                              wrote on last edited by Kanumouse
                              #78

                              Ich habe jetzt im ersten Schritt alles hinbekommen und es funktioniert soweit. Einige kleinere Verbesserungen stehen noch an.
                              Nun habe ich eine dynamische Zuweisung des Kartenmittelpunktes eingefügt, die aber leider in der Anzeige nicht funktioniert.
                              In der html-Datei ist immer die richtige Mittelpunktzuweisung enthalten, nur angezeigt wird immer nur eine Karte mit dem erstmalig angezeigten Mittelpunkt.
                              Die Touren werden aber je nach Auswahl immer richtig in der Karte angezeigt. Nur man muss die Karte dann immer verschieben, da die Touren an unterschiedlichen Orten stattfanden.
                              Ich habe schon den Cache des Browers (Firefox) gelöscht und auch Chrome benutzt - immer dasselbe Ergebnis.
                              Jetzt weiß ich erst einmal nicht mehr weiter.
                              Hat Jemand einen Tipp für mich?
                              E_Bike_Touren.jpg

                              OliverIOO bahnuhrB 2 Replies Last reply
                              0
                              • K Kanumouse

                                Ich habe jetzt im ersten Schritt alles hinbekommen und es funktioniert soweit. Einige kleinere Verbesserungen stehen noch an.
                                Nun habe ich eine dynamische Zuweisung des Kartenmittelpunktes eingefügt, die aber leider in der Anzeige nicht funktioniert.
                                In der html-Datei ist immer die richtige Mittelpunktzuweisung enthalten, nur angezeigt wird immer nur eine Karte mit dem erstmalig angezeigten Mittelpunkt.
                                Die Touren werden aber je nach Auswahl immer richtig in der Karte angezeigt. Nur man muss die Karte dann immer verschieben, da die Touren an unterschiedlichen Orten stattfanden.
                                Ich habe schon den Cache des Browers (Firefox) gelöscht und auch Chrome benutzt - immer dasselbe Ergebnis.
                                Jetzt weiß ich erst einmal nicht mehr weiter.
                                Hat Jemand einen Tipp für mich?
                                E_Bike_Touren.jpg

                                OliverIOO Offline
                                OliverIOO Offline
                                OliverIO
                                wrote on last edited by
                                #79

                                @kanumouse

                                Also, wenn es um den neuen Adapter geht, wäre es mir recht, wenn wir die Diskussion im anderen thread weiterführen.
                                Hier geht es ja, um individuellem Java Skript und hat mit dem Adapter nichts zu tun.

                                Eventuell hilft dir die seit gestern verfügbare Option fitBounds.
                                Ansonsten musst du mit etwas mehr Details schreiben. Am besten Widget Export plus Inhalt des Datenpunkts. Dann kann man sich besser vorstellen, was du machst.

                                Meine Adapter und Widgets
                                TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                                Links im Profil

                                1 Reply Last reply
                                0
                                • K Kanumouse

                                  Ich habe jetzt im ersten Schritt alles hinbekommen und es funktioniert soweit. Einige kleinere Verbesserungen stehen noch an.
                                  Nun habe ich eine dynamische Zuweisung des Kartenmittelpunktes eingefügt, die aber leider in der Anzeige nicht funktioniert.
                                  In der html-Datei ist immer die richtige Mittelpunktzuweisung enthalten, nur angezeigt wird immer nur eine Karte mit dem erstmalig angezeigten Mittelpunkt.
                                  Die Touren werden aber je nach Auswahl immer richtig in der Karte angezeigt. Nur man muss die Karte dann immer verschieben, da die Touren an unterschiedlichen Orten stattfanden.
                                  Ich habe schon den Cache des Browers (Firefox) gelöscht und auch Chrome benutzt - immer dasselbe Ergebnis.
                                  Jetzt weiß ich erst einmal nicht mehr weiter.
                                  Hat Jemand einen Tipp für mich?
                                  E_Bike_Touren.jpg

                                  bahnuhrB Online
                                  bahnuhrB Online
                                  bahnuhr
                                  Forum Testing Most Active
                                  wrote on last edited by bahnuhr
                                  #80

                                  @kanumouse sagte in maps mit Streckendarstellung:

                                  In der html-Datei ist immer die richtige Mittelpunktzuweisung enthalten, nur angezeigt wird immer nur eine Karte mit dem erstmalig angezeigten Mittelpunkt.

                                  Das Widget in VIS wird aktualisiert in der Anzeige, wenn sich der DP Eintrag ändert (oder du F5 drückst). Es reicht hier nicht die html zu ändern.
                                  Folglich:
                                  Ändere nicht nur die html sondern auch den html Namen. Und dieser musst du neu eintragen im DP.


                                  Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                                  Danke.
                                  gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                                  ScreenToGif :https://www.screentogif.com/downloads.html

                                  K 1 Reply Last reply
                                  0
                                  • bahnuhrB bahnuhr

                                    @kanumouse sagte in maps mit Streckendarstellung:

                                    In der html-Datei ist immer die richtige Mittelpunktzuweisung enthalten, nur angezeigt wird immer nur eine Karte mit dem erstmalig angezeigten Mittelpunkt.

                                    Das Widget in VIS wird aktualisiert in der Anzeige, wenn sich der DP Eintrag ändert (oder du F5 drückst). Es reicht hier nicht die html zu ändern.
                                    Folglich:
                                    Ändere nicht nur die html sondern auch den html Namen. Und dieser musst du neu eintragen im DP.

                                    K Away
                                    K Away
                                    Kanumouse
                                    wrote on last edited by Kanumouse
                                    #81

                                    @bahnuhr
                                    Danke für den Tipp, das war mir schon klar .Das ist aber nicht die Ursache.
                                    Der Datenpunkt auf den der Link im widget verweist ändert sich, aber die map im widget ändert sich leider hinsichtlich des map-Mittelpunktes nicht. Die Routen werden in der map aber richtig angezeigt, nur ddie map muss man dann immer erst verschieben. Angezeigt wird die map immer mit Mittelpunkt (ca. 52.25, 14.41), obwohl bspw. in der html-Datei der richtige map-Mittelpunkt steht ( im Beispiel 53.21, 14.41).

                                    <!DOCTYPE html>
                                    <html>
                                    <head>
                                    <title>Simple Leaflet Map</title>
                                    <meta charset="utf-8" />
                                    <link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="crossorigin=""/></head>
                                    <body>
                                    <div id="map" style="width: 980px; height: 530px"></div>
                                    <script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="crossorigin=""></script>
                                    <script>
                                    var map = L.map('map').setView([53.25550348348861, 14.412522912025452], 13);
                                    mapLink = '<a href="http://openstreetmap.org">OpenStreetMap</a>';
                                    L.tileLayer( 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; ' + mapLink + ' Contributors', maxZoom: 18,}).addTo(map);
                                    var polyline = L.polyline([ 
                                    [53.94125, 14.19013],[53.94141, 14.19022],[53.94181, 14.19009],[53.94218, 14.18984],[53.94255, 14.18912],[53.94293, 14.18838],[53.94331, 14.18791],[53.94372, 14.18726],[53.94412, 14.18656],[53.94452, 14.18584],[53.94488, 14.18524],[53.94525, 14.1846],[53.94565, 14.18386],[53.94602, 14.18325],[53.94641, 14.18254],[53.94689, 14.18186],[53.94725, 14.18125],[53.94768, 14.18051],[53.94806, 14.17989],[53.94845, 14.17928],[53.94884, 14.17865],[53.94925, 14.17797],[53.94961, 14.1774],[53.95004, 14.17673],[53.95048, 14.1761],[53.9509, 14.17547],[53.95133, 14.17486],[53.95169, 14.17438],[53.95213, 14.17378],[53.95251, 14.17319],[53.95297, 14.17251],[53.95341, 14.172],[53.95391, 14.17158],[53.9544, 14.17137],[53.95489, 14.17189],[53.95535, 14.1715],[53.95578, 14.17097],[53.95609, 14.17026],[53.95653, 14.16975],[53.95705, 14.1693],[53.95723, 14.16861],[53.95767, 14.16802],[53.95818, 14.16737],[53.95854, 14.16685],[53.95887, 14.16607],[53.95923, 14.16542],[53.95957, 14.16471],[53.95996, 14.1641],[53.96037, 14.16347],[53.96078, 14.16283],[53.96118, 14.16219],[53.96159, 14.16152],[53.9619, 14.16082],[53.96219, 14.16006],[53.9626, 14.15945],[53.96299, 14.15881],[53.96341, 14.1582],[53.96386, 14.15751],[53.96428, 14.15688],[53.96467, 14.1563],[53.96513, 14.1556],[53.96551, 14.15503],[53.96589, 14.15446],[53.96632, 14.15383],[53.96669, 14.15312],[53.96707, 14.15244],[53.96749, 14.15172],[53.96791, 14.15116],[53.96835, 14.15065],[53.96881, 14.15013],[53.96926, 14.14955],[53.96964, 14.14905],[53.97014, 14.14843],[53.97055, 14.14791],[53.97101, 14.14728],[53.9714, 14.14676],[53.97184, 14.14619],[53.97227, 14.14559],[53.97276, 14.14509],[53.97316, 14.14456],[53.97364, 14.14397],[53.97406, 14.14347],[53.97452, 14.14293],[53.97496, 14.14233],[53.97539, 14.14182],[53.97519, 14.14116],[53.97554, 14.14057],[53.97601, 14.13997],[53.97635, 14.13947],[53.97669, 14.13876],[53.97718, 14.13846],[53.97757, 14.13793],[53.97803, 14.13745],[53.97853, 14.13671],[53.97894, 14.13625],[53.97933, 14.13555],[53.97964, 14.1349],[53.97979, 14.13404],[53.9799, 14.13295],[53.98003, 14.13225],[53.98028, 14.13133],[53.98048, 14.13038],[53.98072, 14.12971],[53.98093, 14.12877],[53.98104, 14.12798],[53.9811, 14.12704],[53.98119, 14.12609],[53.98083, 14.12554],[53.9808, 14.12479],[53.98119, 14.12414],[53.98164, 14.12338],[53.98171, 14.12263],[53.98154, 14.12173],[53.98135, 14.12075],[53.98183, 14.1204],[53.98232, 14.12012],[53.98283, 14.11985],[53.98336, 14.11961],[53.9839, 14.11939],[53.98413, 14.11868],[53.98431, 14.11774],[53.9846, 14.11687],[53.98498, 14.11628],[53.98553, 14.11636],[53.98601, 14.11684],[53.98648, 14.11739],[53.98692, 14.11711],[53.98738, 14.1167],[53.98794, 14.11641],[53.98842, 14.11592],[53.98887, 14.11553],[53.9892, 14.11489],[53.9894, 14.11399],[53.98968, 14.11335],[53.99037, 14.11337],[53.9908, 14.11362],[53.99133, 14.11368],[53.99176, 14.11309],[53.99204, 14.11226],[53.99238, 14.11168],[53.99286, 14.11124],[53.99331, 14.11077],[53.9938, 14.11025],[53.99421, 14.1097],[53.99469, 14.10904],[53.99508, 14.10851],[53.99548, 14.10781],[53.99571, 14.10706],[53.99575, 14.10608],[53.99588, 14.10523],[53.9963, 14.10453],[53.99676, 14.1041],[53.99724, 14.10367],[53.99778, 14.10318],[53.99818, 14.1027],[53.99858, 14.10214],[53.9991, 14.1016],[53.9995, 14.10104],[53.99984, 14.10035],[54.00013, 14.09949],[54.00042, 14.09875],[54.00075, 14.09809],[54.00127, 14.09739],[54.00163, 14.09696],[54.00196, 14.09612],[54.00235, 14.09547],[54.00273, 14.09487],[54.00308, 14.09401],[54.00336, 14.0935],[54.00377, 14.09294],[54.00409, 14.09205],[54.00448, 14.09156],[54.00486, 14.09084],[54.00517, 14.0901],[54.0056, 14.08947],[54.00595, 14.08879],[54.00626, 14.0879],[54.0065, 14.08718],[54.00682, 14.08636],[54.00732, 14.08582],[54.00769, 14.08526],[54.00811, 14.08452],[54.00843, 14.08393],[54.00887, 14.08331],[54.00927, 14.08254],[54.00958, 14.08187],[54.00997, 14.08109],[54.0103, 14.08045],[54.01069, 14.07968],[54.01107, 14.07897],[54.01142, 14.07832],[54.01181, 14.07762],[54.01215, 14.07701],[54.01257, 14.07629],[54.01282, 14.07562],[54.01314, 14.07475],[54.0134, 14.07381],[54.01356, 14.07298],[54.01365, 14.07199],[54.01396, 14.07138],[54.0145, 14.07111],[54.01501, 14.07091],[54.01535, 14.07018],[54.0169, 14.0673],[54.01678, 14.06685],[54.01642, 14.06614],[54.01608, 14.06547],[54.01572, 14.06466],[54.01551, 14.06385],[54.01525, 14.06308],[54.01488, 14.06226],[54.01456, 14.06153],[54.01427, 14.06085],[54.01397, 14.06005],[54.01376, 14.05918],[54.0137, 14.05822],[54.0137, 14.05717],[54.01369, 14.05624],[54.01365, 14.05536],[54.01356, 14.05441],[54.01344, 14.05352],[54.01329, 14.05269],[54.01315, 14.0518],[54.01347, 14.05122],[54.01386, 14.05055],[54.01425, 14.04971],[54.01451, 14.04906],[54.01505, 14.04859],[54.01535, 14.048],[54.01518, 14.0474],[54.01491, 14.04676],[54.01486, 14.04597],[54.01453, 14.04513],[54.01413, 14.04517],[54.01381, 14.04436],[54.01366, 14.04356],[54.01368, 14.04278],[54.01326, 14.04276],[54.01274, 14.04317],[54.01239, 14.04334],[54.01194, 14.04272],[54.01154, 14.04196],[54.01126, 14.04117],[54.01116, 14.04027],[54.01107, 14.03944],[54.01108, 14.03966],[54.01114, 14.04053],[54.0113, 14.04139],[54.01165, 14.04222],[54.01197, 14.04292],[54.01241, 14.04326],[54.01292, 14.04303],[54.01342, 14.04265],[54.0138, 14.04317],[54.01412, 14.044],[54.01439, 14.0447],[54.01469, 14.04555],[54.01495, 14.04633],[54.0151, 14.04702],[54.01532, 14.04744],[54.01515, 14.04832],[54.01478, 14.04881],[54.01432, 14.04936],[54.01402, 14.0502],[54.01363, 14.05084],[54.01328, 14.05147],[54.01325, 14.05232],[54.0134, 14.05325],[54.01351, 14.05413],[54.01362, 14.05499],[54.01368, 14.05603],[54.01371, 14.05695],[54.01376, 14.05776],[54.0138, 14.05869],[54.01398, 14.05964],[54.0142, 14.0603],[54.01447, 14.06113],[54.01482, 14.06191],[54.01511, 14.0626],[54.01548, 14.06348],[54.01565, 14.0643],[54.01599, 14.06516],[54.01633, 14.06583],[54.0167, 14.06646],[54.01718, 14.06698],[54.01757, 14.06769],[54.01766, 14.06837],[54.01754, 14.06756],[54.01716, 14.06702],[54.01683, 14.06697],[54.01682, 14.06779],[54.01648, 14.06865],[54.01609, 14.06913],[54.01566, 14.06957],[54.01535, 14.0703],[54.01495, 14.07089],[54.0144, 14.07115],[54.01387, 14.07148],[54.01361, 14.07216],[54.0135, 14.07309],[54.01333, 14.07401],[54.01307, 14.07487],[54.01283, 14.07555],[54.0125, 14.07643],[54.01215, 14.07706],[54.01171, 14.07781],[54.01132, 14.07849],[54.01099, 14.07911],[54.01059, 14.07981],[54.01025, 14.08048],[54.00983, 14.08131],[54.00949, 14.08203],[54.00917, 14.08276],[54.00877, 14.08346],[54.00843, 14.08395],[54.00807, 14.08463],[54.00764, 14.08533],[54.00718, 14.08595],[54.00673, 14.08652],[54.00648, 14.08721],[54.00618, 14.08809],[54.00586, 14.08892],[54.00553, 14.08953],[54.00513, 14.09011],[54.00486, 14.09082],[54.0044, 14.09161],[54.00401, 14.09207],[54.00377, 14.09286],[54.0034, 14.09346],[54.00304, 14.09414],[54.00273, 14.0948],[54.00228, 14.09547],[54.00195, 14.09617],[54.00158, 14.09701],[54.00112, 14.09757],[54.00072, 14.0981],[54.00041, 14.09882],[54.00013, 14.09953],[53.99981, 14.1004],[53.99947, 14.10107],[53.99901, 14.10167],[53.99852, 14.10224],[53.99807, 14.10286],[53.99767, 14.10333],[53.99719, 14.10377],[53.99663, 14.1042],[53.99622, 14.10458],[53.99583, 14.10522],[53.99573, 14.10614],[53.99567, 14.10716],[53.99538, 14.10798],[53.99501, 14.10865],[53.99456, 14.10925],[53.99411, 14.10986],[53.99367, 14.11036],[53.99327, 14.11082],[53.99281, 14.11132],[53.99243, 14.11176],[53.99208, 14.11242],[53.99174, 14.11336],[53.99124, 14.11362],[53.99076, 14.11354],[53.99028, 14.11332],[53.98967, 14.11344],[53.98946, 14.11411],[53.9892, 14.11501],[53.98887, 14.11559],[53.98829, 14.11608],[53.98787, 14.11648],[53.98732, 14.11683],[53.98692, 14.11727],[53.9864, 14.11731],[53.98603, 14.11686],[53.98555, 14.1163],[53.98499, 14.11629],[53.98463, 14.11687],[53.98438, 14.11767],[53.98422, 14.11843],[53.98395, 14.11919],[53.98343, 14.11952],[53.98287, 14.11985],[53.98232, 14.1202],[53.98184, 14.1204],[53.98147, 14.12077],[53.98165, 14.12156],[53.98171, 14.12245],[53.9816, 14.12334],[53.98122, 14.12402],[53.98092, 14.12461],[53.98094, 14.12538],[53.98122, 14.12623],[53.98109, 14.12714],[53.98105, 14.12813],[53.98091, 14.12888],[53.98072, 14.12981],[53.98042, 14.13055],[53.98024, 14.13147],[53.98001, 14.1323],[53.97987, 14.13308],[53.97978, 14.13402],[53.97961, 14.13492],[53.97927, 14.13573],[53.97885, 14.13629],[53.97847, 14.13679],[53.97802, 14.13742],[53.97757, 14.13797],[53.97704, 14.13847],[53.97667, 14.13891],[53.97624, 14.13952],[53.97588, 14.14008],[53.97543, 14.14064],[53.97527, 14.14131],[53.97525, 14.14188],[53.9748, 14.14246],[53.97435, 14.14306],[53.97394, 14.14353],[53.97347, 14.14415],[53.97301, 14.14474],[53.97255, 14.14524],[53.97211, 14.14571],[53.97165, 14.14637],[53.97123, 14.14694],[53.97078, 14.14754],[53.97039, 14.14802],[53.96992, 14.14864],[53.96946, 14.14927],[53.96906, 14.14976],[53.96859, 14.15033],[53.96817, 14.15082],[53.9677, 14.15134],[53.96731, 14.15191],[53.96688, 14.1527],[53.96656, 14.15334],[53.96616, 14.15406],[53.96574, 14.15462],[53.96538, 14.15518],[53.96494, 14.15583],[53.96453, 14.15648],[53.96416, 14.15701],[53.96372, 14.15767],[53.96327, 14.15834],[53.96291, 14.1589],[53.96247, 14.15959],[53.96207, 14.16021],[53.96185, 14.16103],[53.96145, 14.1617],[53.96108, 14.16233],[53.96064, 14.16304],[53.96029, 14.1636],[53.95984, 14.16429],[53.95945, 14.16487],[53.95911, 14.16567],[53.95874, 14.1662],[53.95846, 14.16692],[53.95798, 14.16761],[53.95757, 14.1681],[53.95717, 14.16875],[53.95684, 14.16944],[53.95638, 14.16987],[53.95593, 14.17046],[53.95561, 14.17115],[53.95515, 14.17168],[53.95462, 14.17173],[53.95421, 14.1712],[53.95376, 14.17169],[53.95329, 14.17212],[53.95285, 14.17272],[53.95244, 14.17329],[53.95197, 14.17394],[53.95161, 14.17443],[53.95119, 14.17502],[53.95068, 14.17573],[53.95026, 14.17636],[53.94986, 14.17695],[53.94945, 14.17756],[53.94907, 14.17821],[53.9487, 14.17882],[53.94827, 14.17951],[53.94792, 14.18008],[53.94752, 14.18075],[53.94711, 14.18144],[53.94674, 14.18207],[53.94626, 14.18274],[53.94591, 14.18334],[53.94551, 14.18407],[53.94517, 14.18469],[53.94478, 14.18536],[53.9444, 14.18602],[53.944, 14.18672],[53.94367, 14.18729],[53.94326, 14.18799],[53.94283, 14.18858],[53.94247, 14.18922],[53.94213, 14.18995],[53.94169, 14.18996],[53.94131, 14.19035]
                                    ], { color: "blue", weight: 3, opacity: .7, lineJoin: "round" } ).addTo(map);
                                    </script>
                                    </body>
                                    </html>
                                    
                                    bahnuhrB 3 Replies Last reply
                                    0
                                    • K Kanumouse

                                      @bahnuhr
                                      Danke für den Tipp, das war mir schon klar .Das ist aber nicht die Ursache.
                                      Der Datenpunkt auf den der Link im widget verweist ändert sich, aber die map im widget ändert sich leider hinsichtlich des map-Mittelpunktes nicht. Die Routen werden in der map aber richtig angezeigt, nur ddie map muss man dann immer erst verschieben. Angezeigt wird die map immer mit Mittelpunkt (ca. 52.25, 14.41), obwohl bspw. in der html-Datei der richtige map-Mittelpunkt steht ( im Beispiel 53.21, 14.41).

                                      <!DOCTYPE html>
                                      <html>
                                      <head>
                                      <title>Simple Leaflet Map</title>
                                      <meta charset="utf-8" />
                                      <link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="crossorigin=""/></head>
                                      <body>
                                      <div id="map" style="width: 980px; height: 530px"></div>
                                      <script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="crossorigin=""></script>
                                      <script>
                                      var map = L.map('map').setView([53.25550348348861, 14.412522912025452], 13);
                                      mapLink = '<a href="http://openstreetmap.org">OpenStreetMap</a>';
                                      L.tileLayer( 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; ' + mapLink + ' Contributors', maxZoom: 18,}).addTo(map);
                                      var polyline = L.polyline([ 
                                      [53.94125, 14.19013],[53.94141, 14.19022],[53.94181, 14.19009],[53.94218, 14.18984],[53.94255, 14.18912],[53.94293, 14.18838],[53.94331, 14.18791],[53.94372, 14.18726],[53.94412, 14.18656],[53.94452, 14.18584],[53.94488, 14.18524],[53.94525, 14.1846],[53.94565, 14.18386],[53.94602, 14.18325],[53.94641, 14.18254],[53.94689, 14.18186],[53.94725, 14.18125],[53.94768, 14.18051],[53.94806, 14.17989],[53.94845, 14.17928],[53.94884, 14.17865],[53.94925, 14.17797],[53.94961, 14.1774],[53.95004, 14.17673],[53.95048, 14.1761],[53.9509, 14.17547],[53.95133, 14.17486],[53.95169, 14.17438],[53.95213, 14.17378],[53.95251, 14.17319],[53.95297, 14.17251],[53.95341, 14.172],[53.95391, 14.17158],[53.9544, 14.17137],[53.95489, 14.17189],[53.95535, 14.1715],[53.95578, 14.17097],[53.95609, 14.17026],[53.95653, 14.16975],[53.95705, 14.1693],[53.95723, 14.16861],[53.95767, 14.16802],[53.95818, 14.16737],[53.95854, 14.16685],[53.95887, 14.16607],[53.95923, 14.16542],[53.95957, 14.16471],[53.95996, 14.1641],[53.96037, 14.16347],[53.96078, 14.16283],[53.96118, 14.16219],[53.96159, 14.16152],[53.9619, 14.16082],[53.96219, 14.16006],[53.9626, 14.15945],[53.96299, 14.15881],[53.96341, 14.1582],[53.96386, 14.15751],[53.96428, 14.15688],[53.96467, 14.1563],[53.96513, 14.1556],[53.96551, 14.15503],[53.96589, 14.15446],[53.96632, 14.15383],[53.96669, 14.15312],[53.96707, 14.15244],[53.96749, 14.15172],[53.96791, 14.15116],[53.96835, 14.15065],[53.96881, 14.15013],[53.96926, 14.14955],[53.96964, 14.14905],[53.97014, 14.14843],[53.97055, 14.14791],[53.97101, 14.14728],[53.9714, 14.14676],[53.97184, 14.14619],[53.97227, 14.14559],[53.97276, 14.14509],[53.97316, 14.14456],[53.97364, 14.14397],[53.97406, 14.14347],[53.97452, 14.14293],[53.97496, 14.14233],[53.97539, 14.14182],[53.97519, 14.14116],[53.97554, 14.14057],[53.97601, 14.13997],[53.97635, 14.13947],[53.97669, 14.13876],[53.97718, 14.13846],[53.97757, 14.13793],[53.97803, 14.13745],[53.97853, 14.13671],[53.97894, 14.13625],[53.97933, 14.13555],[53.97964, 14.1349],[53.97979, 14.13404],[53.9799, 14.13295],[53.98003, 14.13225],[53.98028, 14.13133],[53.98048, 14.13038],[53.98072, 14.12971],[53.98093, 14.12877],[53.98104, 14.12798],[53.9811, 14.12704],[53.98119, 14.12609],[53.98083, 14.12554],[53.9808, 14.12479],[53.98119, 14.12414],[53.98164, 14.12338],[53.98171, 14.12263],[53.98154, 14.12173],[53.98135, 14.12075],[53.98183, 14.1204],[53.98232, 14.12012],[53.98283, 14.11985],[53.98336, 14.11961],[53.9839, 14.11939],[53.98413, 14.11868],[53.98431, 14.11774],[53.9846, 14.11687],[53.98498, 14.11628],[53.98553, 14.11636],[53.98601, 14.11684],[53.98648, 14.11739],[53.98692, 14.11711],[53.98738, 14.1167],[53.98794, 14.11641],[53.98842, 14.11592],[53.98887, 14.11553],[53.9892, 14.11489],[53.9894, 14.11399],[53.98968, 14.11335],[53.99037, 14.11337],[53.9908, 14.11362],[53.99133, 14.11368],[53.99176, 14.11309],[53.99204, 14.11226],[53.99238, 14.11168],[53.99286, 14.11124],[53.99331, 14.11077],[53.9938, 14.11025],[53.99421, 14.1097],[53.99469, 14.10904],[53.99508, 14.10851],[53.99548, 14.10781],[53.99571, 14.10706],[53.99575, 14.10608],[53.99588, 14.10523],[53.9963, 14.10453],[53.99676, 14.1041],[53.99724, 14.10367],[53.99778, 14.10318],[53.99818, 14.1027],[53.99858, 14.10214],[53.9991, 14.1016],[53.9995, 14.10104],[53.99984, 14.10035],[54.00013, 14.09949],[54.00042, 14.09875],[54.00075, 14.09809],[54.00127, 14.09739],[54.00163, 14.09696],[54.00196, 14.09612],[54.00235, 14.09547],[54.00273, 14.09487],[54.00308, 14.09401],[54.00336, 14.0935],[54.00377, 14.09294],[54.00409, 14.09205],[54.00448, 14.09156],[54.00486, 14.09084],[54.00517, 14.0901],[54.0056, 14.08947],[54.00595, 14.08879],[54.00626, 14.0879],[54.0065, 14.08718],[54.00682, 14.08636],[54.00732, 14.08582],[54.00769, 14.08526],[54.00811, 14.08452],[54.00843, 14.08393],[54.00887, 14.08331],[54.00927, 14.08254],[54.00958, 14.08187],[54.00997, 14.08109],[54.0103, 14.08045],[54.01069, 14.07968],[54.01107, 14.07897],[54.01142, 14.07832],[54.01181, 14.07762],[54.01215, 14.07701],[54.01257, 14.07629],[54.01282, 14.07562],[54.01314, 14.07475],[54.0134, 14.07381],[54.01356, 14.07298],[54.01365, 14.07199],[54.01396, 14.07138],[54.0145, 14.07111],[54.01501, 14.07091],[54.01535, 14.07018],[54.0169, 14.0673],[54.01678, 14.06685],[54.01642, 14.06614],[54.01608, 14.06547],[54.01572, 14.06466],[54.01551, 14.06385],[54.01525, 14.06308],[54.01488, 14.06226],[54.01456, 14.06153],[54.01427, 14.06085],[54.01397, 14.06005],[54.01376, 14.05918],[54.0137, 14.05822],[54.0137, 14.05717],[54.01369, 14.05624],[54.01365, 14.05536],[54.01356, 14.05441],[54.01344, 14.05352],[54.01329, 14.05269],[54.01315, 14.0518],[54.01347, 14.05122],[54.01386, 14.05055],[54.01425, 14.04971],[54.01451, 14.04906],[54.01505, 14.04859],[54.01535, 14.048],[54.01518, 14.0474],[54.01491, 14.04676],[54.01486, 14.04597],[54.01453, 14.04513],[54.01413, 14.04517],[54.01381, 14.04436],[54.01366, 14.04356],[54.01368, 14.04278],[54.01326, 14.04276],[54.01274, 14.04317],[54.01239, 14.04334],[54.01194, 14.04272],[54.01154, 14.04196],[54.01126, 14.04117],[54.01116, 14.04027],[54.01107, 14.03944],[54.01108, 14.03966],[54.01114, 14.04053],[54.0113, 14.04139],[54.01165, 14.04222],[54.01197, 14.04292],[54.01241, 14.04326],[54.01292, 14.04303],[54.01342, 14.04265],[54.0138, 14.04317],[54.01412, 14.044],[54.01439, 14.0447],[54.01469, 14.04555],[54.01495, 14.04633],[54.0151, 14.04702],[54.01532, 14.04744],[54.01515, 14.04832],[54.01478, 14.04881],[54.01432, 14.04936],[54.01402, 14.0502],[54.01363, 14.05084],[54.01328, 14.05147],[54.01325, 14.05232],[54.0134, 14.05325],[54.01351, 14.05413],[54.01362, 14.05499],[54.01368, 14.05603],[54.01371, 14.05695],[54.01376, 14.05776],[54.0138, 14.05869],[54.01398, 14.05964],[54.0142, 14.0603],[54.01447, 14.06113],[54.01482, 14.06191],[54.01511, 14.0626],[54.01548, 14.06348],[54.01565, 14.0643],[54.01599, 14.06516],[54.01633, 14.06583],[54.0167, 14.06646],[54.01718, 14.06698],[54.01757, 14.06769],[54.01766, 14.06837],[54.01754, 14.06756],[54.01716, 14.06702],[54.01683, 14.06697],[54.01682, 14.06779],[54.01648, 14.06865],[54.01609, 14.06913],[54.01566, 14.06957],[54.01535, 14.0703],[54.01495, 14.07089],[54.0144, 14.07115],[54.01387, 14.07148],[54.01361, 14.07216],[54.0135, 14.07309],[54.01333, 14.07401],[54.01307, 14.07487],[54.01283, 14.07555],[54.0125, 14.07643],[54.01215, 14.07706],[54.01171, 14.07781],[54.01132, 14.07849],[54.01099, 14.07911],[54.01059, 14.07981],[54.01025, 14.08048],[54.00983, 14.08131],[54.00949, 14.08203],[54.00917, 14.08276],[54.00877, 14.08346],[54.00843, 14.08395],[54.00807, 14.08463],[54.00764, 14.08533],[54.00718, 14.08595],[54.00673, 14.08652],[54.00648, 14.08721],[54.00618, 14.08809],[54.00586, 14.08892],[54.00553, 14.08953],[54.00513, 14.09011],[54.00486, 14.09082],[54.0044, 14.09161],[54.00401, 14.09207],[54.00377, 14.09286],[54.0034, 14.09346],[54.00304, 14.09414],[54.00273, 14.0948],[54.00228, 14.09547],[54.00195, 14.09617],[54.00158, 14.09701],[54.00112, 14.09757],[54.00072, 14.0981],[54.00041, 14.09882],[54.00013, 14.09953],[53.99981, 14.1004],[53.99947, 14.10107],[53.99901, 14.10167],[53.99852, 14.10224],[53.99807, 14.10286],[53.99767, 14.10333],[53.99719, 14.10377],[53.99663, 14.1042],[53.99622, 14.10458],[53.99583, 14.10522],[53.99573, 14.10614],[53.99567, 14.10716],[53.99538, 14.10798],[53.99501, 14.10865],[53.99456, 14.10925],[53.99411, 14.10986],[53.99367, 14.11036],[53.99327, 14.11082],[53.99281, 14.11132],[53.99243, 14.11176],[53.99208, 14.11242],[53.99174, 14.11336],[53.99124, 14.11362],[53.99076, 14.11354],[53.99028, 14.11332],[53.98967, 14.11344],[53.98946, 14.11411],[53.9892, 14.11501],[53.98887, 14.11559],[53.98829, 14.11608],[53.98787, 14.11648],[53.98732, 14.11683],[53.98692, 14.11727],[53.9864, 14.11731],[53.98603, 14.11686],[53.98555, 14.1163],[53.98499, 14.11629],[53.98463, 14.11687],[53.98438, 14.11767],[53.98422, 14.11843],[53.98395, 14.11919],[53.98343, 14.11952],[53.98287, 14.11985],[53.98232, 14.1202],[53.98184, 14.1204],[53.98147, 14.12077],[53.98165, 14.12156],[53.98171, 14.12245],[53.9816, 14.12334],[53.98122, 14.12402],[53.98092, 14.12461],[53.98094, 14.12538],[53.98122, 14.12623],[53.98109, 14.12714],[53.98105, 14.12813],[53.98091, 14.12888],[53.98072, 14.12981],[53.98042, 14.13055],[53.98024, 14.13147],[53.98001, 14.1323],[53.97987, 14.13308],[53.97978, 14.13402],[53.97961, 14.13492],[53.97927, 14.13573],[53.97885, 14.13629],[53.97847, 14.13679],[53.97802, 14.13742],[53.97757, 14.13797],[53.97704, 14.13847],[53.97667, 14.13891],[53.97624, 14.13952],[53.97588, 14.14008],[53.97543, 14.14064],[53.97527, 14.14131],[53.97525, 14.14188],[53.9748, 14.14246],[53.97435, 14.14306],[53.97394, 14.14353],[53.97347, 14.14415],[53.97301, 14.14474],[53.97255, 14.14524],[53.97211, 14.14571],[53.97165, 14.14637],[53.97123, 14.14694],[53.97078, 14.14754],[53.97039, 14.14802],[53.96992, 14.14864],[53.96946, 14.14927],[53.96906, 14.14976],[53.96859, 14.15033],[53.96817, 14.15082],[53.9677, 14.15134],[53.96731, 14.15191],[53.96688, 14.1527],[53.96656, 14.15334],[53.96616, 14.15406],[53.96574, 14.15462],[53.96538, 14.15518],[53.96494, 14.15583],[53.96453, 14.15648],[53.96416, 14.15701],[53.96372, 14.15767],[53.96327, 14.15834],[53.96291, 14.1589],[53.96247, 14.15959],[53.96207, 14.16021],[53.96185, 14.16103],[53.96145, 14.1617],[53.96108, 14.16233],[53.96064, 14.16304],[53.96029, 14.1636],[53.95984, 14.16429],[53.95945, 14.16487],[53.95911, 14.16567],[53.95874, 14.1662],[53.95846, 14.16692],[53.95798, 14.16761],[53.95757, 14.1681],[53.95717, 14.16875],[53.95684, 14.16944],[53.95638, 14.16987],[53.95593, 14.17046],[53.95561, 14.17115],[53.95515, 14.17168],[53.95462, 14.17173],[53.95421, 14.1712],[53.95376, 14.17169],[53.95329, 14.17212],[53.95285, 14.17272],[53.95244, 14.17329],[53.95197, 14.17394],[53.95161, 14.17443],[53.95119, 14.17502],[53.95068, 14.17573],[53.95026, 14.17636],[53.94986, 14.17695],[53.94945, 14.17756],[53.94907, 14.17821],[53.9487, 14.17882],[53.94827, 14.17951],[53.94792, 14.18008],[53.94752, 14.18075],[53.94711, 14.18144],[53.94674, 14.18207],[53.94626, 14.18274],[53.94591, 14.18334],[53.94551, 14.18407],[53.94517, 14.18469],[53.94478, 14.18536],[53.9444, 14.18602],[53.944, 14.18672],[53.94367, 14.18729],[53.94326, 14.18799],[53.94283, 14.18858],[53.94247, 14.18922],[53.94213, 14.18995],[53.94169, 14.18996],[53.94131, 14.19035]
                                      ], { color: "blue", weight: 3, opacity: .7, lineJoin: "round" } ).addTo(map);
                                      </script>
                                      </body>
                                      </html>
                                      
                                      bahnuhrB Online
                                      bahnuhrB Online
                                      bahnuhr
                                      Forum Testing Most Active
                                      wrote on last edited by
                                      #82

                                      @kanumouse
                                      Na, dann zeig doch mal deine html Dateien.

                                      Einmal die, die beim Start richtig ist.
                                      Und dann die, die du änderst und dann falsch angezeigt wird.

                                      Hast du fitbounds drin ?


                                      Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                                      Danke.
                                      gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                                      ScreenToGif :https://www.screentogif.com/downloads.html

                                      1 Reply Last reply
                                      0
                                      • K Kanumouse

                                        @bahnuhr
                                        Danke für den Tipp, das war mir schon klar .Das ist aber nicht die Ursache.
                                        Der Datenpunkt auf den der Link im widget verweist ändert sich, aber die map im widget ändert sich leider hinsichtlich des map-Mittelpunktes nicht. Die Routen werden in der map aber richtig angezeigt, nur ddie map muss man dann immer erst verschieben. Angezeigt wird die map immer mit Mittelpunkt (ca. 52.25, 14.41), obwohl bspw. in der html-Datei der richtige map-Mittelpunkt steht ( im Beispiel 53.21, 14.41).

                                        <!DOCTYPE html>
                                        <html>
                                        <head>
                                        <title>Simple Leaflet Map</title>
                                        <meta charset="utf-8" />
                                        <link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="crossorigin=""/></head>
                                        <body>
                                        <div id="map" style="width: 980px; height: 530px"></div>
                                        <script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="crossorigin=""></script>
                                        <script>
                                        var map = L.map('map').setView([53.25550348348861, 14.412522912025452], 13);
                                        mapLink = '<a href="http://openstreetmap.org">OpenStreetMap</a>';
                                        L.tileLayer( 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; ' + mapLink + ' Contributors', maxZoom: 18,}).addTo(map);
                                        var polyline = L.polyline([ 
                                        [53.94125, 14.19013],[53.94141, 14.19022],[53.94181, 14.19009],[53.94218, 14.18984],[53.94255, 14.18912],[53.94293, 14.18838],[53.94331, 14.18791],[53.94372, 14.18726],[53.94412, 14.18656],[53.94452, 14.18584],[53.94488, 14.18524],[53.94525, 14.1846],[53.94565, 14.18386],[53.94602, 14.18325],[53.94641, 14.18254],[53.94689, 14.18186],[53.94725, 14.18125],[53.94768, 14.18051],[53.94806, 14.17989],[53.94845, 14.17928],[53.94884, 14.17865],[53.94925, 14.17797],[53.94961, 14.1774],[53.95004, 14.17673],[53.95048, 14.1761],[53.9509, 14.17547],[53.95133, 14.17486],[53.95169, 14.17438],[53.95213, 14.17378],[53.95251, 14.17319],[53.95297, 14.17251],[53.95341, 14.172],[53.95391, 14.17158],[53.9544, 14.17137],[53.95489, 14.17189],[53.95535, 14.1715],[53.95578, 14.17097],[53.95609, 14.17026],[53.95653, 14.16975],[53.95705, 14.1693],[53.95723, 14.16861],[53.95767, 14.16802],[53.95818, 14.16737],[53.95854, 14.16685],[53.95887, 14.16607],[53.95923, 14.16542],[53.95957, 14.16471],[53.95996, 14.1641],[53.96037, 14.16347],[53.96078, 14.16283],[53.96118, 14.16219],[53.96159, 14.16152],[53.9619, 14.16082],[53.96219, 14.16006],[53.9626, 14.15945],[53.96299, 14.15881],[53.96341, 14.1582],[53.96386, 14.15751],[53.96428, 14.15688],[53.96467, 14.1563],[53.96513, 14.1556],[53.96551, 14.15503],[53.96589, 14.15446],[53.96632, 14.15383],[53.96669, 14.15312],[53.96707, 14.15244],[53.96749, 14.15172],[53.96791, 14.15116],[53.96835, 14.15065],[53.96881, 14.15013],[53.96926, 14.14955],[53.96964, 14.14905],[53.97014, 14.14843],[53.97055, 14.14791],[53.97101, 14.14728],[53.9714, 14.14676],[53.97184, 14.14619],[53.97227, 14.14559],[53.97276, 14.14509],[53.97316, 14.14456],[53.97364, 14.14397],[53.97406, 14.14347],[53.97452, 14.14293],[53.97496, 14.14233],[53.97539, 14.14182],[53.97519, 14.14116],[53.97554, 14.14057],[53.97601, 14.13997],[53.97635, 14.13947],[53.97669, 14.13876],[53.97718, 14.13846],[53.97757, 14.13793],[53.97803, 14.13745],[53.97853, 14.13671],[53.97894, 14.13625],[53.97933, 14.13555],[53.97964, 14.1349],[53.97979, 14.13404],[53.9799, 14.13295],[53.98003, 14.13225],[53.98028, 14.13133],[53.98048, 14.13038],[53.98072, 14.12971],[53.98093, 14.12877],[53.98104, 14.12798],[53.9811, 14.12704],[53.98119, 14.12609],[53.98083, 14.12554],[53.9808, 14.12479],[53.98119, 14.12414],[53.98164, 14.12338],[53.98171, 14.12263],[53.98154, 14.12173],[53.98135, 14.12075],[53.98183, 14.1204],[53.98232, 14.12012],[53.98283, 14.11985],[53.98336, 14.11961],[53.9839, 14.11939],[53.98413, 14.11868],[53.98431, 14.11774],[53.9846, 14.11687],[53.98498, 14.11628],[53.98553, 14.11636],[53.98601, 14.11684],[53.98648, 14.11739],[53.98692, 14.11711],[53.98738, 14.1167],[53.98794, 14.11641],[53.98842, 14.11592],[53.98887, 14.11553],[53.9892, 14.11489],[53.9894, 14.11399],[53.98968, 14.11335],[53.99037, 14.11337],[53.9908, 14.11362],[53.99133, 14.11368],[53.99176, 14.11309],[53.99204, 14.11226],[53.99238, 14.11168],[53.99286, 14.11124],[53.99331, 14.11077],[53.9938, 14.11025],[53.99421, 14.1097],[53.99469, 14.10904],[53.99508, 14.10851],[53.99548, 14.10781],[53.99571, 14.10706],[53.99575, 14.10608],[53.99588, 14.10523],[53.9963, 14.10453],[53.99676, 14.1041],[53.99724, 14.10367],[53.99778, 14.10318],[53.99818, 14.1027],[53.99858, 14.10214],[53.9991, 14.1016],[53.9995, 14.10104],[53.99984, 14.10035],[54.00013, 14.09949],[54.00042, 14.09875],[54.00075, 14.09809],[54.00127, 14.09739],[54.00163, 14.09696],[54.00196, 14.09612],[54.00235, 14.09547],[54.00273, 14.09487],[54.00308, 14.09401],[54.00336, 14.0935],[54.00377, 14.09294],[54.00409, 14.09205],[54.00448, 14.09156],[54.00486, 14.09084],[54.00517, 14.0901],[54.0056, 14.08947],[54.00595, 14.08879],[54.00626, 14.0879],[54.0065, 14.08718],[54.00682, 14.08636],[54.00732, 14.08582],[54.00769, 14.08526],[54.00811, 14.08452],[54.00843, 14.08393],[54.00887, 14.08331],[54.00927, 14.08254],[54.00958, 14.08187],[54.00997, 14.08109],[54.0103, 14.08045],[54.01069, 14.07968],[54.01107, 14.07897],[54.01142, 14.07832],[54.01181, 14.07762],[54.01215, 14.07701],[54.01257, 14.07629],[54.01282, 14.07562],[54.01314, 14.07475],[54.0134, 14.07381],[54.01356, 14.07298],[54.01365, 14.07199],[54.01396, 14.07138],[54.0145, 14.07111],[54.01501, 14.07091],[54.01535, 14.07018],[54.0169, 14.0673],[54.01678, 14.06685],[54.01642, 14.06614],[54.01608, 14.06547],[54.01572, 14.06466],[54.01551, 14.06385],[54.01525, 14.06308],[54.01488, 14.06226],[54.01456, 14.06153],[54.01427, 14.06085],[54.01397, 14.06005],[54.01376, 14.05918],[54.0137, 14.05822],[54.0137, 14.05717],[54.01369, 14.05624],[54.01365, 14.05536],[54.01356, 14.05441],[54.01344, 14.05352],[54.01329, 14.05269],[54.01315, 14.0518],[54.01347, 14.05122],[54.01386, 14.05055],[54.01425, 14.04971],[54.01451, 14.04906],[54.01505, 14.04859],[54.01535, 14.048],[54.01518, 14.0474],[54.01491, 14.04676],[54.01486, 14.04597],[54.01453, 14.04513],[54.01413, 14.04517],[54.01381, 14.04436],[54.01366, 14.04356],[54.01368, 14.04278],[54.01326, 14.04276],[54.01274, 14.04317],[54.01239, 14.04334],[54.01194, 14.04272],[54.01154, 14.04196],[54.01126, 14.04117],[54.01116, 14.04027],[54.01107, 14.03944],[54.01108, 14.03966],[54.01114, 14.04053],[54.0113, 14.04139],[54.01165, 14.04222],[54.01197, 14.04292],[54.01241, 14.04326],[54.01292, 14.04303],[54.01342, 14.04265],[54.0138, 14.04317],[54.01412, 14.044],[54.01439, 14.0447],[54.01469, 14.04555],[54.01495, 14.04633],[54.0151, 14.04702],[54.01532, 14.04744],[54.01515, 14.04832],[54.01478, 14.04881],[54.01432, 14.04936],[54.01402, 14.0502],[54.01363, 14.05084],[54.01328, 14.05147],[54.01325, 14.05232],[54.0134, 14.05325],[54.01351, 14.05413],[54.01362, 14.05499],[54.01368, 14.05603],[54.01371, 14.05695],[54.01376, 14.05776],[54.0138, 14.05869],[54.01398, 14.05964],[54.0142, 14.0603],[54.01447, 14.06113],[54.01482, 14.06191],[54.01511, 14.0626],[54.01548, 14.06348],[54.01565, 14.0643],[54.01599, 14.06516],[54.01633, 14.06583],[54.0167, 14.06646],[54.01718, 14.06698],[54.01757, 14.06769],[54.01766, 14.06837],[54.01754, 14.06756],[54.01716, 14.06702],[54.01683, 14.06697],[54.01682, 14.06779],[54.01648, 14.06865],[54.01609, 14.06913],[54.01566, 14.06957],[54.01535, 14.0703],[54.01495, 14.07089],[54.0144, 14.07115],[54.01387, 14.07148],[54.01361, 14.07216],[54.0135, 14.07309],[54.01333, 14.07401],[54.01307, 14.07487],[54.01283, 14.07555],[54.0125, 14.07643],[54.01215, 14.07706],[54.01171, 14.07781],[54.01132, 14.07849],[54.01099, 14.07911],[54.01059, 14.07981],[54.01025, 14.08048],[54.00983, 14.08131],[54.00949, 14.08203],[54.00917, 14.08276],[54.00877, 14.08346],[54.00843, 14.08395],[54.00807, 14.08463],[54.00764, 14.08533],[54.00718, 14.08595],[54.00673, 14.08652],[54.00648, 14.08721],[54.00618, 14.08809],[54.00586, 14.08892],[54.00553, 14.08953],[54.00513, 14.09011],[54.00486, 14.09082],[54.0044, 14.09161],[54.00401, 14.09207],[54.00377, 14.09286],[54.0034, 14.09346],[54.00304, 14.09414],[54.00273, 14.0948],[54.00228, 14.09547],[54.00195, 14.09617],[54.00158, 14.09701],[54.00112, 14.09757],[54.00072, 14.0981],[54.00041, 14.09882],[54.00013, 14.09953],[53.99981, 14.1004],[53.99947, 14.10107],[53.99901, 14.10167],[53.99852, 14.10224],[53.99807, 14.10286],[53.99767, 14.10333],[53.99719, 14.10377],[53.99663, 14.1042],[53.99622, 14.10458],[53.99583, 14.10522],[53.99573, 14.10614],[53.99567, 14.10716],[53.99538, 14.10798],[53.99501, 14.10865],[53.99456, 14.10925],[53.99411, 14.10986],[53.99367, 14.11036],[53.99327, 14.11082],[53.99281, 14.11132],[53.99243, 14.11176],[53.99208, 14.11242],[53.99174, 14.11336],[53.99124, 14.11362],[53.99076, 14.11354],[53.99028, 14.11332],[53.98967, 14.11344],[53.98946, 14.11411],[53.9892, 14.11501],[53.98887, 14.11559],[53.98829, 14.11608],[53.98787, 14.11648],[53.98732, 14.11683],[53.98692, 14.11727],[53.9864, 14.11731],[53.98603, 14.11686],[53.98555, 14.1163],[53.98499, 14.11629],[53.98463, 14.11687],[53.98438, 14.11767],[53.98422, 14.11843],[53.98395, 14.11919],[53.98343, 14.11952],[53.98287, 14.11985],[53.98232, 14.1202],[53.98184, 14.1204],[53.98147, 14.12077],[53.98165, 14.12156],[53.98171, 14.12245],[53.9816, 14.12334],[53.98122, 14.12402],[53.98092, 14.12461],[53.98094, 14.12538],[53.98122, 14.12623],[53.98109, 14.12714],[53.98105, 14.12813],[53.98091, 14.12888],[53.98072, 14.12981],[53.98042, 14.13055],[53.98024, 14.13147],[53.98001, 14.1323],[53.97987, 14.13308],[53.97978, 14.13402],[53.97961, 14.13492],[53.97927, 14.13573],[53.97885, 14.13629],[53.97847, 14.13679],[53.97802, 14.13742],[53.97757, 14.13797],[53.97704, 14.13847],[53.97667, 14.13891],[53.97624, 14.13952],[53.97588, 14.14008],[53.97543, 14.14064],[53.97527, 14.14131],[53.97525, 14.14188],[53.9748, 14.14246],[53.97435, 14.14306],[53.97394, 14.14353],[53.97347, 14.14415],[53.97301, 14.14474],[53.97255, 14.14524],[53.97211, 14.14571],[53.97165, 14.14637],[53.97123, 14.14694],[53.97078, 14.14754],[53.97039, 14.14802],[53.96992, 14.14864],[53.96946, 14.14927],[53.96906, 14.14976],[53.96859, 14.15033],[53.96817, 14.15082],[53.9677, 14.15134],[53.96731, 14.15191],[53.96688, 14.1527],[53.96656, 14.15334],[53.96616, 14.15406],[53.96574, 14.15462],[53.96538, 14.15518],[53.96494, 14.15583],[53.96453, 14.15648],[53.96416, 14.15701],[53.96372, 14.15767],[53.96327, 14.15834],[53.96291, 14.1589],[53.96247, 14.15959],[53.96207, 14.16021],[53.96185, 14.16103],[53.96145, 14.1617],[53.96108, 14.16233],[53.96064, 14.16304],[53.96029, 14.1636],[53.95984, 14.16429],[53.95945, 14.16487],[53.95911, 14.16567],[53.95874, 14.1662],[53.95846, 14.16692],[53.95798, 14.16761],[53.95757, 14.1681],[53.95717, 14.16875],[53.95684, 14.16944],[53.95638, 14.16987],[53.95593, 14.17046],[53.95561, 14.17115],[53.95515, 14.17168],[53.95462, 14.17173],[53.95421, 14.1712],[53.95376, 14.17169],[53.95329, 14.17212],[53.95285, 14.17272],[53.95244, 14.17329],[53.95197, 14.17394],[53.95161, 14.17443],[53.95119, 14.17502],[53.95068, 14.17573],[53.95026, 14.17636],[53.94986, 14.17695],[53.94945, 14.17756],[53.94907, 14.17821],[53.9487, 14.17882],[53.94827, 14.17951],[53.94792, 14.18008],[53.94752, 14.18075],[53.94711, 14.18144],[53.94674, 14.18207],[53.94626, 14.18274],[53.94591, 14.18334],[53.94551, 14.18407],[53.94517, 14.18469],[53.94478, 14.18536],[53.9444, 14.18602],[53.944, 14.18672],[53.94367, 14.18729],[53.94326, 14.18799],[53.94283, 14.18858],[53.94247, 14.18922],[53.94213, 14.18995],[53.94169, 14.18996],[53.94131, 14.19035]
                                        ], { color: "blue", weight: 3, opacity: .7, lineJoin: "round" } ).addTo(map);
                                        </script>
                                        </body>
                                        </html>
                                        
                                        bahnuhrB Online
                                        bahnuhrB Online
                                        bahnuhr
                                        Forum Testing Most Active
                                        wrote on last edited by
                                        #83

                                        @kanumouse sagte in maps mit Streckendarstellung:

                                        Der Datenpunkt auf den der Link im widget verweist ändert sich,

                                        Da bist du sicher.

                                        Der Eintrag im DP muss ! sich ändern; und nicht nur die dahinter liegende html Datei.


                                        Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                                        Danke.
                                        gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                                        ScreenToGif :https://www.screentogif.com/downloads.html

                                        1 Reply Last reply
                                        0
                                        • K Kanumouse

                                          @bahnuhr
                                          Danke für den Tipp, das war mir schon klar .Das ist aber nicht die Ursache.
                                          Der Datenpunkt auf den der Link im widget verweist ändert sich, aber die map im widget ändert sich leider hinsichtlich des map-Mittelpunktes nicht. Die Routen werden in der map aber richtig angezeigt, nur ddie map muss man dann immer erst verschieben. Angezeigt wird die map immer mit Mittelpunkt (ca. 52.25, 14.41), obwohl bspw. in der html-Datei der richtige map-Mittelpunkt steht ( im Beispiel 53.21, 14.41).

                                          <!DOCTYPE html>
                                          <html>
                                          <head>
                                          <title>Simple Leaflet Map</title>
                                          <meta charset="utf-8" />
                                          <link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="crossorigin=""/></head>
                                          <body>
                                          <div id="map" style="width: 980px; height: 530px"></div>
                                          <script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="crossorigin=""></script>
                                          <script>
                                          var map = L.map('map').setView([53.25550348348861, 14.412522912025452], 13);
                                          mapLink = '<a href="http://openstreetmap.org">OpenStreetMap</a>';
                                          L.tileLayer( 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; ' + mapLink + ' Contributors', maxZoom: 18,}).addTo(map);
                                          var polyline = L.polyline([ 
                                          [53.94125, 14.19013],[53.94141, 14.19022],[53.94181, 14.19009],[53.94218, 14.18984],[53.94255, 14.18912],[53.94293, 14.18838],[53.94331, 14.18791],[53.94372, 14.18726],[53.94412, 14.18656],[53.94452, 14.18584],[53.94488, 14.18524],[53.94525, 14.1846],[53.94565, 14.18386],[53.94602, 14.18325],[53.94641, 14.18254],[53.94689, 14.18186],[53.94725, 14.18125],[53.94768, 14.18051],[53.94806, 14.17989],[53.94845, 14.17928],[53.94884, 14.17865],[53.94925, 14.17797],[53.94961, 14.1774],[53.95004, 14.17673],[53.95048, 14.1761],[53.9509, 14.17547],[53.95133, 14.17486],[53.95169, 14.17438],[53.95213, 14.17378],[53.95251, 14.17319],[53.95297, 14.17251],[53.95341, 14.172],[53.95391, 14.17158],[53.9544, 14.17137],[53.95489, 14.17189],[53.95535, 14.1715],[53.95578, 14.17097],[53.95609, 14.17026],[53.95653, 14.16975],[53.95705, 14.1693],[53.95723, 14.16861],[53.95767, 14.16802],[53.95818, 14.16737],[53.95854, 14.16685],[53.95887, 14.16607],[53.95923, 14.16542],[53.95957, 14.16471],[53.95996, 14.1641],[53.96037, 14.16347],[53.96078, 14.16283],[53.96118, 14.16219],[53.96159, 14.16152],[53.9619, 14.16082],[53.96219, 14.16006],[53.9626, 14.15945],[53.96299, 14.15881],[53.96341, 14.1582],[53.96386, 14.15751],[53.96428, 14.15688],[53.96467, 14.1563],[53.96513, 14.1556],[53.96551, 14.15503],[53.96589, 14.15446],[53.96632, 14.15383],[53.96669, 14.15312],[53.96707, 14.15244],[53.96749, 14.15172],[53.96791, 14.15116],[53.96835, 14.15065],[53.96881, 14.15013],[53.96926, 14.14955],[53.96964, 14.14905],[53.97014, 14.14843],[53.97055, 14.14791],[53.97101, 14.14728],[53.9714, 14.14676],[53.97184, 14.14619],[53.97227, 14.14559],[53.97276, 14.14509],[53.97316, 14.14456],[53.97364, 14.14397],[53.97406, 14.14347],[53.97452, 14.14293],[53.97496, 14.14233],[53.97539, 14.14182],[53.97519, 14.14116],[53.97554, 14.14057],[53.97601, 14.13997],[53.97635, 14.13947],[53.97669, 14.13876],[53.97718, 14.13846],[53.97757, 14.13793],[53.97803, 14.13745],[53.97853, 14.13671],[53.97894, 14.13625],[53.97933, 14.13555],[53.97964, 14.1349],[53.97979, 14.13404],[53.9799, 14.13295],[53.98003, 14.13225],[53.98028, 14.13133],[53.98048, 14.13038],[53.98072, 14.12971],[53.98093, 14.12877],[53.98104, 14.12798],[53.9811, 14.12704],[53.98119, 14.12609],[53.98083, 14.12554],[53.9808, 14.12479],[53.98119, 14.12414],[53.98164, 14.12338],[53.98171, 14.12263],[53.98154, 14.12173],[53.98135, 14.12075],[53.98183, 14.1204],[53.98232, 14.12012],[53.98283, 14.11985],[53.98336, 14.11961],[53.9839, 14.11939],[53.98413, 14.11868],[53.98431, 14.11774],[53.9846, 14.11687],[53.98498, 14.11628],[53.98553, 14.11636],[53.98601, 14.11684],[53.98648, 14.11739],[53.98692, 14.11711],[53.98738, 14.1167],[53.98794, 14.11641],[53.98842, 14.11592],[53.98887, 14.11553],[53.9892, 14.11489],[53.9894, 14.11399],[53.98968, 14.11335],[53.99037, 14.11337],[53.9908, 14.11362],[53.99133, 14.11368],[53.99176, 14.11309],[53.99204, 14.11226],[53.99238, 14.11168],[53.99286, 14.11124],[53.99331, 14.11077],[53.9938, 14.11025],[53.99421, 14.1097],[53.99469, 14.10904],[53.99508, 14.10851],[53.99548, 14.10781],[53.99571, 14.10706],[53.99575, 14.10608],[53.99588, 14.10523],[53.9963, 14.10453],[53.99676, 14.1041],[53.99724, 14.10367],[53.99778, 14.10318],[53.99818, 14.1027],[53.99858, 14.10214],[53.9991, 14.1016],[53.9995, 14.10104],[53.99984, 14.10035],[54.00013, 14.09949],[54.00042, 14.09875],[54.00075, 14.09809],[54.00127, 14.09739],[54.00163, 14.09696],[54.00196, 14.09612],[54.00235, 14.09547],[54.00273, 14.09487],[54.00308, 14.09401],[54.00336, 14.0935],[54.00377, 14.09294],[54.00409, 14.09205],[54.00448, 14.09156],[54.00486, 14.09084],[54.00517, 14.0901],[54.0056, 14.08947],[54.00595, 14.08879],[54.00626, 14.0879],[54.0065, 14.08718],[54.00682, 14.08636],[54.00732, 14.08582],[54.00769, 14.08526],[54.00811, 14.08452],[54.00843, 14.08393],[54.00887, 14.08331],[54.00927, 14.08254],[54.00958, 14.08187],[54.00997, 14.08109],[54.0103, 14.08045],[54.01069, 14.07968],[54.01107, 14.07897],[54.01142, 14.07832],[54.01181, 14.07762],[54.01215, 14.07701],[54.01257, 14.07629],[54.01282, 14.07562],[54.01314, 14.07475],[54.0134, 14.07381],[54.01356, 14.07298],[54.01365, 14.07199],[54.01396, 14.07138],[54.0145, 14.07111],[54.01501, 14.07091],[54.01535, 14.07018],[54.0169, 14.0673],[54.01678, 14.06685],[54.01642, 14.06614],[54.01608, 14.06547],[54.01572, 14.06466],[54.01551, 14.06385],[54.01525, 14.06308],[54.01488, 14.06226],[54.01456, 14.06153],[54.01427, 14.06085],[54.01397, 14.06005],[54.01376, 14.05918],[54.0137, 14.05822],[54.0137, 14.05717],[54.01369, 14.05624],[54.01365, 14.05536],[54.01356, 14.05441],[54.01344, 14.05352],[54.01329, 14.05269],[54.01315, 14.0518],[54.01347, 14.05122],[54.01386, 14.05055],[54.01425, 14.04971],[54.01451, 14.04906],[54.01505, 14.04859],[54.01535, 14.048],[54.01518, 14.0474],[54.01491, 14.04676],[54.01486, 14.04597],[54.01453, 14.04513],[54.01413, 14.04517],[54.01381, 14.04436],[54.01366, 14.04356],[54.01368, 14.04278],[54.01326, 14.04276],[54.01274, 14.04317],[54.01239, 14.04334],[54.01194, 14.04272],[54.01154, 14.04196],[54.01126, 14.04117],[54.01116, 14.04027],[54.01107, 14.03944],[54.01108, 14.03966],[54.01114, 14.04053],[54.0113, 14.04139],[54.01165, 14.04222],[54.01197, 14.04292],[54.01241, 14.04326],[54.01292, 14.04303],[54.01342, 14.04265],[54.0138, 14.04317],[54.01412, 14.044],[54.01439, 14.0447],[54.01469, 14.04555],[54.01495, 14.04633],[54.0151, 14.04702],[54.01532, 14.04744],[54.01515, 14.04832],[54.01478, 14.04881],[54.01432, 14.04936],[54.01402, 14.0502],[54.01363, 14.05084],[54.01328, 14.05147],[54.01325, 14.05232],[54.0134, 14.05325],[54.01351, 14.05413],[54.01362, 14.05499],[54.01368, 14.05603],[54.01371, 14.05695],[54.01376, 14.05776],[54.0138, 14.05869],[54.01398, 14.05964],[54.0142, 14.0603],[54.01447, 14.06113],[54.01482, 14.06191],[54.01511, 14.0626],[54.01548, 14.06348],[54.01565, 14.0643],[54.01599, 14.06516],[54.01633, 14.06583],[54.0167, 14.06646],[54.01718, 14.06698],[54.01757, 14.06769],[54.01766, 14.06837],[54.01754, 14.06756],[54.01716, 14.06702],[54.01683, 14.06697],[54.01682, 14.06779],[54.01648, 14.06865],[54.01609, 14.06913],[54.01566, 14.06957],[54.01535, 14.0703],[54.01495, 14.07089],[54.0144, 14.07115],[54.01387, 14.07148],[54.01361, 14.07216],[54.0135, 14.07309],[54.01333, 14.07401],[54.01307, 14.07487],[54.01283, 14.07555],[54.0125, 14.07643],[54.01215, 14.07706],[54.01171, 14.07781],[54.01132, 14.07849],[54.01099, 14.07911],[54.01059, 14.07981],[54.01025, 14.08048],[54.00983, 14.08131],[54.00949, 14.08203],[54.00917, 14.08276],[54.00877, 14.08346],[54.00843, 14.08395],[54.00807, 14.08463],[54.00764, 14.08533],[54.00718, 14.08595],[54.00673, 14.08652],[54.00648, 14.08721],[54.00618, 14.08809],[54.00586, 14.08892],[54.00553, 14.08953],[54.00513, 14.09011],[54.00486, 14.09082],[54.0044, 14.09161],[54.00401, 14.09207],[54.00377, 14.09286],[54.0034, 14.09346],[54.00304, 14.09414],[54.00273, 14.0948],[54.00228, 14.09547],[54.00195, 14.09617],[54.00158, 14.09701],[54.00112, 14.09757],[54.00072, 14.0981],[54.00041, 14.09882],[54.00013, 14.09953],[53.99981, 14.1004],[53.99947, 14.10107],[53.99901, 14.10167],[53.99852, 14.10224],[53.99807, 14.10286],[53.99767, 14.10333],[53.99719, 14.10377],[53.99663, 14.1042],[53.99622, 14.10458],[53.99583, 14.10522],[53.99573, 14.10614],[53.99567, 14.10716],[53.99538, 14.10798],[53.99501, 14.10865],[53.99456, 14.10925],[53.99411, 14.10986],[53.99367, 14.11036],[53.99327, 14.11082],[53.99281, 14.11132],[53.99243, 14.11176],[53.99208, 14.11242],[53.99174, 14.11336],[53.99124, 14.11362],[53.99076, 14.11354],[53.99028, 14.11332],[53.98967, 14.11344],[53.98946, 14.11411],[53.9892, 14.11501],[53.98887, 14.11559],[53.98829, 14.11608],[53.98787, 14.11648],[53.98732, 14.11683],[53.98692, 14.11727],[53.9864, 14.11731],[53.98603, 14.11686],[53.98555, 14.1163],[53.98499, 14.11629],[53.98463, 14.11687],[53.98438, 14.11767],[53.98422, 14.11843],[53.98395, 14.11919],[53.98343, 14.11952],[53.98287, 14.11985],[53.98232, 14.1202],[53.98184, 14.1204],[53.98147, 14.12077],[53.98165, 14.12156],[53.98171, 14.12245],[53.9816, 14.12334],[53.98122, 14.12402],[53.98092, 14.12461],[53.98094, 14.12538],[53.98122, 14.12623],[53.98109, 14.12714],[53.98105, 14.12813],[53.98091, 14.12888],[53.98072, 14.12981],[53.98042, 14.13055],[53.98024, 14.13147],[53.98001, 14.1323],[53.97987, 14.13308],[53.97978, 14.13402],[53.97961, 14.13492],[53.97927, 14.13573],[53.97885, 14.13629],[53.97847, 14.13679],[53.97802, 14.13742],[53.97757, 14.13797],[53.97704, 14.13847],[53.97667, 14.13891],[53.97624, 14.13952],[53.97588, 14.14008],[53.97543, 14.14064],[53.97527, 14.14131],[53.97525, 14.14188],[53.9748, 14.14246],[53.97435, 14.14306],[53.97394, 14.14353],[53.97347, 14.14415],[53.97301, 14.14474],[53.97255, 14.14524],[53.97211, 14.14571],[53.97165, 14.14637],[53.97123, 14.14694],[53.97078, 14.14754],[53.97039, 14.14802],[53.96992, 14.14864],[53.96946, 14.14927],[53.96906, 14.14976],[53.96859, 14.15033],[53.96817, 14.15082],[53.9677, 14.15134],[53.96731, 14.15191],[53.96688, 14.1527],[53.96656, 14.15334],[53.96616, 14.15406],[53.96574, 14.15462],[53.96538, 14.15518],[53.96494, 14.15583],[53.96453, 14.15648],[53.96416, 14.15701],[53.96372, 14.15767],[53.96327, 14.15834],[53.96291, 14.1589],[53.96247, 14.15959],[53.96207, 14.16021],[53.96185, 14.16103],[53.96145, 14.1617],[53.96108, 14.16233],[53.96064, 14.16304],[53.96029, 14.1636],[53.95984, 14.16429],[53.95945, 14.16487],[53.95911, 14.16567],[53.95874, 14.1662],[53.95846, 14.16692],[53.95798, 14.16761],[53.95757, 14.1681],[53.95717, 14.16875],[53.95684, 14.16944],[53.95638, 14.16987],[53.95593, 14.17046],[53.95561, 14.17115],[53.95515, 14.17168],[53.95462, 14.17173],[53.95421, 14.1712],[53.95376, 14.17169],[53.95329, 14.17212],[53.95285, 14.17272],[53.95244, 14.17329],[53.95197, 14.17394],[53.95161, 14.17443],[53.95119, 14.17502],[53.95068, 14.17573],[53.95026, 14.17636],[53.94986, 14.17695],[53.94945, 14.17756],[53.94907, 14.17821],[53.9487, 14.17882],[53.94827, 14.17951],[53.94792, 14.18008],[53.94752, 14.18075],[53.94711, 14.18144],[53.94674, 14.18207],[53.94626, 14.18274],[53.94591, 14.18334],[53.94551, 14.18407],[53.94517, 14.18469],[53.94478, 14.18536],[53.9444, 14.18602],[53.944, 14.18672],[53.94367, 14.18729],[53.94326, 14.18799],[53.94283, 14.18858],[53.94247, 14.18922],[53.94213, 14.18995],[53.94169, 14.18996],[53.94131, 14.19035]
                                          ], { color: "blue", weight: 3, opacity: .7, lineJoin: "round" } ).addTo(map);
                                          </script>
                                          </body>
                                          </html>
                                          
                                          bahnuhrB Online
                                          bahnuhrB Online
                                          bahnuhr
                                          Forum Testing Most Active
                                          wrote on last edited by
                                          #84

                                          @kanumouse

                                          Nachtrag:
                                          Wenn ich deine Daten von oben in eine html speichere, dann sehe ich gar keine Linie !

                                          e98c1656-3b71-46e4-94a2-2172339fc378-image.png


                                          Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                                          Danke.
                                          gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                                          ScreenToGif :https://www.screentogif.com/downloads.html

                                          K 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          533

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe