Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. ...nicht in offiziellem Repo
  5. Test iobroker.vis-mapwidgets

NEWS

  • wichtiges UPDATE für controller 7.2.2 im stable
    HomoranH
    Homoran
    10
    1
    2.5k

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    16
    1
    4.4k

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    3.8k

Test iobroker.vis-mapwidgets

Geplant Angeheftet Gesperrt Verschoben ...nicht in offiziellem Repo
61 Beiträge 4 Kommentatoren 5.0k Aufrufe 8 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • icebearI icebear

    @oliverio so sieht mein json jetzt für heute aus. War allerdings auch nur eine Fahrt kurz hin und wieder zurück.

    Wie müsste denn jetzt noch die Zeit für den History-Teil da eingebaut werden?

    {
      "marker": [
        {
          "latlng": [
            50.7257667,
            6.5613029
          ],
          "options": {
            "icon": "honda",
            "title": "Default"
          },
          "tooltip": "Hover me"
        }
      ],
      "icons": {
        "honda": {
          "iconUrl": "/vis-2.0/SmartHome/tanken/honda_sv1.png",
          "iconSize": [
            45,
            30
          ],
          "iconAnchor": [
            15,
            30
          ],
          "popupAnchor": [
            0,
            -26
          ],
          "shadowSize": [
            36,
            36
          ],
          "shadowAnchor": [
            15,
            30
          ]
        }
      },
      "polyline": [
        {
          "latlng": [
            [
              50.725776,
              6.561582
            ],
            [
              50.7257647,
              6.5613146
            ],
            [
              50.7257207,
              6.5613834
            ],
            [
              50.7257204,
              6.561467
            ],
            [
              50.7257319,
              6.561467
            ],
            [
              50.7257348,
              6.5614284
            ],
            [
              50.7257402,
              6.5614092
            ],
            [
              50.7257427,
              6.5613879
            ],
            [
              50.725742,
              6.5613829
            ],
            [
              50.7257447,
              6.5613829
            ],
            [
              50.7257432,
              6.5613837
            ],
            [
              50.725747,
              6.5613837
            ],
            [
              50.7257438,
              6.5613733
            ],
            [
              50.725743,
              6.5613781
            ],
            [
              50.725744,
              6.5613673
            ],
            [
              50.7257428,
              6.561373
            ],
            [
              50.725742,
              6.561373
            ],
            [
              50.7257468,
              6.5613768
            ],
            [
              50.7257446,
              6.5613679
            ],
            [
              50.7257467,
              6.5613748
            ],
            [
              50.725748,
              6.5613692
            ],
            [
              50.7257463,
              6.5613692
            ],
            [
              50.7257446,
              6.5613656
            ],
            [
              50.725745,
              6.5613711
            ],
            [
              50.7257441,
              6.5613618
            ],
            [
              50.7257436,
              6.5613649
            ],
            [
              50.7257428,
              6.5613686
            ],
            [
              50.725742,
              6.561369
            ],
            [
              50.7257409,
              6.5613735
            ],
            [
              50.7257416,
              6.5613673
            ],
            [
              50.7257408,
              6.5613673
            ],
            [
              50.7257407,
              6.5613678
            ],
            [
              50.7257429,
              6.5613806
            ],
            [
              50.7257411,
              6.561372
            ],
            [
              50.7257406,
              6.5613626
            ],
            [
              50.7257422,
              6.5613626
            ],
            [
              50.7257418,
              6.5613609
            ],
            [
              50.7257413,
              6.5613619
            ],
            [
              50.7257407,
              6.5613542
            ],
            [
              50.7257438,
              6.5613542
            ],
            [
              50.7257431,
              6.5613678
            ],
            [
              50.7257468,
              6.5613686
            ],
            [
              50.7257469,
              6.5613686
            ],
            [
              50.7257497,
              6.5613687
            ],
            [
              50.72575,
              6.561365
            ],
            [
              50.7257491,
              6.561365
            ],
            [
              50.7257482,
              6.5613692
            ],
            [
              50.7257477,
              6.5613733
            ],
            [
              50.7257471,
              6.5613748
            ],
            [
              50.7257482,
              6.561377
            ],
            [
              50.7257468,
              6.5614157
            ],
            [
              50.7257514,
              6.5614157
            ],
            [
              50.725749,
              6.5614039
            ],
            [
              50.7257489,
              6.56141
            ],
            [
              50.7257473,
              6.5614041
            ],
            [
              50.7257468,
              6.5614041
            ],
            [
              50.7257461,
              6.5614057
            ],
            [
              50.7257445,
              6.5614074
            ],
            [
              50.7257434,
              6.5614128
            ],
            [
              50.7257436,
              6.561408
            ],
            [
              50.7257422,
              6.5614017
            ],
            [
              50.7257427,
              6.5614051
            ],
            [
              50.7257421,
              6.5613975
            ],
            [
              50.7257413,
              6.5613995
            ],
            [
              50.7257409,
              6.5614024
            ],
            [
              50.7257395,
              6.5614024
            ],
            [
              50.7257396,
              6.5613972
            ],
            [
              50.7257384,
              6.5613972
            ],
            [
              50.7257359,
              6.5613985
            ],
            [
              50.7257388,
              6.5614049
            ],
            [
              50.7257384,
              6.5613994
            ],
            [
              50.725737,
              6.5614041
            ],
            [
              50.7257366,
              6.5614041
            ],
            [
              50.7257349,
              6.5614109
            ],
            [
              50.7257352,
              6.5614109
            ],
            [
              50.7257338,
              6.5614133
            ],
            [
              50.7257353,
              6.5614392
            ],
            [
              50.7257392,
              6.5614392
            ],
            [
              50.7257419,
              6.5614275
            ],
            [
              50.7257422,
              6.5614228
            ],
            [
              50.7257416,
              6.5614271
            ],
            [
              50.7257412,
              6.5614271
            ],
            [
              50.7257407,
              6.561429
            ],
            [
              50.7257413,
              6.5614307
            ],
            [
              50.7257424,
              6.5614377
            ],
            [
              50.7257418,
              6.5614377
            ],
            [
              50.7257401,
              6.5614439
            ],
            [
              50.7257419,
              6.5614399
            ],
            [
              50.7257409,
              6.5614321
            ],
            [
              50.7257402,
              6.561436
            ],
            [
              50.7257399,
              6.561436
            ],
            [
              50.7257393,
              6.5614372
            ],
            [
              50.7257407,
              6.5614299
            ],
            [
              50.7257429,
              6.5614203
            ],
            [
              50.7257377,
              6.5614203
            ],
            [
              50.725737,
              6.5614126
            ],
            [
              50.7257362,
              6.5614123
            ],
            [
              50.7257358,
              6.5614123
            ],
            [
              50.7257363,
              6.5614096
            ],
            [
              50.7257341,
              6.5614096
            ],
            [
              50.7257319,
              6.5614153
            ],
            [
              50.7257363,
              6.5614193
            ],
            [
              50.7257359,
              6.5614119
            ],
            [
              50.7257356,
              6.5614119
            ],
            [
              50.7257353,
              6.5614131
            ],
            [
              50.7257349,
              6.5614152
            ],
            [
              50.7257362,
              6.5614157
            ],
            [
              50.7257349,
              6.5614068
            ],
            [
              50.7257353,
              6.5614111
            ],
            [
              50.7257346,
              6.5614008
            ],
            [
              50.725739,
              6.5613997
            ],
            [
              50.7257393,
              6.5613997
            ],
            [
              50.725739,
              6.5613992
            ],
            [
              50.7257363,
              6.5613934
            ],
            [
              50.72574,
              6.5614031
            ],
            [
              50.7257392,
              6.5614031
            ],
            [
              50.7257417,
              6.5614076
            ],
            [
              50.7257405,
              6.5614069
            ],
            [
              50.7257396,
              6.5614125
            ],
            [
              50.7257424,
              6.5614151
            ],
            [
              50.725744,
              6.5614022
            ],
            [
              50.7257581,
              6.5614032
            ],
            [
              50.7257593,
              6.5613376
            ],
            [
              50.7257635,
              6.5613264
            ],
            [
              50.7257306,
              6.5614412
            ],
            [
              50.7257217,
              6.5614586
            ],
            [
              50.725728,
              6.5614586
            ],
            [
              50.7257315,
              6.561444
            ],
            [
              50.725731,
              6.561436
            ],
            [
              50.7257306,
              6.561436
            ],
            [
              50.7257329,
              6.5614375
            ],
            [
              50.7257357,
              6.5614278
            ],
            [
              50.7257351,
              6.5614134
            ],
            [
              50.7257344,
              6.5614134
            ],
            [
              50.7257387,
              6.5614153
            ],
            [
              50.7257378,
              6.5614099
            ],
            [
              50.7257375,
              6.5614112
            ],
            [
              50.7257367,
              6.5614132
            ],
            [
              50.725737,
              6.5614122
            ],
            [
              50.7257362,
              6.5614046
            ],
            [
              50.7257404,
              6.5614073
            ],
            [
              50.7257394,
              6.5614021
            ],
            [
              50.7257426,
              6.5613998
            ],
            [
              50.7257408,
              6.5613998
            ],
            [
              50.7257405,
              6.5614048
            ],
            [
              50.7257408,
              6.5614009
            ],
            [
              50.7257392,
              6.5614009
            ],
            [
              50.7257404,
              6.5613923
            ],
            [
              50.7257391,
              6.5613947
            ],
            [
              50.7257394,
              6.5613947
            ],
            [
              50.7257389,
              6.5613895
            ],
            [
              50.7257397,
              6.5613916
            ],
            [
              50.7257393,
              6.5613871
            ],
            [
              50.7257368,
              6.5613881
            ],
            [
              50.7257365,
              6.5613841
            ],
            [
              50.7257327,
              6.5613837
            ],
            [
              50.7257365,
              6.5613996
            ],
            [
              50.7257348,
              6.5613932
            ],
            [
              50.7257357,
              6.5613918
            ],
            [
              50.7257376,
              6.5613918
            ],
            [
              50.7257374,
              6.5614121
            ],
            [
              50.7257346,
              6.5614133
            ],
            [
              50.7257384,
              6.561411
            ],
            [
              50.7257376,
              6.561398
            ],
            [
              50.7257422,
              6.561398
            ],
            [
              50.7257421,
              6.5613899
            ],
            [
              50.725744,
              6.5613899
            ],
            [
              50.7257434,
              6.5613867
            ],
            [
              50.7257429,
              6.5613929
            ],
            [
              50.7257459,
              6.5613929
            ],
            [
              50.7257438,
              6.5613856
            ],
            [
              50.7257433,
              6.5613884
            ],
            [
              50.7257431,
              6.5613884
            ],
            [
              50.7257422,
              6.5613889
            ],
            [
              50.7257424,
              6.5613936
            ],
            [
              50.7257449,
              6.5613921
            ],
            [
              50.725744,
              6.5613921
            ],
            [
              50.7257448,
              6.5613972
            ],
            [
              50.7257446,
              6.5613945
            ],
            [
              50.7257461,
              6.5613926
            ],
            [
              50.7257449,
              6.5613954
            ],
            [
              50.7257444,
              6.5613954
            ],
            [
              50.7257436,
              6.5613983
            ],
            [
              50.7257479,
              6.5613983
            ],
            [
              50.7257467,
              6.5613891
            ],
            [
              50.7257462,
              6.5613915
            ],
            [
              50.7257453,
              6.5613927
            ],
            [
              50.7257486,
              6.5613952
            ],
            [
              50.725748,
              6.5613858
            ],
            [
              50.725749,
              6.5613912
            ],
            [
              50.7257486,
              6.5613804
            ],
            [
              50.7257501,
              6.5613732
            ],
            [
              50.7257504,
              6.5613791
            ],
            [
              50.7257541,
              6.5613791
            ],
            [
              50.7257534,
              6.561379
            ],
            [
              50.725755,
              6.5613862
            ],
            [
              50.7257547,
              6.5614042
            ],
            [
              50.7257552,
              6.5613875
            ],
            [
              50.7257556,
              6.5613875
            ],
            [
              50.7257447,
              6.5613562
            ],
            [
              50.7257383,
              6.5614406
            ],
            [
              50.7257402,
              6.5614406
            ],
            [
              50.7257446,
              6.5614406
            ],
            [
              50.7257449,
              6.5614266
            ],
            [
              50.7257452,
              6.5614266
            ],
            [
              50.725746,
              6.5614259
            ],
            [
              50.7257492,
              6.5614198
            ],
            [
              50.7257467,
              6.5614137
            ],
            [
              50.7257466,
              6.561412
            ],
            [
              50.7257459,
              6.5614006
            ],
            [
              50.7257491,
              6.5613866
            ],
            [
              50.7257487,
              6.5613866
            ],
            [
              50.7257522,
              6.5613895
            ],
            [
              50.7257526,
              6.5613846
            ],
            [
              50.725752,
              6.5613857
            ],
            [
              50.7257521,
              6.5613847
            ],
            [
              50.7257522,
              6.5613847
            ],
            [
              50.7257518,
              6.5614007
            ],
            [
              50.7257544,
              6.5614044
            ],
            [
              50.7257541,
              6.5614022
            ],
            [
              50.7257561,
              6.5614058
            ],
            [
              50.7257509,
              6.5614016
            ],
            [
              50.7257508,
              6.5613935
            ],
            [
              50.7257486,
              6.5613921
            ],
            [
              50.7257483,
              6.5613958
            ],
            [
              50.7257475,
              6.5614044
            ],
            [
              50.725748,
              6.5614046
            ],
            [
              50.7257555,
              6.5614028
            ],
            [
              50.7257558,
              6.5613852
            ],
            [
              50.7257561,
              6.5613604
            ],
            [
              50.7257368,
              6.5613604
            ],
            [
              50.7257313,
              6.5614188
            ],
            [
              50.7257296,
              6.561446
            ],
            [
              50.7257301,
              6.561446
            ],
            [
              50.7257347,
              6.5614391
            ],
            [
              50.7257348,
              6.5614277
            ],
            [
              50.7257368,
              6.5614175
            ],
            [
              50.7257439,
              6.5614175
            ],
            [
              50.725747,
              6.5614036
            ],
            [
              50.7257453,
              6.5613959
            ],
            [
              50.7257465,
              6.5613996
            ],
            [
              50.7257456,
              6.5613977
            ],
            [
              50.7257451,
              6.5613931
            ],
            [
              50.7257485,
              6.5613878
            ],
            [
              50.725748,
              6.5613896
            ],
            [
              50.7257501,
              6.5613896
            ],
            [
              50.7257494,
              6.5613856
            ],
            [
              50.7257491,
              6.5613913
            ],
            [
              50.7257506,
              6.5613913
            ],
            [
              50.7257498,
              6.5613832
            ],
            [
              50.7257489,
              6.561385
            ],
            [
              50.7257469,
              6.5613964
            ],
            [
              50.7257477,
              6.5613964
            ],
            [
              50.7257448,
              6.5613857
            ],
            [
              50.7257457,
              6.5613899
            ],
            [
              50.7257448,
              6.5613819
            ],
            [
              50.7257437,
              6.561384
            ],
            [
              50.7257524,
              6.561384
            ],
            [
              50.7257569,
              6.5613642
            ],
            [
              50.7257613,
              6.5613476
            ],
            [
              50.7257631,
              6.5613419
            ],
            [
              50.7257658,
              6.5613391
            ],
            [
              50.7257669,
              6.5613111
            ],
            [
              50.7257663,
              6.5613067
            ],
            [
              50.7257685,
              6.5613077
            ],
            [
              50.7257624,
              6.5613259
            ],
            [
              50.7257387,
              6.5614651
            ],
            [
              50.7257379,
              6.5614698
            ],
            [
              50.725738,
              6.5614717
            ],
            [
              50.7257385,
              6.5614726
            ],
            [
              50.7257384,
              6.5614595
            ],
            [
              50.7257428,
              6.5614633
            ],
            [
              50.7257423,
              6.5614486
            ],
            [
              50.7257458,
              6.5614432
            ],
            [
              50.7257455,
              6.5614432
            ],
            [
              50.7257443,
              6.5614419
            ],
            [
              50.7257425,
              6.561444
            ],
            [
              50.7257416,
              6.5614491
            ],
            [
              50.7257425,
              6.5614491
            ],
            [
              50.7257409,
              6.5614236
            ],
            [
              50.7257396,
              6.5614236
            ],
            [
              50.7257389,
              6.5614285
            ],
            [
              50.725744,
              6.5614186
            ],
            [
              50.7257434,
              6.5614186
            ],
            [
              50.7257432,
              6.561423
            ],
            [
              50.7257444,
              6.561423
            ],
            [
              50.7257438,
              6.5614129
            ],
            [
              50.7257429,
              6.5614174
            ],
            [
              50.7257439,
              6.5614174
            ],
            [
              50.7257431,
              6.5614084
            ],
            [
              50.725742,
              6.5614142
            ],
            [
              50.7257458,
              6.5614142
            ],
            [
              50.7257446,
              6.5614059
            ],
            [
              50.7257426,
              6.5614022
            ],
            [
              50.7257432,
              6.5614093
            ],
            [
              50.7257414,
              6.5614039
            ],
            [
              50.7257407,
              6.5614039
            ],
            [
              50.7257435,
              6.5614086
            ],
            [
              50.7257422,
              6.5613997
            ],
            [
              50.7257404,
              6.5614047
            ],
            [
              50.7257458,
              6.5614076
            ],
            [
              50.725745,
              6.5613969
            ],
            [
              50.7257444,
              6.5613991
            ],
            [
              50.7257431,
              6.5613947
            ],
            [
              50.7257436,
              6.5613982
            ],
            [
              50.7257429,
              6.5613937
            ],
            [
              50.7257454,
              6.5613957
            ],
            [
              50.7257451,
              6.561394
            ],
            [
              50.725747,
              6.561394
            ],
            [
              50.7257465,
              6.5613935
            ],
            [
              50.7257477,
              6.5613935
            ],
            [
              50.725747,
              6.5613918
            ],
            [
              50.7257465,
              6.5613929
            ],
            [
              50.7257485,
              6.561394
            ],
            [
              50.7257486,
              6.5613917
            ],
            [
              50.7257407,
              6.5613917
            ],
            [
              50.7257384,
              6.5614159
            ],
            [
              50.7257389,
              6.5614159
            ],
            [
              50.7257378,
              6.5614044
            ],
            [
              50.7257373,
              6.561407
            ],
            [
              50.7257372,
              6.5614084
            ],
            [
              50.7257369,
              6.5614101
            ],
            [
              50.725735,
              6.5614015
            ],
            [
              50.725738,
              6.5614078
            ],
            [
              50.7257368,
              6.5614185
            ],
            [
              50.7257387,
              6.5614185
            ],
            [
              50.7257386,
              6.5614179
            ],
            [
              50.725738,
              6.5614185
            ],
            [
              50.7257388,
              6.5614198
            ],
            [
              50.7257378,
              6.5614107
            ],
            [
              50.7257367,
              6.5614107
            ],
            [
              50.7257365,
              6.5614128
            ],
            [
              50.7257396,
              6.561406
            ],
            [
              50.725744,
              6.561406
            ],
            [
              50.7257389,
              6.5614178
            ],
            [
              50.7257402,
              6.5614178
            ],
            [
              50.7257593,
              6.5614058
            ],
            [
              50.7257615,
              6.5613585
            ],
            [
              50.7257586,
              6.5613187
            ],
            [
              50.7257644,
              6.5613074
            ],
            [
              50.7257699,
              6.5613074
            ],
            [
              50.7257303,
              6.5613113
            ],
            [
              50.725725,
              6.561435
            ],
            [
              50.7257248,
              6.5614666
            ],
            [
              50.7257267,
              6.5614701
            ],
            [
              50.7257287,
              6.56146
            ],
            [
              50.7257283,
              6.5614508
            ],
            [
              50.7257279,
              6.5614506
            ],
            [
              50.725731,
              6.561452
            ],
            [
              50.7257375,
              6.5614382
            ],
            [
              50.7257477,
              6.5614256
            ],
            [
              50.7257458,
              6.5614016
            ],
            [
              50.7257469,
              6.5614011
            ],
            [
              50.7257453,
              6.5614011
            ],
            [
              50.7257445,
              6.5614032
            ],
            [
              50.7257423,
              6.5613973
            ],
            [
              50.7257396,
              6.5613973
            ],
            [
              50.7257423,
              6.5614018
            ],
            [
              50.7257399,
              6.5613955
            ],
            [
              50.7257411,
              6.5614012
            ],
            [
              50.7257478,
              6.5613771
            ],
            [
              50.7257533,
              6.5613693
            ],
            [
              50.7257551,
              6.5613693
            ],
            [
              50.725727,
              6.5613573
            ],
            [
              50.7257193,
              6.5614568
            ],
            [
              50.7257221,
              6.5614708
            ],
            [
              50.7257246,
              6.5614542
            ],
            [
              50.7257303,
              6.5614232
            ],
            [
              50.7257294,
              6.5614093
            ],
            [
              50.7257313,
              6.5614093
            ],
            [
              50.725731,
              6.5614019
            ],
            [
              50.7257307,
              6.5614035
            ],
            [
              50.725732,
              6.5614035
            ],
            [
              50.7257315,
              6.5613983
            ],
            [
              50.7257339,
              6.5614001
            ],
            [
              50.725733,
              6.5613956
            ],
            [
              50.7257371,
              6.5613954
            ],
            [
              50.7257367,
              6.5613954
            ],
            [
              50.7257375,
              6.5613983
            ],
            [
              50.7257376,
              6.5613978
            ],
            [
              50.7257385,
              6.5613978
            ],
            [
              50.7257383,
              6.5613975
            ],
            [
              50.7257451,
              6.5613982
            ],
            [
              50.725748,
              6.5613847
            ],
            [
              50.7257523,
              6.5613716
            ],
            [
              50.7257506,
              6.5613573
            ],
            [
              50.725755,
              6.5613484
            ],
            [
              50.7257468,
              6.56135
            ],
            [
              50.7257689,
              6.5613794
            ],
            [
              50.7257417,
              6.5615331
            ],
            [
              50.7257403,
              6.5614858
            ],
            [
              50.7257448,
              6.5614904
            ],
            [
              50.7257432,
              6.561474
            ],
            [
              50.725744,
              6.5614434
            ],
            [
              50.725743,
              6.5614434
            ],
            [
              50.7257422,
              6.5614587
            ],
            [
              50.7257392,
              6.5614587
            ],
            [
              50.7257395,
              6.5614752
            ],
            [
              50.7257392,
              6.5614752
            ],
            [
              50.7257398,
              6.5614788
            ],
            [
              50.7257396,
              6.5614642
            ],
            [
              50.7257391,
              6.5614645
            ],
            [
              50.7257384,
              6.5614557
            ],
            [
              50.7257378,
              6.5614557
            ],
            [
              50.7257358,
              6.561444
            ],
            [
              50.7257354,
              6.561453
            ],
            [
              50.7257394,
              6.561453
            ],
            [
              50.7257393,
              6.561443
            ],
            [
              50.72574,
              6.561437
            ],
            [
              50.725739,
              6.561437
            ],
            [
              50.7257399,
              6.5614303
            ],
            [
              50.725739,
              6.5614303
            ],
            [
              50.7257401,
              6.5614258
            ],
            [
              50.7257389,
              6.5614258
            ],
            [
              50.7257433,
              6.5614334
            ],
            [
              50.7257432,
              6.5614236
            ],
            [
              50.7257456,
              6.5614293
            ],
            [
              50.7257462,
              6.56142
            ],
            [
              50.7257449,
              6.5614176
            ],
            [
              50.7257464,
              6.5614176
            ],
            [
              50.7257461,
              6.5614168
            ],
            [
              50.7257501,
              6.561429
            ],
            [
              50.7257508,
              6.561418
            ],
            [
              50.7257489,
              6.5614169
            ],
            [
              50.7257495,
              6.5614239
            ],
            [
              50.725749,
              6.5614129
            ],
            [
              50.7257469,
              6.5614136
            ],
            [
              50.7257467,
              6.5614213
            ],
            [
              50.7257472,
              6.5614229
            ],
            [
              50.725747,
              6.5614119
            ],
            [
              50.7257461,
              6.5614123
            ],
            [
              50.7257463,
              6.561423
            ],
            [
              50.725747,
              6.561423
            ],
            [
              50.7257468,
              6.5614099
            ],
            [
              50.7257465,
              6.5614114
            ],
            [
              50.7257609,
              6.5613188
            ],
            [
              50.7257627,
              6.5613188
            ],
            [
              50.7257685,
              6.5612957
            ],
            [
              50.7257736,
              6.5613061
            ],
            [
              50.7257674,
              6.5613111
            ],
            [
              50.7257669,
              6.5613045
            ],
            [
              50.7257467,
              6.5613433
            ],
            [
              50.7257301,
              6.5614297
            ],
            [
              50.7257298,
              6.5614595
            ],
            [
              50.7257309,
              6.5614595
            ],
            [
              50.7257306,
              6.5614484
            ],
            [
              50.7257318,
              6.561448
            ],
            [
              50.7257311,
              6.5614421
            ],
            [
              50.725731,
              6.5614463
            ],
            [
              50.7257307,
              6.5614463
            ],
            [
              50.7257323,
              6.5614462
            ],
            [
              50.7257318,
              6.5614329
            ],
            [
              50.7257315,
              6.5614325
            ],
            [
              50.7257371,
              6.561426
            ],
            [
              50.725737,
              6.561426
            ],
            [
              50.7257363,
              6.5614275
            ],
            [
              50.7257349,
              6.5614221
            ],
            [
              50.7257358,
              6.5613988
            ],
            [
              50.7257376,
              6.5613988
            ],
            [
              50.725743,
              6.5614017
            ],
            [
              50.7257423,
              6.5613947
            ],
            [
              50.7257405,
              6.5613954
            ],
            [
              50.7257406,
              6.5613906
            ],
            [
              50.7257375,
              6.5613906
            ],
            [
              50.7257426,
              6.5613935
            ],
            [
              50.7257427,
              6.5613881
            ],
            [
              50.7257429,
              6.5613907
            ],
            [
              50.7257423,
              6.5613936
            ],
            [
              50.7257416,
              6.5613875
            ],
            [
              50.7257399,
              6.5613883
            ],
            [
              50.7257389,
              6.5613848
            ],
            [
              50.7257383,
              6.5613907
            ],
            [
              50.7257384,
              6.5613907
            ],
            [
              50.7257377,
              6.5613826
            ],
            [
              50.7257359,
              6.5613831
            ],
            [
              50.7257355,
              6.561386
            ],
            [
              50.725736,
              6.5613856
            ],
            [
              50.7257346,
              6.5614099
            ],
            [
              50.7257341,
              6.5614099
            ],
            [
              50.725734,
              6.5614014
            ],
            [
              50.7257331,
              6.5613964
            ],
            [
              50.7257385,
              6.5613996
            ],
            [
              50.725738,
              6.5613952
            ],
            [
              50.7257383,
              6.5614001
            ],
            [
              50.7257379,
              6.5613934
            ],
            [
              50.7257377,
              6.5613948
            ],
            [
              50.7257374,
              6.5613963
            ],
            [
              50.7257361,
              6.5613921
            ],
            [
              50.7257405,
              6.5613892
            ],
            [
              50.7257408,
              6.5613908
            ],
            [
              50.725743,
              6.5613908
            ],
            [
              50.7257428,
              6.5613945
            ],
            [
              50.7257424,
              6.5613967
            ],
            [
              50.7257428,
              6.5613964
            ],
            [
              50.7257456,
              6.5613961
            ],
            [
              50.7257445,
              6.5613944
            ],
            [
              50.725748,
              6.5613971
            ],
            [
              50.7257479,
              6.5613937
            ],
            [
              50.7257434,
              6.5613943
            ],
            [
              50.7257409,
              6.5613881
            ],
            [
              50.7257438,
              6.5613923
            ],
            [
              50.7257435,
              6.5613957
            ],
            [
              50.7257367,
              6.561402
            ],
            [
              50.7257374,
              6.561402
            ],
            [
              50.7257292,
              6.5613914
            ],
            [
              50.7257148,
              6.5614141
            ],
            [
              50.7257129,
              6.5614553
            ],
            [
              50.7257218,
              6.5614566
            ],
            [
              50.7257233,
              6.5614566
            ],
            [
              50.7257226,
              6.5614486
            ],
            [
              50.7257222,
              6.5614487
            ],
            [
              50.7257245,
              6.5614487
            ],
            [
              50.7257241,
              6.5614434
            ],
            [
              50.7257275,
              6.5614438
            ],
            [
              50.7257255,
              6.5614389
            ],
            [
              50.7257189,
              6.5614425
            ],
            [
              50.7257207,
              6.561447
            ],
            [
              50.7257203,
              6.5614397
            ],
            [
              50.7257231,
              6.5614406
            ],
            [
              50.7257228,
              6.5614314
            ],
            [
              50.7257275,
              6.5614336
            ],
            [
              50.7257293,
              6.5614274
            ],
            [
              50.7257286,
              6.5614244
            ],
            [
              50.7257335,
              6.561418
            ],
            [
              50.7257374,
              6.561418
            ],
            [
              50.7257503,
              6.5614111
            ],
            [
              50.7257562,
              6.5613801
            ],
            [
              50.7257588,
              6.5613397
            ],
            [
              50.72576,
              6.5613397
            ],
            [
              50.7257588,
              6.5613416
            ],
            [
              50.7257216,
              6.5613371
            ],
            [
              50.7257187,
              6.5614378
            ],
            [
              50.725727,
              6.5614257
            ],
            [
              50.7257267,
              6.5614257
            ],
            [
              50.7257304,
              6.561423
            ],
            [
              50.7257296,
              6.5614256
            ],
            [
              50.7257307,
              6.5614256
            ],
            [
              50.7257306,
              6.56142
            ],
            [
              50.7257308,
              6.5614194
            ],
            [
              50.7257302,
              6.5614206
            ],
            [
              50.7257312,
              6.561418
            ],
            [
              50.7257313,
              6.561418
            ],
            [
              50.7257302,
              6.561417
            ],
            [
              50.7257299,
              6.5614118
            ],
            [
              50.7257287,
              6.5614159
            ],
            [
              50.7257323,
              6.5614159
            ],
            [
              50.7257317,
              6.5614116
            ],
            [
              50.7257315,
              6.5614116
            ],
            [
              50.7257311,
              6.5614135
            ],
            [
              50.7257341,
              6.5614138
            ],
            [
              50.7257338,
              6.5614084
            ],
            [
              50.7257334,
              6.5614093
            ],
            [
              50.7257332,
              6.561411
            ],
            [
              50.7257354,
              6.5614083
            ],
            [
              50.7257344,
              6.5614084
            ],
            [
              50.7257343,
              6.561403
            ],
            [
              50.725734,
              6.5614026
            ],
            [
              50.7257332,
              6.5614
            ],
            [
              50.7257377,
              6.5614007
            ],
            [
              50.7257496,
              6.5613905
            ],
            [
              50.7257587,
              6.5613518
            ],
            [
              50.7257572,
              6.5613376
            ],
            [
              50.7257588,
              6.5613135
            ],
            [
              50.7257473,
              6.5613135
            ],
            [
              50.7257278,
              6.5613529
            ],
            [
              50.7257201,
              6.5614296
            ],
            [
              50.725727,
              6.5614341
            ],
            [
              50.7257271,
              6.5614247
            ],
            [
              50.7257264,
              6.5614247
            ],
            [
              50.7257306,
              6.5614255
            ],
            [
              50.7257302,
              6.5614157
            ],
            [
              50.7257314,
              6.5614167
            ],
            [
              50.7257309,
              6.5614107
            ],
            [
              50.7257352,
              6.5614121
            ],
            [
              50.7257348,
              6.5614065
            ],
            [
              50.7257346,
              6.561408
            ],
            [
              50.7257363,
              6.561408
            ],
            [
              50.7257362,
              6.5614046
            ],
            [
              50.7257308,
              6.5614043
            ],
            [
              50.7257303,
              6.5614119
            ],
            [
              50.7257379,
              6.5613956
            ],
            [
              50.7257482,
              6.5613956
            ],
            [
              50.7257565,
              6.5613568
            ],
            [
              50.7257596,
              6.5613319
            ],
            [
              50.7257631,
              6.5613237
            ],
            [
              50.725765,
              6.5613102
            ],
            [
              50.7257293,
              6.5613965
            ],
            [
              50.7257156,
              6.5613965
            ],
            [
              50.7257201,
              6.5614473
            ],
            [
              50.7257224,
              6.5614671
            ],
            [
              50.7257222,
              6.5614605
            ],
            [
              50.7257245,
              6.561464
            ],
            [
              50.7257247,
              6.5614547
            ],
            [
              50.725728,
              6.5614545
            ],
            [
              50.7257285,
              6.5614463
            ],
            [
              50.7257286,
              6.5614499
            ],
            [
              50.7257297,
              6.5614499
            ],
            [
              50.7257294,
              6.5614426
            ],
            [
              50.7257291,
              6.5614424
            ],
            [
              50.7257302,
              6.5614436
            ],
            [
              50.7257297,
              6.5614347
            ],
            [
              50.7257315,
              6.5614345
            ],
            [
              50.7257313,
              6.5614291
            ],
            [
              50.7257339,
              6.5614291
            ],
            [
              50.7257343,
              6.5614244
            ],
            [
              50.7257357,
              6.5614244
            ],
            [
              50.7257342,
              6.5614217
            ],
            [
              50.7257334,
              6.5614165
            ],
            [
              50.7257491,
              6.561391
            ],
            [
              50.725758,
              6.5613755
            ],
            [
              50.7257589,
              6.5613755
            ],
            [
              50.7257599,
              6.5613718
            ],
            [
              50.7257634,
              6.5613541
            ],
            [
              50.7257621,
              6.5613575
            ],
            [
              50.7257642,
              6.5613206
            ],
            [
              50.7257649,
              6.5613206
            ],
            [
              50.7257628,
              6.5613234
            ],
            [
              50.7257659,
              6.561325
            ],
            [
              50.7257666,
              6.5613307
            ],
            [
              50.725765,
              6.5613307
            ],
            [
              50.7257682,
              6.5613197
            ],
            [
              50.7257698,
              6.5613269
            ],
            [
              50.7257725,
              6.5613269
            ],
            [
              50.7257715,
              6.5613273
            ],
            [
              50.7257705,
              6.5613209
            ],
            [
              50.7257694,
              6.5613324
            ],
            [
              50.7257697,
              6.5613306
            ],
            [
              50.7257658,
              6.5613148
            ],
            [
              50.7257644,
              6.5613148
            ],
            [
              50.7257654,
              6.5613099
            ],
            [
              50.7257692,
              6.5613099
            ],
            [
              50.7257691,
              6.5613046
            ],
            [
              50.7257698,
              6.5613017
            ],
            [
              50.7257663,
              6.5613001
            ],
            [
              50.7257664,
              6.5612945
            ],
            [
              50.7257685,
              6.5613148
            ],
            [
              50.7257689,
              6.5613148
            ],
            [
              50.7257698,
              6.5613094
            ],
            [
              50.7257679,
              6.5613256
            ],
            [
              50.7257664,
              6.5613123
            ],
            [
              50.7257667,
              6.5613029
            ]
          ],
          "options": {
            "color": "#3d3d5c",
            "weight": 3
          }
        }
      ]
    }
    
    OliverIOO Offline
    OliverIOO Offline
    OliverIO
    schrieb am zuletzt editiert von OliverIO
    #49

    @icebear

    ich mag dich nicht überfordern, aber ich habe mal einen schöneren test case erstellt, der ungefähr deinen anforderungen entsprechen könnte.
    mal so als ausblick was möglich wäre

    grundstruktur bleibt wie oben beschrieben.
    ich habe nun noch ein paar schönere start und endmarker hinzugefügt.
    das json sollte man allerdings nur mit einem entsprechenden programm anschauen, bei dem man die verschiedenen abschnitte besser gruppieren und aufklappen kann, sonst ist es etwas unübersichtlich.

    ich habe mal ein video gemacht wie es in echt aussieht

    6429119f-dc13-4b38-855a-855704ca5ce6-20260710-1627-28.8126496.mp4

    hier das json, nun sind in jeder map die jeweiligen nummerierten anfangs und endmarker, sowie die definition der ganzen grafiken als svg mit drin. ich habe mal die nummerierung von 1-9 vorgesehen mit dem label start1 ... start9 (also alles in dem json, nicht im adapter)

    {
       "2026-07-03T12:00:00.000Z": {
           "map": {
               "marker": [
                   {
                       "latlng": [50.0908321, 8.7089789],
                       "options": {
                           "icon": "end"
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [50.1088464, 8.6819509],
                       "options": {
                           "icon": "end"
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [50.1058825, 8.7048544],
                       "options": {
                           "icon": "start1",
                           "zIndexOffset": 1000
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [50.0916497, 8.7082289],
                       "options": {
                           "icon": "start2",
                           "zIndexOffset": 1000
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   }
               ],
               "polyline": [
                   {
                       "latlng": [
                           [50.1058825, 8.7048544],
                           [50.1058219, 8.7056764],
                           [50.1058063, 8.7059394],
                           [50.1057646, 8.7064633],
                           [50.1057302, 8.7078956],
                           [50.1057268, 8.7102989],
                           [50.1057068, 8.7108244],
                           [50.1056976, 8.7109926],
                           [50.1056865, 8.7114091],
                           [50.1056727, 8.7118333],
                           [50.1056201, 8.7133244],
                           [50.1055797, 8.7144671],
                           [50.1055408, 8.7155298],
                           [50.1055248, 8.7155963],
                           [50.1055129, 8.7163644],
                           [50.1055289, 8.7172605],
                           [50.1054865, 8.717537],
                           [50.1057147, 8.7174955],
                           [50.1057592, 8.7177435],
                           [50.1057992, 8.7181078],
                           [50.1058212, 8.7183064],
                           [50.1059222, 8.7192218],
                           [50.1060234, 8.7201382],
                           [50.1060738, 8.7205991],
                           [50.1060981, 8.7207191],
                           [50.106156, 8.7208173],
                           [50.1057777, 8.7209935],
                           [50.1057355, 8.7209759],
                           [50.1057351, 8.7211683],
                           [50.1057415, 8.7214075],
                           [50.105731, 8.7215983],
                           [50.1055514, 8.7216359],
                           [50.1054487, 8.7216584],
                           [50.1053955, 8.7216683],
                           [50.1053054, 8.7217109],
                           [50.1052669, 8.7217241],
                           [50.1052715, 8.7218573],
                           [50.1052025, 8.7218626],
                           [50.1050874, 8.7218754],
                           [50.1050291, 8.7218801],
                           [50.1050137, 8.721837],
                           [50.1049912, 8.7218085],
                           [50.1049269, 8.7218147],
                           [50.104862, 8.7218507],
                           [50.1048093, 8.7219073],
                           [50.1047697, 8.7219828],
                           [50.1047477, 8.7220788],
                           [50.1047367, 8.7222005],
                           [50.1047576, 8.7223634],
                           [50.1048242, 8.722711],
                           [50.1048422, 8.7228601],
                           [50.1048472, 8.7229352],
                           [50.1048461, 8.7230111],
                           [50.1048409, 8.7230872],
                           [50.1048313, 8.7231555],
                           [50.1048118, 8.7232404],
                           [50.104794, 8.7233043],
                           [50.1047752, 8.7233647],
                           [50.1047557, 8.723408],
                           [50.1047325, 8.7234527],
                           [50.1047082, 8.7234939],
                           [50.1046819, 8.7235318],
                           [50.1046551, 8.7235621],
                           [50.1046194, 8.7235947],
                           [50.1045502, 8.7236361],
                           [50.1044325, 8.7236971],
                           [50.104377, 8.723717],
                           [50.1043138, 8.7237354],
                           [50.1041558, 8.7237645],
                           [50.1038966, 8.7238121],
                           [50.1035809, 8.7238702],
                           [50.1035151, 8.7238823],
                           [50.1033806, 8.7239033],
                           [50.1032929, 8.723917],
                           [50.1032302, 8.7239427],
                           [50.1031894, 8.7239971],
                           [50.1031255, 8.7238837],
                           [50.1031022, 8.7239063],
                           [50.1019599, 8.7243419],
                           [50.1016299, 8.7244796],
                           [50.10138, 8.7245768],
                           [50.1010904, 8.7246633],
                           [50.101083, 8.7246233],
                           [50.1010589, 8.7245316],
                           [50.1010247, 8.7244242],
                           [50.1009797, 8.7242572],
                           [50.1009546, 8.7241897],
                           [50.100915, 8.7241076],
                           [50.1007554, 8.7238759],
                           [50.1007066, 8.7238323],
                           [50.1006928, 8.7238218],
                           [50.1006835, 8.7238156],
                           [50.1006543, 8.7238051],
                           [50.1006342, 8.7238312],
                           [50.1006059, 8.7238557],
                           [50.1005765, 8.7238704],
                           [50.1005416, 8.7238857],
                           [50.1005326, 8.7238899],
                           [50.1005152, 8.7238954],
                           [50.1002094, 8.7239927],
                           [50.1001573, 8.7240349],
                           [50.1001254, 8.7240806],
                           [50.1000839, 8.7240545],
                           [50.1000071, 8.7240761],
                           [50.0998876, 8.7241097],
                           [50.0992501, 8.724279],
                           [50.0989558, 8.7243515],
                           [50.0986702, 8.7244186],
                           [50.0980437, 8.7245021],
                           [50.0974488, 8.7245851],
                           [50.0973918, 8.724593],
                           [50.0972835, 8.7246082],
                           [50.0971831, 8.7246261],
                           [50.0971272, 8.7246361],
                           [50.0965659, 8.7247365],
                           [50.0956677, 8.7248772],
                           [50.0946131, 8.7251444],
                           [50.0945118, 8.7251648],
                           [50.0940999, 8.7252044],
                           [50.0936829, 8.725297],
                           [50.0925746, 8.7257161],
                           [50.0924172, 8.7257807],
                           [50.0909273, 8.725978],
                           [50.0909564, 8.723752],
                           [50.0902233, 8.722644],
                           [50.0901482, 8.7224393],
                           [50.089757, 8.7213728],
                           [50.0894751, 8.7196774],
                           [50.0893651, 8.7184183],
                           [50.0893211, 8.7174402],
                           [50.0894831, 8.7158944],
                           [50.089644, 8.7148644],
                           [50.0897015, 8.7143064],
                           [50.0897095, 8.7131328],
                           [50.0896802, 8.7121227],
                           [50.0896759, 8.7119755],
                           [50.0896777, 8.7118579],
                           [50.0896694, 8.7115329],
                           [50.089635, 8.7110649],
                           [50.089603, 8.7108619],
                           [50.08951, 8.7100742],
                           [50.0899524, 8.7097073],
                           [50.0908321, 8.7089789]
                       ],
                       "options": {
                           "color": "red",
                           "weight": 3
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [
                           [50.0916497, 8.7082289],
                           [50.0924763, 8.7074183],
                           [50.0928585, 8.7069671],
                           [50.0930032, 8.7067684],
                           [50.0930744, 8.7066431],
                           [50.093122, 8.7065473],
                           [50.0931826, 8.7064137],
                           [50.093248, 8.7062787],
                           [50.0933108, 8.7061671],
                           [50.0936395, 8.7056597],
                           [50.0936662, 8.7056228],
                           [50.093758, 8.7054958],
                           [50.0938418, 8.7053929],
                           [50.0941173, 8.7051426],
                           [50.0944756, 8.7048545],
                           [50.0946003, 8.7047156],
                           [50.0950093, 8.7040994],
                           [50.0950745, 8.7040109],
                           [50.0951158, 8.7038979],
                           [50.0951601, 8.7038223],
                           [50.0951984, 8.7037636],
                           [50.095236, 8.703716],
                           [50.0952899, 8.7036405],
                           [50.0953456, 8.7035671],
                           [50.0953959, 8.7034893],
                           [50.0954175, 8.7034721],
                           [50.0954884, 8.7033873],
                           [50.0957258, 8.7030974],
                           [50.0957884, 8.7030092],
                           [50.0959307, 8.7028301],
                           [50.0959795, 8.7027575],
                           [50.0960791, 8.7025638],
                           [50.0962931, 8.7021184],
                           [50.0963361, 8.7020066],
                           [50.0964026, 8.7018602],
                           [50.0964709, 8.7016819],
                           [50.0967392, 8.7009686],
                           [50.0967777, 8.7008687],
                           [50.0971735, 8.6998286],
                           [50.0973812, 8.7000246],
                           [50.0980375, 8.700702],
                           [50.0980988, 8.7005463],
                           [50.0982783, 8.7000938],
                           [50.0984121, 8.6997428],
                           [50.0984559, 8.699631],
                           [50.0986059, 8.6992677],
                           [50.0986324, 8.6992283],
                           [50.0986598, 8.6992011],
                           [50.0986941, 8.6991721],
                           [50.0990363, 8.6989282],
                           [50.0989649, 8.6988916],
                           [50.0989106, 8.6987612],
                           [50.0991348, 8.6986597],
                           [50.0999726, 8.6976015],
                           [50.1000884, 8.6976101],
                           [50.1001524, 8.697499],
                           [50.100219, 8.6973552],
                           [50.1002727, 8.6972214],
                           [50.1003085, 8.6971246],
                           [50.1002275, 8.6970016],
                           [50.1001758, 8.6967173],
                           [50.1001482, 8.6963353],
                           [50.1000283, 8.6961669],
                           [50.1001032, 8.6960008],
                           [50.1001493, 8.6958631],
                           [50.1001681, 8.6957332],
                           [50.100163, 8.6956356],
                           [50.1001372, 8.6955354],
                           [50.0998477, 8.6949427],
                           [50.1004365, 8.6942061],
                           [50.1010386, 8.6934746],
                           [50.1010876, 8.6934341],
                           [50.1006575, 8.6922973],
                           [50.1006243, 8.6922097],
                           [50.1007255, 8.69207],
                           [50.1007733, 8.6920055],
                           [50.1007079, 8.6918532],
                           [50.1006345, 8.6916808],
                           [50.1005874, 8.6915648],
                           [50.1005342, 8.691399],
                           [50.100645, 8.6914262],
                           [50.1006885, 8.6914248],
                           [50.1007686, 8.6913939],
                           [50.1008265, 8.691373],
                           [50.1011333, 8.6912476],
                           [50.1013255, 8.691169],
                           [50.1014538, 8.6911164],
                           [50.1016498, 8.6910386],
                           [50.1017623, 8.690995],
                           [50.1019091, 8.6909279],
                           [50.1020222, 8.6908777],
                           [50.1021248, 8.6908322],
                           [50.1023985, 8.6907099],
                           [50.1024728, 8.6906779],
                           [50.102589, 8.690629],
                           [50.1026096, 8.6906197],
                           [50.1027141, 8.6905827],
                           [50.1027458, 8.6905696],
                           [50.102823, 8.6905425],
                           [50.1029021, 8.6905145],
                           [50.102991, 8.6904825],
                           [50.1030659, 8.6904507],
                           [50.1030813, 8.6904446],
                           [50.1031883, 8.6904025],
                           [50.103515, 8.6902722],
                           [50.1039796, 8.6900868],
                           [50.1040317, 8.6900642],
                           [50.1041305, 8.6900248],
                           [50.1044153, 8.6899086],
                           [50.1045247, 8.6898626],
                           [50.104607, 8.6898343],
                           [50.1047001, 8.6898021],
                           [50.1048517, 8.6897482],
                           [50.1048344, 8.6896119],
                           [50.1048142, 8.6894606],
                           [50.1048448, 8.6892942],
                           [50.1048976, 8.689068],
                           [50.1050584, 8.6884359],
                           [50.1053163, 8.6874015],
                           [50.1054899, 8.6864402],
                           [50.1055238, 8.6862663],
                           [50.1055978, 8.6860726],
                           [50.1056341, 8.6859657],
                           [50.1056822, 8.6858625],
                           [50.1057417, 8.6857347],
                           [50.1057873, 8.6856261],
                           [50.1058695, 8.6854736],
                           [50.1061641, 8.6848933],
                           [50.1064036, 8.6844444],
                           [50.1068626, 8.6835997],
                           [50.1070466, 8.6832618],
                           [50.1070987, 8.683161],
                           [50.1069927, 8.682518],
                           [50.1070748, 8.6824835],
                           [50.1071409, 8.6824606],
                           [50.1071575, 8.6824548],
                           [50.1071675, 8.6825102],
                           [50.1071964, 8.6824988],
                           [50.1072717, 8.6824711],
                           [50.107289, 8.6824108],
                           [50.1080543, 8.6821446],
                           [50.108833, 8.6818685],
                           [50.1088464, 8.6819509]
                       ],
                       "options": {
                           "color": "green",
                           "weight": 3
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   }
               ],
               "icons": {
                   "start1": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">1</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start2": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">2</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start3": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">3</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start4": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">4</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start5": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">5</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start6": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">6</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start7": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">7</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start8": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">8</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start9": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">9</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "end": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#E53935\" stroke=\"#B71C1C\" stroke-width=\"2\"/></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   }
               }
           }
       },
       "2026-07-04T12:00:00.000Z": {
           "map": {
               "marker": [
                   {
                       "latlng": [50.1088464, 8.6819509],
                       "options": {
                           "icon": "end"
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [50.1060036, 8.7037638],
                       "options": {
                           "icon": "end"
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [50.0916497, 8.7082289],
                       "options": {
                           "icon": "start1",
                           "zIndexOffset": 1000
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [50.1089078, 8.6819282],
                       "options": {
                           "icon": "start2",
                           "zIndexOffset": 1000
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   }
               ],
               "polyline": [
                   {
                       "latlng": [
                           [50.0916497, 8.7082289],
                           [50.0924763, 8.7074183],
                           [50.0928585, 8.7069671],
                           [50.0930032, 8.7067684],
                           [50.0930744, 8.7066431],
                           [50.093122, 8.7065473],
                           [50.0931826, 8.7064137],
                           [50.093248, 8.7062787],
                           [50.0933108, 8.7061671],
                           [50.0936395, 8.7056597],
                           [50.0936662, 8.7056228],
                           [50.093758, 8.7054958],
                           [50.0938418, 8.7053929],
                           [50.0941173, 8.7051426],
                           [50.0944756, 8.7048545],
                           [50.0946003, 8.7047156],
                           [50.0950093, 8.7040994],
                           [50.0950745, 8.7040109],
                           [50.0951158, 8.7038979],
                           [50.0951601, 8.7038223],
                           [50.0951984, 8.7037636],
                           [50.095236, 8.703716],
                           [50.0952899, 8.7036405],
                           [50.0953456, 8.7035671],
                           [50.0953959, 8.7034893],
                           [50.0954175, 8.7034721],
                           [50.0954884, 8.7033873],
                           [50.0957258, 8.7030974],
                           [50.0957884, 8.7030092],
                           [50.0959307, 8.7028301],
                           [50.0959795, 8.7027575],
                           [50.0960791, 8.7025638],
                           [50.0962931, 8.7021184],
                           [50.0963361, 8.7020066],
                           [50.0964026, 8.7018602],
                           [50.0964709, 8.7016819],
                           [50.0967392, 8.7009686],
                           [50.0967777, 8.7008687],
                           [50.0971735, 8.6998286],
                           [50.0973812, 8.7000246],
                           [50.0980375, 8.700702],
                           [50.0980988, 8.7005463],
                           [50.0982783, 8.7000938],
                           [50.0984121, 8.6997428],
                           [50.0984559, 8.699631],
                           [50.0986059, 8.6992677],
                           [50.0986324, 8.6992283],
                           [50.0986598, 8.6992011],
                           [50.0986941, 8.6991721],
                           [50.0990363, 8.6989282],
                           [50.0989649, 8.6988916],
                           [50.0989106, 8.6987612],
                           [50.0991348, 8.6986597],
                           [50.0999726, 8.6976015],
                           [50.1000884, 8.6976101],
                           [50.1001524, 8.697499],
                           [50.100219, 8.6973552],
                           [50.1002727, 8.6972214],
                           [50.1003085, 8.6971246],
                           [50.1002275, 8.6970016],
                           [50.1001758, 8.6967173],
                           [50.1001482, 8.6963353],
                           [50.1000283, 8.6961669],
                           [50.1001032, 8.6960008],
                           [50.1001493, 8.6958631],
                           [50.1001681, 8.6957332],
                           [50.100163, 8.6956356],
                           [50.1001372, 8.6955354],
                           [50.0998477, 8.6949427],
                           [50.1004365, 8.6942061],
                           [50.1010386, 8.6934746],
                           [50.1010876, 8.6934341],
                           [50.1006575, 8.6922973],
                           [50.1006243, 8.6922097],
                           [50.1007255, 8.69207],
                           [50.1007733, 8.6920055],
                           [50.1007079, 8.6918532],
                           [50.1006345, 8.6916808],
                           [50.1005874, 8.6915648],
                           [50.1005342, 8.691399],
                           [50.100645, 8.6914262],
                           [50.1006885, 8.6914248],
                           [50.1007686, 8.6913939],
                           [50.1008265, 8.691373],
                           [50.1011333, 8.6912476],
                           [50.1013255, 8.691169],
                           [50.1014538, 8.6911164],
                           [50.1016498, 8.6910386],
                           [50.1017623, 8.690995],
                           [50.1019091, 8.6909279],
                           [50.1020222, 8.6908777],
                           [50.1021248, 8.6908322],
                           [50.1023985, 8.6907099],
                           [50.1024728, 8.6906779],
                           [50.102589, 8.690629],
                           [50.1026096, 8.6906197],
                           [50.1027141, 8.6905827],
                           [50.1027458, 8.6905696],
                           [50.102823, 8.6905425],
                           [50.1029021, 8.6905145],
                           [50.102991, 8.6904825],
                           [50.1030659, 8.6904507],
                           [50.1030813, 8.6904446],
                           [50.1031883, 8.6904025],
                           [50.103515, 8.6902722],
                           [50.1039796, 8.6900868],
                           [50.1040317, 8.6900642],
                           [50.1041305, 8.6900248],
                           [50.1044153, 8.6899086],
                           [50.1045247, 8.6898626],
                           [50.104607, 8.6898343],
                           [50.1047001, 8.6898021],
                           [50.1048517, 8.6897482],
                           [50.1048344, 8.6896119],
                           [50.1048142, 8.6894606],
                           [50.1048448, 8.6892942],
                           [50.1048976, 8.689068],
                           [50.1050584, 8.6884359],
                           [50.1053163, 8.6874015],
                           [50.1054899, 8.6864402],
                           [50.1055238, 8.6862663],
                           [50.1055978, 8.6860726],
                           [50.1056341, 8.6859657],
                           [50.1056822, 8.6858625],
                           [50.1057417, 8.6857347],
                           [50.1057873, 8.6856261],
                           [50.1058695, 8.6854736],
                           [50.1061641, 8.6848933],
                           [50.1064036, 8.6844444],
                           [50.1068626, 8.6835997],
                           [50.1070466, 8.6832618],
                           [50.1070987, 8.683161],
                           [50.1069927, 8.682518],
                           [50.1070748, 8.6824835],
                           [50.1071409, 8.6824606],
                           [50.1071575, 8.6824548],
                           [50.1071675, 8.6825102],
                           [50.1071964, 8.6824988],
                           [50.1072717, 8.6824711],
                           [50.107289, 8.6824108],
                           [50.1080543, 8.6821446],
                           [50.108833, 8.6818685],
                           [50.1088464, 8.6819509]
                       ],
                       "options": {
                           "color": "blue",
                           "weight": 3
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [
                           [50.1089078, 8.6819282],
                           [50.1088949, 8.6818458],
                           [50.1089086, 8.6818412],
                           [50.1089217, 8.6818374],
                           [50.1089438, 8.68183],
                           [50.10897, 8.6818175],
                           [50.1089502, 8.6816977],
                           [50.1089946, 8.6816787],
                           [50.10909, 8.6822308],
                           [50.1094541, 8.6820629],
                           [50.1095466, 8.6820186],
                           [50.109605, 8.6819953],
                           [50.109687, 8.6819555],
                           [50.1096359, 8.6817173],
                           [50.1095954, 8.6815473],
                           [50.1095557, 8.6813572],
                           [50.109323, 8.6803583],
                           [50.1092971, 8.680247],
                           [50.1092705, 8.680133],
                           [50.1092331, 8.6799632],
                           [50.1096191, 8.6797265],
                           [50.1096781, 8.6797027],
                           [50.1097315, 8.6796843],
                           [50.1099119, 8.6796317],
                           [50.1104172, 8.6795459],
                           [50.110484, 8.679537],
                           [50.1104966, 8.6795353],
                           [50.1105125, 8.6795329],
                           [50.110572, 8.6795238],
                           [50.110692, 8.6795103],
                           [50.1109238, 8.6794878],
                           [50.1110897, 8.6794473],
                           [50.1111842, 8.6794271],
                           [50.1112805, 8.6794077],
                           [50.111244, 8.6792338],
                           [50.1111604, 8.678896],
                           [50.1110766, 8.6786313],
                           [50.1110398, 8.6784795],
                           [50.1109796, 8.6783092],
                           [50.1109407, 8.6782204],
                           [50.110889, 8.6781022],
                           [50.1107964, 8.677956],
                           [50.1106992, 8.677821],
                           [50.1107236, 8.6778005],
                           [50.1107709, 8.6777607],
                           [50.1107928, 8.6777389],
                           [50.1108132, 8.6777251],
                           [50.1108462, 8.6776866],
                           [50.1108936, 8.6776918],
                           [50.1110734, 8.6777353],
                           [50.1115929, 8.6778683],
                           [50.1115852, 8.6779592],
                           [50.1115811, 8.6780331],
                           [50.1115831, 8.6781486],
                           [50.1116073, 8.678351],
                           [50.111707, 8.6791569],
                           [50.1117231, 8.6793131],
                           [50.1118117, 8.6799797],
                           [50.1118961, 8.6804545],
                           [50.111719, 8.6805371],
                           [50.111506, 8.6806396],
                           [50.1116286, 8.6812278],
                           [50.1117098, 8.6816172],
                           [50.1115991, 8.6816661],
                           [50.1115954, 8.6816703],
                           [50.1110164, 8.6819537],
                           [50.1109559, 8.6819068],
                           [50.1109122, 8.6819063],
                           [50.1108901, 8.6819119],
                           [50.1108792, 8.6819154],
                           [50.1108642, 8.6819235],
                           [50.1108526, 8.6819384],
                           [50.1108188, 8.6819468],
                           [50.1106109, 8.6819655],
                           [50.1103445, 8.6819895],
                           [50.1101282, 8.682009],
                           [50.1101451, 8.6821828],
                           [50.1101724, 8.6825476],
                           [50.1102621, 8.6830992],
                           [50.1102767, 8.6831925],
                           [50.1103081, 8.6833794],
                           [50.1103274, 8.6834975],
                           [50.110358, 8.6836839],
                           [50.1103692, 8.6837445],
                           [50.1104129, 8.6839847],
                           [50.1104139, 8.6839913],
                           [50.1104203, 8.6840319],
                           [50.1104685, 8.6843216],
                           [50.11054, 8.684778],
                           [50.1104186, 8.6848499],
                           [50.1103677, 8.6848806],
                           [50.1101766, 8.6849773],
                           [50.110268, 8.6852936],
                           [50.1102839, 8.6853576],
                           [50.1102943, 8.6854286],
                           [50.110307, 8.685636],
                           [50.11032, 8.6857982],
                           [50.1103424, 8.6859512],
                           [50.1103766, 8.6861477],
                           [50.1104034, 8.6862733],
                           [50.1104274, 8.6863735],
                           [50.1104529, 8.6864713],
                           [50.1105338, 8.6867652],
                           [50.1106164, 8.6870527],
                           [50.1104218, 8.6871637],
                           [50.1102458, 8.6872781],
                           [50.1101987, 8.6873082],
                           [50.1100232, 8.6873951],
                           [50.1097053, 8.6875009],
                           [50.1096248, 8.6875289],
                           [50.109529, 8.6875611],
                           [50.1095282, 8.6877039],
                           [50.1095033, 8.6877032],
                           [50.1094471, 8.6877061],
                           [50.1091755, 8.6877146],
                           [50.1080222, 8.6877418],
                           [50.1076131, 8.6877531],
                           [50.107379, 8.6877596],
                           [50.1073541, 8.6877603],
                           [50.1073442, 8.6877607],
                           [50.1073288, 8.687761],
                           [50.1073134, 8.6877615],
                           [50.1073168, 8.6878867],
                           [50.107312, 8.6879341],
                           [50.1073269, 8.6879444],
                           [50.1073321, 8.6879988],
                           [50.1073308, 8.688245],
                           [50.1074741, 8.6882473],
                           [50.1075137, 8.6885261],
                           [50.1075044, 8.6889156],
                           [50.107479, 8.6893009],
                           [50.1074107, 8.6900058],
                           [50.1072125, 8.6920884],
                           [50.1071081, 8.6930965],
                           [50.1069529, 8.6945919],
                           [50.1068429, 8.6956931],
                           [50.1067557, 8.6966012],
                           [50.1065945, 8.6983244],
                           [50.1065243, 8.6990912],
                           [50.1064259, 8.7001919],
                           [50.1063151, 8.7013316],
                           [50.1062423, 8.7014064],
                           [50.106232, 8.7014571],
                           [50.1062194, 8.7015873],
                           [50.1060191, 8.703583],
                           [50.1060036, 8.7037638]
                       ],
                       "options": {
                           "color": "yellow",
                           "weight": 3
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   }
               ],
               "icons": {
                   "start1": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">1</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start2": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">2</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start3": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">3</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start4": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">4</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start5": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">5</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start6": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">6</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start7": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">7</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start8": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">8</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start9": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">9</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "end": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#E53935\" stroke=\"#B71C1C\" stroke-width=\"2\"/></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   }
               }
           }
       },
       "2026-07-05T12:00:00.000Z": {
           "map": {
               "marker": [
                   {
                       "latlng": [50.1058825, 8.7048544],
                       "options": {
                           "icon": "end"
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [50.0908321, 8.7089789],
                       "options": {
                           "icon": "end"
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [50.1089078, 8.6819282],
                       "options": {
                           "icon": "start1",
                           "zIndexOffset": 1000
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [50.0916497, 8.7082289],
                       "options": {
                           "icon": "start2",
                           "zIndexOffset": 1000
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   }
               ],
               "polyline": [
                   {
                       "latlng": [
                           [50.1089078, 8.6819282],
                           [50.1088949, 8.6818458],
                           [50.1089086, 8.6818412],
                           [50.1089217, 8.6818374],
                           [50.1089438, 8.68183],
                           [50.10897, 8.6818175],
                           [50.1089502, 8.6816977],
                           [50.1089946, 8.6816787],
                           [50.10909, 8.6822308],
                           [50.1094541, 8.6820629],
                           [50.1095466, 8.6820186],
                           [50.109605, 8.6819953],
                           [50.109687, 8.6819555],
                           [50.1096359, 8.6817173],
                           [50.1095954, 8.6815473],
                           [50.1095557, 8.6813572],
                           [50.109323, 8.6803583],
                           [50.1092971, 8.680247],
                           [50.1092705, 8.680133],
                           [50.1092331, 8.6799632],
                           [50.1096191, 8.6797265],
                           [50.1096781, 8.6797027],
                           [50.1097315, 8.6796843],
                           [50.1099119, 8.6796317],
                           [50.1104172, 8.6795459],
                           [50.110484, 8.679537],
                           [50.1104966, 8.6795353],
                           [50.1105125, 8.6795329],
                           [50.110572, 8.6795238],
                           [50.110692, 8.6795103],
                           [50.1109238, 8.6794878],
                           [50.1110897, 8.6794473],
                           [50.1111842, 8.6794271],
                           [50.1112805, 8.6794077],
                           [50.111244, 8.6792338],
                           [50.1111604, 8.678896],
                           [50.1110766, 8.6786313],
                           [50.1110398, 8.6784795],
                           [50.1109796, 8.6783092],
                           [50.1109407, 8.6782204],
                           [50.110889, 8.6781022],
                           [50.1107964, 8.677956],
                           [50.1106992, 8.677821],
                           [50.1107236, 8.6778005],
                           [50.1107709, 8.6777607],
                           [50.1107928, 8.6777389],
                           [50.1108132, 8.6777251],
                           [50.1108462, 8.6776866],
                           [50.1108936, 8.6776918],
                           [50.1110734, 8.6777353],
                           [50.1115929, 8.6778683],
                           [50.1115852, 8.6779592],
                           [50.1115811, 8.6780331],
                           [50.1115831, 8.6781486],
                           [50.1116073, 8.678351],
                           [50.111707, 8.6791569],
                           [50.1117231, 8.6793131],
                           [50.1118117, 8.6799797],
                           [50.1118961, 8.6804545],
                           [50.111719, 8.6805371],
                           [50.111506, 8.6806396],
                           [50.1116286, 8.6812278],
                           [50.1117098, 8.6816172],
                           [50.1115991, 8.6816661],
                           [50.1115954, 8.6816703],
                           [50.1110164, 8.6819537],
                           [50.1109559, 8.6819068],
                           [50.1109122, 8.6819063],
                           [50.1108901, 8.6819119],
                           [50.1108792, 8.6819154],
                           [50.1108642, 8.6819235],
                           [50.1108526, 8.6819384],
                           [50.1108188, 8.6819468],
                           [50.1106109, 8.6819655],
                           [50.1103445, 8.6819895],
                           [50.1101282, 8.682009],
                           [50.1101451, 8.6821828],
                           [50.1101724, 8.6825476],
                           [50.1102621, 8.6830992],
                           [50.1102767, 8.6831925],
                           [50.1103081, 8.6833794],
                           [50.1103274, 8.6834975],
                           [50.110358, 8.6836839],
                           [50.1103692, 8.6837445],
                           [50.1104129, 8.6839847],
                           [50.1104139, 8.6839913],
                           [50.1104203, 8.6840319],
                           [50.1104685, 8.6843216],
                           [50.11054, 8.684778],
                           [50.1104186, 8.6848499],
                           [50.1103677, 8.6848806],
                           [50.1101766, 8.6849773],
                           [50.110268, 8.6852936],
                           [50.1102839, 8.6853576],
                           [50.1102943, 8.6854286],
                           [50.110307, 8.685636],
                           [50.11032, 8.6857982],
                           [50.1103424, 8.6859512],
                           [50.1103766, 8.6861477],
                           [50.1104034, 8.6862733],
                           [50.1104274, 8.6863735],
                           [50.1104529, 8.6864713],
                           [50.1105338, 8.6867652],
                           [50.1106164, 8.6870527],
                           [50.1104218, 8.6871637],
                           [50.1102458, 8.6872781],
                           [50.1101987, 8.6873082],
                           [50.1100232, 8.6873951],
                           [50.1097053, 8.6875009],
                           [50.1096248, 8.6875289],
                           [50.109529, 8.6875611],
                           [50.1095282, 8.6877039],
                           [50.1095033, 8.6877032],
                           [50.1094471, 8.6877061],
                           [50.1091755, 8.6877146],
                           [50.1080222, 8.6877418],
                           [50.1076131, 8.6877531],
                           [50.107379, 8.6877596],
                           [50.1073541, 8.6877603],
                           [50.1073442, 8.6877607],
                           [50.1073288, 8.687761],
                           [50.1073134, 8.6877615],
                           [50.1073168, 8.6878867],
                           [50.107312, 8.6879341],
                           [50.1073269, 8.6879444],
                           [50.1073321, 8.6879988],
                           [50.1073308, 8.688245],
                           [50.1074741, 8.6882473],
                           [50.1075137, 8.6885261],
                           [50.1075044, 8.6889156],
                           [50.107479, 8.6893009],
                           [50.1074107, 8.6900058],
                           [50.1072125, 8.6920884],
                           [50.1071081, 8.6930965],
                           [50.1069529, 8.6945919],
                           [50.1068429, 8.6956931],
                           [50.1067557, 8.6966012],
                           [50.1065945, 8.6983244],
                           [50.1065243, 8.6990912],
                           [50.1064259, 8.7001919],
                           [50.1063151, 8.7013316],
                           [50.1062423, 8.7014064],
                           [50.106232, 8.7014571],
                           [50.1062194, 8.7015873],
                           [50.1060191, 8.703583],
                           [50.1060036, 8.7037638]
                       ],
                       "options": {
                           "color": "black",
                           "weight": 3
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   },
                   {
                       "latlng": [
                           [50.1058825, 8.7048544],
                           [50.1058219, 8.7056764],
                           [50.1058063, 8.7059394],
                           [50.1057646, 8.7064633],
                           [50.1057302, 8.7078956],
                           [50.1057268, 8.7102989],
                           [50.1057068, 8.7108244],
                           [50.1056976, 8.7109926],
                           [50.1056865, 8.7114091],
                           [50.1056727, 8.7118333],
                           [50.1056201, 8.7133244],
                           [50.1055797, 8.7144671],
                           [50.1055408, 8.7155298],
                           [50.1055248, 8.7155963],
                           [50.1055129, 8.7163644],
                           [50.1055289, 8.7172605],
                           [50.1054865, 8.717537],
                           [50.1057147, 8.7174955],
                           [50.1057592, 8.7177435],
                           [50.1057992, 8.7181078],
                           [50.1058212, 8.7183064],
                           [50.1059222, 8.7192218],
                           [50.1060234, 8.7201382],
                           [50.1060738, 8.7205991],
                           [50.1060981, 8.7207191],
                           [50.106156, 8.7208173],
                           [50.1057777, 8.7209935],
                           [50.1057355, 8.7209759],
                           [50.1057351, 8.7211683],
                           [50.1057415, 8.7214075],
                           [50.105731, 8.7215983],
                           [50.1055514, 8.7216359],
                           [50.1054487, 8.7216584],
                           [50.1053955, 8.7216683],
                           [50.1053054, 8.7217109],
                           [50.1052669, 8.7217241],
                           [50.1052715, 8.7218573],
                           [50.1052025, 8.7218626],
                           [50.1050874, 8.7218754],
                           [50.1050291, 8.7218801],
                           [50.1050137, 8.721837],
                           [50.1049912, 8.7218085],
                           [50.1049269, 8.7218147],
                           [50.104862, 8.7218507],
                           [50.1048093, 8.7219073],
                           [50.1047697, 8.7219828],
                           [50.1047477, 8.7220788],
                           [50.1047367, 8.7222005],
                           [50.1047576, 8.7223634],
                           [50.1048242, 8.722711],
                           [50.1048422, 8.7228601],
                           [50.1048472, 8.7229352],
                           [50.1048461, 8.7230111],
                           [50.1048409, 8.7230872],
                           [50.1048313, 8.7231555],
                           [50.1048118, 8.7232404],
                           [50.104794, 8.7233043],
                           [50.1047752, 8.7233647],
                           [50.1047557, 8.723408],
                           [50.1047325, 8.7234527],
                           [50.1047082, 8.7234939],
                           [50.1046819, 8.7235318],
                           [50.1046551, 8.7235621],
                           [50.1046194, 8.7235947],
                           [50.1045502, 8.7236361],
                           [50.1044325, 8.7236971],
                           [50.104377, 8.723717],
                           [50.1043138, 8.7237354],
                           [50.1041558, 8.7237645],
                           [50.1038966, 8.7238121],
                           [50.1035809, 8.7238702],
                           [50.1035151, 8.7238823],
                           [50.1033806, 8.7239033],
                           [50.1032929, 8.723917],
                           [50.1032302, 8.7239427],
                           [50.1031894, 8.7239971],
                           [50.1031255, 8.7238837],
                           [50.1031022, 8.7239063],
                           [50.1019599, 8.7243419],
                           [50.1016299, 8.7244796],
                           [50.10138, 8.7245768],
                           [50.1010904, 8.7246633],
                           [50.101083, 8.7246233],
                           [50.1010589, 8.7245316],
                           [50.1010247, 8.7244242],
                           [50.1009797, 8.7242572],
                           [50.1009546, 8.7241897],
                           [50.100915, 8.7241076],
                           [50.1007554, 8.7238759],
                           [50.1007066, 8.7238323],
                           [50.1006928, 8.7238218],
                           [50.1006835, 8.7238156],
                           [50.1006543, 8.7238051],
                           [50.1006342, 8.7238312],
                           [50.1006059, 8.7238557],
                           [50.1005765, 8.7238704],
                           [50.1005416, 8.7238857],
                           [50.1005326, 8.7238899],
                           [50.1005152, 8.7238954],
                           [50.1002094, 8.7239927],
                           [50.1001573, 8.7240349],
                           [50.1001254, 8.7240806],
                           [50.1000839, 8.7240545],
                           [50.1000071, 8.7240761],
                           [50.0998876, 8.7241097],
                           [50.0992501, 8.724279],
                           [50.0989558, 8.7243515],
                           [50.0986702, 8.7244186],
                           [50.0980437, 8.7245021],
                           [50.0974488, 8.7245851],
                           [50.0973918, 8.724593],
                           [50.0972835, 8.7246082],
                           [50.0971831, 8.7246261],
                           [50.0971272, 8.7246361],
                           [50.0965659, 8.7247365],
                           [50.0956677, 8.7248772],
                           [50.0946131, 8.7251444],
                           [50.0945118, 8.7251648],
                           [50.0940999, 8.7252044],
                           [50.0936829, 8.725297],
                           [50.0925746, 8.7257161],
                           [50.0924172, 8.7257807],
                           [50.0909273, 8.725978],
                           [50.0909564, 8.723752],
                           [50.0902233, 8.722644],
                           [50.0901482, 8.7224393],
                           [50.089757, 8.7213728],
                           [50.0894751, 8.7196774],
                           [50.0893651, 8.7184183],
                           [50.0893211, 8.7174402],
                           [50.0894831, 8.7158944],
                           [50.089644, 8.7148644],
                           [50.0897015, 8.7143064],
                           [50.0897095, 8.7131328],
                           [50.0896802, 8.7121227],
                           [50.0896759, 8.7119755],
                           [50.0896777, 8.7118579],
                           [50.0896694, 8.7115329],
                           [50.089635, 8.7110649],
                           [50.089603, 8.7108619],
                           [50.08951, 8.7100742],
                           [50.0899524, 8.7097073],
                           [50.0908321, 8.7089789]
                       ],
                       "options": {
                           "color": "white",
                           "weight": 3
                       },
                       "iobOptions": {
                           "fitBounds": true
                       }
                   }
               ],
               "icons": {
                   "start1": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">1</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start2": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">2</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start3": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">3</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start4": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">4</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start5": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">5</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start6": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">6</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start7": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">7</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start8": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">8</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "start9": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#43A047\" stroke=\"#2E7D32\" stroke-width=\"2\"/><circle cx=\"24\" cy=\"23\" r=\"15\" fill=\"#FFFFFF\"/><text x=\"24\" y=\"23\" text-anchor=\"middle\" dominant-baseline=\"central\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"20\" font-weight=\"700\" fill=\"#2E7D32\">9</text></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   },
                   "end": {
                       "className": "",
                       "html": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"32\" viewBox=\"0 0 48 64\"><path d=\"M24 1 C11.3 1 1 11.3 1 24 C1 40.5 24 63 24 63 C24 63 47 40.5 47 24 C47 11.3 36.7 1 24 1Z\" fill=\"#E53935\" stroke=\"#B71C1C\" stroke-width=\"2\"/></svg>",
                       "iconSize": [24, 32],
                       "iconAnchor": [12, 31],
                       "popupAnchor": [0, -28]
                   }
               }
           }
       }
    }
    
    

    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 Antwort Letzte Antwort
    0
    • icebearI Online
      icebearI Online
      icebear
      schrieb am zuletzt editiert von icebear
      #50

      @oliverio

      Wenn ich das json von dir in den DP kopiere, dann bekomme ich Schemafehler:

      Hat sich erledigt, hab den Fehler gefunden.

      Die JSON-Konfiguration enthält 3 Fehler.
      
      Unerwartete Eigenschaften in Objekt Stammobjekt:
      
        - 2026-07-03T12:00:00.000Z
        - 2026-07-04T12:00:00.000Z
        - 2026-07-05T12:00:00.000Z
      
      Erlaubte Eigenschaften sind:
        - marker
        - icons
        - polyline
        - polygon
        - rectangle
        - circle
      
      1 Antwort Letzte Antwort
      0
      • icebearI Online
        icebearI Online
        icebear
        schrieb am zuletzt editiert von icebear
        #51

        @oliverio

        Ich häng mal das TypeScript dran, dann siehte ja:
        Edit: 10.07.26 21:33

        // =============================================================================
        // Konfiguration
        // =============================================================================
        const DP_LAT: string = 'traccar.0.devices.1.latitude';
        const DP_LON: string = 'traccar.0.devices.1.longitude';
        const DP_MOTION: string = 'traccar.0.devices.1.motion';
        const DP_ROUTE_JSON: string = '0_userdata.0.CarLoad.CurrentRouteJSON';
        const DP_LAST_DATE: string = '0_userdata.0.CarLoad.LastDriveDate';
        const DP_LAST_STOP_TIME: string = '0_userdata.0.CarLoad.LastStopTime';
        
        // NEU: Mindestabstand in Metern, bevor ein neuer Punkt gespeichert wird
        const MIN_DISTANCE_METERS: number = 50; 
        
        // Farben für die verschiedenen Fahrten des Tages (max 5)
        const DRIVE_COLORS: string[] = ['#3d3d5c', '#e65c00', '#009933', '#cc0000', '#9900cc']; 
        
        // Interfaces für die Struktur
        interface LeafletMarker {
            latlng: [number, number];
            options: {
                icon: string;
                title: string;
            };
            tooltip?: string;
        }
        
        interface LeafletIcon {
            iconUrl: string;
            iconSize: [number, number];
            iconAnchor: [number, number];
            popupAnchor?: [number, number];
            shadowSize?: [number, number];
            shadowAnchor?: [number, number];
        }
        
        interface PolylineConfig {
            latlng: [number, number][];
            options: { color: string; weight: number };
            iobOptions?: { fitBounds: boolean };
        }
        
        interface MapContent {
            marker: LeafletMarker[];
            icons: { 
                honda: LeafletIcon;
            };
            polyline: PolylineConfig[];
        }
        
        interface DriveTrip {
            map: MapContent;
        }
        
        interface LeafletRouteContainer {
            [isoTimestamp: string]: DriveTrip;
        }
        
        // Hilfsfunktion: Berechnet die Distanz zwischen zwei Koordinaten in Metern (Haversine-Formel)
        function getDistanceInMeters(lat1: number, lon1: number, lat2: number, lon2: number): number {
            const R = 6371000; // Erdradius in Metern
            const dLat = (lat2 - lat1) * Math.PI / 180;
            const dLon = (lon2 - lon1) * Math.PI / 180;
            const a = 
                Math.sin(dLat / 2) * Math.sin(dLat / 2) +
                Math.cos(lat1 * Math.PI / 180) * Math.cos(lat2 * Math.PI / 180) * Math.sin(dLon / 2) * Math.sin(dLon / 2);
            const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
            return R * c;
        }
        
        // Erzeugt eine frische Map-Struktur für eine einzelne Fahrt
        function createNewTripStructure(colorIndex: number): DriveTrip {
            return {
                map: {
                    marker: [
                        {
                            latlng: [0.0, 0.0],
                            options: {
                                icon: "honda",
                                title: "Default"
                            },
                            tooltip: "Hover me"
                        }
                    ],
                    icons: {
                        honda: {
                            iconUrl: "/vis-2.0/SmartHome/tanken/honda_sv1.png",
                            iconSize: [45, 30],
                            iconAnchor: [15, 30],
                            popupAnchor: [0, -26],
                            shadowSize: [36, 36],
                            shadowAnchor: [15, 30]
                        }
                    },
                    polyline: [
                        {
                            latlng: [],
                            options: {
                                color: DRIVE_COLORS[colorIndex % DRIVE_COLORS.length],
                                weight: 3
                            },
                            iobOptions: {
                                fitBounds: true
                            }
                        }
                    ]
                }
            };
        }
        
        // =============================================================================
        // Initialisierung
        // =============================================================================
        async function init(): Promise<void> {
            await createStateAsync(DP_LAST_DATE, '', { type: 'string' });
            await createStateAsync(DP_LAST_STOP_TIME, 0, { type: 'number', name: 'Zeitstempel letzter Stop' });
        
            if (!(await existsStateAsync(DP_ROUTE_JSON))) {
                await createStateAsync(DP_ROUTE_JSON, '{}', {
                    name: 'Aktuelle Route für Leaflet',
                    type: 'string',
                    role: 'json'
                });
            }
        }
        
        // =============================================================================
        // Logik: Koordinaten hinzufügen mit zeitbasierter Objekt-Struktur & 50m Filter
        // =============================================================================
        async function addCoordinateToRoute(lat: number, lon: number): Promise<void> {
            try {
                const heute = new Date().toISOString().split('T')[0];
                const lastDateState = await getStateAsync(DP_LAST_DATE);
                const lastDate = lastDateState ? lastDateState.val : '';
        
                const state = await getStateAsync(DP_ROUTE_JSON);
                let routeData: LeafletRouteContainer = {};
        
                // 1. Reset bei neuem Tag
                if (lastDate !== heute) {
                    log(`[Traccar-Route] Neuer Tag erkannt. Reset der Route.`);
                    routeData = {};
                    await setStateAsync(DP_LAST_DATE, heute, true);
                    await setStateAsync(DP_LAST_STOP_TIME, 0, true);
                } else if (state && typeof state.val === 'string' && state.val !== '') {
                    routeData = JSON.parse(state.val) as LeafletRouteContainer;
                }
        
                // Alle vorhandenen Keys (Fahrten) ermitteln und sortieren
                let tripKeys = Object.keys(routeData).sort();
                const lastStopState = await getStateAsync(DP_LAST_STOP_TIME);
                const lastStopTime = lastStopState ? (lastStopState.val as number) : 0;
                const jetzt = Date.now();
        
                let currentTripKey: string;
        
                // Prüfen, ob eine neue Fahrt begonnen werden muss
                const isNewTripNeeded = tripKeys.length === 0 || (lastStopTime > 0 && (jetzt - lastStopTime) > (30 * 60 * 1000));
        
                if (isNewTripNeeded) {
                    if (tripKeys.length < 5) {
                        currentTripKey = new Date().toISOString();
                        log(`[Traccar-Route] Erstelle neue Fahrt unter Key: ${currentTripKey}`);
                        routeData[currentTripKey] = createNewTripStructure(tripKeys.length);
                        tripKeys.push(currentTripKey);
                    } else {
                        log(`[Traccar-Route] Pause > 30 Min, aber Maximum von 5 Fahrten erreicht. Nutze letzte Fahrt weiter.`, 'warn');
                        currentTripKey = tripKeys[tripKeys.length - 1];
                    }
                    await setStateAsync(DP_LAST_STOP_TIME, 0, true);
                } else {
                    currentTripKey = tripKeys[tripKeys.length - 1];
                }
        
                // Typisierte Referenz auf die aktive Fahrt holen
                const activeTrip: MapContent = routeData[currentTripKey].map;
        
                // 3. Polyline-Logik mit 50-Meter-Prüfung
                const latlngs = activeTrip.polyline[0].latlng;
        
                if (latlngs.length > 0) {
                    const lastPoint = latlngs[latlngs.length - 1];
                    
                    // Exakter Dubletten-Check
                    if (lastPoint[0] === lat && lastPoint[1] === lon) return;
        
                    // NEU: Berechne Abstand zum letzten aufgezeichneten Punkt der aktuellen Fahrt
                    const distance = getDistanceInMeters(lastPoint[0], lastPoint[1], lat, lon);
                    
                    if (distance < MIN_DISTANCE_METERS) {
                        // Der Punkt ist zu nah am vorherigen Punkt (GPS Drift in der Garage), wir ignorieren ihn für die Route
                        // Aber: Wir aktualisieren trotzdem den Live-Marker, damit das Auto auf der Karte exakt steht
                        if (activeTrip.marker && activeTrip.marker.length > 0) {
                            activeTrip.marker[0].latlng = [lat, lon];
                            await setStateAsync(DP_ROUTE_JSON, JSON.stringify(routeData), true);
                        }
                        return; 
                    }
                }
        
                // 2. Live-Position des Markers aktualisieren (wenn Punkt gültig oder erster Punkt)
                if (activeTrip.marker && activeTrip.marker.length > 0) {
                    activeTrip.marker[0].latlng = [lat, lon];
                }
        
                // Punkt zur Fahrt hinzufügen
                latlngs.push([lat, lon]);
        
                // Performance-Schutz pro Fahrt
                if (latlngs.length > 1500) latlngs.shift();
        
                await setStateAsync(DP_ROUTE_JSON, JSON.stringify(routeData), true);
        
            } catch (e) {
                log(`[Leaflet-Route] Fehler beim Hinzufügen der Koordinate: ${e}`, 'error');
            }
        }
        
        // =============================================================================
        // Trigger
        // =============================================================================
        on({ id: DP_LAT, change: 'ne' }, async (obj) => {
            const lat = obj.state ? parseFloat(obj.state.val as string) : null;
            const lonState = await getStateAsync(DP_LON);
            const motionState = await getStateAsync(DP_MOTION);
        
            if (lat !== null && lonState && lonState.val !== null) {
                const lon = parseFloat(lonState.val as string);
                const isMoving = motionState ? !!motionState.val : true;
        
                // Wenn Traccar meldet, dass sich das Auto bewegt, jagen wir es durch die Prüfung
                if (isMoving && !isNaN(lat) && !isNaN(lon)) {
                    await addCoordinateToRoute(lat, lon);
                }
            }
        });
        
        on({ id: DP_MOTION, change: 'ne' }, async (obj) => {
            if (obj.state) {
                const isMoving = !!obj.state.val;
                
                if (!isMoving) {
                    log(`[Traccar-Route] Fahrzeug steht. Starte Haltezeit-Überwachung.`);
                    await setStateAsync(DP_LAST_STOP_TIME, Date.now(), true);
                } else {
                    const lastStopState = await getStateAsync(DP_LAST_STOP_TIME);
                    const lastStopTime = lastStopState ? (lastStopState.val as number) : 0;
                    
                    if (lastStopTime > 0 && (Date.now() - lastStopTime) <= (30 * 60 * 1000)) {
                        log(`[Traccar-Route] Fahrt nach kurzem Zwischenstopp (< 30 Min) fortgesetzt.`);
                        await setStateAsync(DP_LAST_STOP_TIME, 0, true);
                    }
                }
            }
        });
        
        init();
        
        OliverIOO 1 Antwort Letzte Antwort
        0
        • icebearI icebear

          @oliverio

          Ich häng mal das TypeScript dran, dann siehte ja:
          Edit: 10.07.26 21:33

          // =============================================================================
          // Konfiguration
          // =============================================================================
          const DP_LAT: string = 'traccar.0.devices.1.latitude';
          const DP_LON: string = 'traccar.0.devices.1.longitude';
          const DP_MOTION: string = 'traccar.0.devices.1.motion';
          const DP_ROUTE_JSON: string = '0_userdata.0.CarLoad.CurrentRouteJSON';
          const DP_LAST_DATE: string = '0_userdata.0.CarLoad.LastDriveDate';
          const DP_LAST_STOP_TIME: string = '0_userdata.0.CarLoad.LastStopTime';
          
          // NEU: Mindestabstand in Metern, bevor ein neuer Punkt gespeichert wird
          const MIN_DISTANCE_METERS: number = 50; 
          
          // Farben für die verschiedenen Fahrten des Tages (max 5)
          const DRIVE_COLORS: string[] = ['#3d3d5c', '#e65c00', '#009933', '#cc0000', '#9900cc']; 
          
          // Interfaces für die Struktur
          interface LeafletMarker {
              latlng: [number, number];
              options: {
                  icon: string;
                  title: string;
              };
              tooltip?: string;
          }
          
          interface LeafletIcon {
              iconUrl: string;
              iconSize: [number, number];
              iconAnchor: [number, number];
              popupAnchor?: [number, number];
              shadowSize?: [number, number];
              shadowAnchor?: [number, number];
          }
          
          interface PolylineConfig {
              latlng: [number, number][];
              options: { color: string; weight: number };
              iobOptions?: { fitBounds: boolean };
          }
          
          interface MapContent {
              marker: LeafletMarker[];
              icons: { 
                  honda: LeafletIcon;
              };
              polyline: PolylineConfig[];
          }
          
          interface DriveTrip {
              map: MapContent;
          }
          
          interface LeafletRouteContainer {
              [isoTimestamp: string]: DriveTrip;
          }
          
          // Hilfsfunktion: Berechnet die Distanz zwischen zwei Koordinaten in Metern (Haversine-Formel)
          function getDistanceInMeters(lat1: number, lon1: number, lat2: number, lon2: number): number {
              const R = 6371000; // Erdradius in Metern
              const dLat = (lat2 - lat1) * Math.PI / 180;
              const dLon = (lon2 - lon1) * Math.PI / 180;
              const a = 
                  Math.sin(dLat / 2) * Math.sin(dLat / 2) +
                  Math.cos(lat1 * Math.PI / 180) * Math.cos(lat2 * Math.PI / 180) * Math.sin(dLon / 2) * Math.sin(dLon / 2);
              const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
              return R * c;
          }
          
          // Erzeugt eine frische Map-Struktur für eine einzelne Fahrt
          function createNewTripStructure(colorIndex: number): DriveTrip {
              return {
                  map: {
                      marker: [
                          {
                              latlng: [0.0, 0.0],
                              options: {
                                  icon: "honda",
                                  title: "Default"
                              },
                              tooltip: "Hover me"
                          }
                      ],
                      icons: {
                          honda: {
                              iconUrl: "/vis-2.0/SmartHome/tanken/honda_sv1.png",
                              iconSize: [45, 30],
                              iconAnchor: [15, 30],
                              popupAnchor: [0, -26],
                              shadowSize: [36, 36],
                              shadowAnchor: [15, 30]
                          }
                      },
                      polyline: [
                          {
                              latlng: [],
                              options: {
                                  color: DRIVE_COLORS[colorIndex % DRIVE_COLORS.length],
                                  weight: 3
                              },
                              iobOptions: {
                                  fitBounds: true
                              }
                          }
                      ]
                  }
              };
          }
          
          // =============================================================================
          // Initialisierung
          // =============================================================================
          async function init(): Promise<void> {
              await createStateAsync(DP_LAST_DATE, '', { type: 'string' });
              await createStateAsync(DP_LAST_STOP_TIME, 0, { type: 'number', name: 'Zeitstempel letzter Stop' });
          
              if (!(await existsStateAsync(DP_ROUTE_JSON))) {
                  await createStateAsync(DP_ROUTE_JSON, '{}', {
                      name: 'Aktuelle Route für Leaflet',
                      type: 'string',
                      role: 'json'
                  });
              }
          }
          
          // =============================================================================
          // Logik: Koordinaten hinzufügen mit zeitbasierter Objekt-Struktur & 50m Filter
          // =============================================================================
          async function addCoordinateToRoute(lat: number, lon: number): Promise<void> {
              try {
                  const heute = new Date().toISOString().split('T')[0];
                  const lastDateState = await getStateAsync(DP_LAST_DATE);
                  const lastDate = lastDateState ? lastDateState.val : '';
          
                  const state = await getStateAsync(DP_ROUTE_JSON);
                  let routeData: LeafletRouteContainer = {};
          
                  // 1. Reset bei neuem Tag
                  if (lastDate !== heute) {
                      log(`[Traccar-Route] Neuer Tag erkannt. Reset der Route.`);
                      routeData = {};
                      await setStateAsync(DP_LAST_DATE, heute, true);
                      await setStateAsync(DP_LAST_STOP_TIME, 0, true);
                  } else if (state && typeof state.val === 'string' && state.val !== '') {
                      routeData = JSON.parse(state.val) as LeafletRouteContainer;
                  }
          
                  // Alle vorhandenen Keys (Fahrten) ermitteln und sortieren
                  let tripKeys = Object.keys(routeData).sort();
                  const lastStopState = await getStateAsync(DP_LAST_STOP_TIME);
                  const lastStopTime = lastStopState ? (lastStopState.val as number) : 0;
                  const jetzt = Date.now();
          
                  let currentTripKey: string;
          
                  // Prüfen, ob eine neue Fahrt begonnen werden muss
                  const isNewTripNeeded = tripKeys.length === 0 || (lastStopTime > 0 && (jetzt - lastStopTime) > (30 * 60 * 1000));
          
                  if (isNewTripNeeded) {
                      if (tripKeys.length < 5) {
                          currentTripKey = new Date().toISOString();
                          log(`[Traccar-Route] Erstelle neue Fahrt unter Key: ${currentTripKey}`);
                          routeData[currentTripKey] = createNewTripStructure(tripKeys.length);
                          tripKeys.push(currentTripKey);
                      } else {
                          log(`[Traccar-Route] Pause > 30 Min, aber Maximum von 5 Fahrten erreicht. Nutze letzte Fahrt weiter.`, 'warn');
                          currentTripKey = tripKeys[tripKeys.length - 1];
                      }
                      await setStateAsync(DP_LAST_STOP_TIME, 0, true);
                  } else {
                      currentTripKey = tripKeys[tripKeys.length - 1];
                  }
          
                  // Typisierte Referenz auf die aktive Fahrt holen
                  const activeTrip: MapContent = routeData[currentTripKey].map;
          
                  // 3. Polyline-Logik mit 50-Meter-Prüfung
                  const latlngs = activeTrip.polyline[0].latlng;
          
                  if (latlngs.length > 0) {
                      const lastPoint = latlngs[latlngs.length - 1];
                      
                      // Exakter Dubletten-Check
                      if (lastPoint[0] === lat && lastPoint[1] === lon) return;
          
                      // NEU: Berechne Abstand zum letzten aufgezeichneten Punkt der aktuellen Fahrt
                      const distance = getDistanceInMeters(lastPoint[0], lastPoint[1], lat, lon);
                      
                      if (distance < MIN_DISTANCE_METERS) {
                          // Der Punkt ist zu nah am vorherigen Punkt (GPS Drift in der Garage), wir ignorieren ihn für die Route
                          // Aber: Wir aktualisieren trotzdem den Live-Marker, damit das Auto auf der Karte exakt steht
                          if (activeTrip.marker && activeTrip.marker.length > 0) {
                              activeTrip.marker[0].latlng = [lat, lon];
                              await setStateAsync(DP_ROUTE_JSON, JSON.stringify(routeData), true);
                          }
                          return; 
                      }
                  }
          
                  // 2. Live-Position des Markers aktualisieren (wenn Punkt gültig oder erster Punkt)
                  if (activeTrip.marker && activeTrip.marker.length > 0) {
                      activeTrip.marker[0].latlng = [lat, lon];
                  }
          
                  // Punkt zur Fahrt hinzufügen
                  latlngs.push([lat, lon]);
          
                  // Performance-Schutz pro Fahrt
                  if (latlngs.length > 1500) latlngs.shift();
          
                  await setStateAsync(DP_ROUTE_JSON, JSON.stringify(routeData), true);
          
              } catch (e) {
                  log(`[Leaflet-Route] Fehler beim Hinzufügen der Koordinate: ${e}`, 'error');
              }
          }
          
          // =============================================================================
          // Trigger
          // =============================================================================
          on({ id: DP_LAT, change: 'ne' }, async (obj) => {
              const lat = obj.state ? parseFloat(obj.state.val as string) : null;
              const lonState = await getStateAsync(DP_LON);
              const motionState = await getStateAsync(DP_MOTION);
          
              if (lat !== null && lonState && lonState.val !== null) {
                  const lon = parseFloat(lonState.val as string);
                  const isMoving = motionState ? !!motionState.val : true;
          
                  // Wenn Traccar meldet, dass sich das Auto bewegt, jagen wir es durch die Prüfung
                  if (isMoving && !isNaN(lat) && !isNaN(lon)) {
                      await addCoordinateToRoute(lat, lon);
                  }
              }
          });
          
          on({ id: DP_MOTION, change: 'ne' }, async (obj) => {
              if (obj.state) {
                  const isMoving = !!obj.state.val;
                  
                  if (!isMoving) {
                      log(`[Traccar-Route] Fahrzeug steht. Starte Haltezeit-Überwachung.`);
                      await setStateAsync(DP_LAST_STOP_TIME, Date.now(), true);
                  } else {
                      const lastStopState = await getStateAsync(DP_LAST_STOP_TIME);
                      const lastStopTime = lastStopState ? (lastStopState.val as number) : 0;
                      
                      if (lastStopTime > 0 && (Date.now() - lastStopTime) <= (30 * 60 * 1000)) {
                          log(`[Traccar-Route] Fahrt nach kurzem Zwischenstopp (< 30 Min) fortgesetzt.`);
                          await setStateAsync(DP_LAST_STOP_TIME, 0, true);
                      }
                  }
              }
          });
          
          init();
          
          OliverIOO Offline
          OliverIOO Offline
          OliverIO
          schrieb am zuletzt editiert von
          #52

          @icebear

          Kleine Anmerkung was mir aufgefallen ist
          Wen dp_lon nach dp_lat aktualisiert wird, könnte es in der Aufzeichnung ein kleine Differenz geben, da dein Skript nur auf Änderung von dp_lat horcht

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

          icebearI 1 Antwort Letzte Antwort
          0
          • OliverIOO OliverIO

            @icebear

            Kleine Anmerkung was mir aufgefallen ist
            Wen dp_lon nach dp_lat aktualisiert wird, könnte es in der Aufzeichnung ein kleine Differenz geben, da dein Skript nur auf Änderung von dp_lat horcht

            icebearI Online
            icebearI Online
            icebear
            schrieb zuletzt editiert von icebear
            #53

            @OliverIO sagte:

            Wen dp_lon nach dp_lat aktualisiert wird, könnte es in der Aufzeichnung ein kleine Differenz geben, da dein Skript nur auf Änderung von dp_lat horcht

            Passt aber ganz gut, mit der Route bin ich eigentlich zufrieden, ich hab jetzt mal den ersten Test mit nur einer Fahrt gemacht, und so wie es ausieht funktioniert das schonmal.

            traccar_1.png

            Eine Frage hab ich noch, ich hab zwar gefunden wie ich die Farbe vom Auswahl-Widget ändern kann, kann man auch die Farbe von dem Icon ändern? Das schwarze Icon sieht man jetzt nich mehr.

            Ich hab wohl immernoch das Problem das die Route und der Marker immer nur einmal angezeigt wird, wenn ich View wechsel und wieder zurück gehe, dann ist die Karte leer.

            ich hab mal F12 aufgerufen und bekomme diese Meldung:

            Uncaught TypeError: Cannot read properties of undefined (reading 'map')
                at onSelectionChanged (<anonymous>:28:135)
                at <anonymous>:19:13
                at <anonymous>:30:11
                at <anonymous>:38:3
                at JSONTemplateWidget-CFWfawQI.js:1462:1320
                at br (index-5AUwr9-i.js:4430:23)
                at Yn (index-5AUwr9-i.js:5443:21)
                at wo (index-5AUwr9-i.js:5106:5)
                at dn (index-5AUwr9-i.js:2416:17)
                at Ec (index-5AUwr9-i.js:5360:132)
            onSelectionChanged @ VM12429:28
            (anonymous) @ VM12429:19
            (anonymous) @ VM12429:30
            (anonymous) @ VM12429:38
            (anonymous) @ JSONTemplateWidget-CFWfawQI.js:1462
            br @ index-5AUwr9-i.js:4430
            Yn @ index-5AUwr9-i.js:5443
            wo @ index-5AUwr9-i.js:5106
            dn @ index-5AUwr9-i.js:2416
            Ec @ index-5AUwr9-i.js:5360
            hn @ index-5AUwr9-i.js:5329
            da @ index-5AUwr9-i.js:5056
            E @ index-5AUwr9-i.js:101
            rt @ index-5AUwr9-i.js:126
            PendingScript
            (anonymous) @ JSONTemplateWidget-CFWfawQI.js:1462
            br @ index-5AUwr9-i.js:4430
            Yn @ index-5AUwr9-i.js:5443
            wo @ index-5AUwr9-i.js:5106
            dn @ index-5AUwr9-i.js:2416
            Ec @ index-5AUwr9-i.js:5360
            hn @ index-5AUwr9-i.js:5329
            da @ index-5AUwr9-i.js:5056
            E @ index-5AUwr9-i.js:101
            rt @ index-5AUwr9-i.js:126
            postMessage
            lt @ index-5AUwr9-i.js:139
            rt @ index-5AUwr9-i.js:128
            postMessage
            lt @ index-5AUwr9-i.js:139
            il @ index-5AUwr9-i.js:145
            e.unstable_scheduleCallback @ index-5AUwr9-i.js:224
            wa @ index-5AUwr9-i.js:5669
            fe @ index-5AUwr9-i.js:4991
            Te @ index-5AUwr9-i.js:4963
            enqueueSetState @ index-5AUwr9-i.js:3530
            p.setState @ index-DN8zaYv1.js:31
            (anonymous) @ visRxWidget-CKSPQ3Fi.js:2459
            setTimeout
            onStateChanged @ visRxWidget-CKSPQ3Fi.js:2456
            (anonymous) @ index-CySOTs8E.js:55167
            (anonymous) @ index-CySOTs8E.js:55167
            (anonymous) @ socket.io.js:8
            (anonymous) @ socket.io.js:8
            (anonymous) @ socket.io.js:8
            (anonymous) @ socket.io.js:6
            (anonymous) @ socket.io.js:6
            (anonymous) @ socket.io.js:8
            (anonymous) @ socket.io.js:6
            (anonymous) @ socket.io.js:6
            (anonymous) @ socket.io.js:6
            (anonymous) @ socket.io.js:8
            (anonymous) @ socket.io.js:6
            (anonymous) @ socket.io.js:6
            (anonymous) @ socket.io.js:6
            (anonymous) @ socket.io.js:6
            (anonymous) @ socket.io.js:7
            (anonymous) @ socket.io.js:7
            (anonymous) @ socket.io.js:8
            

            Edit:

            Hier hab ich nochmal was ich in den Widgets eingetragen hab:

            traccar_3.png traccar_2.png

            OliverIOO 1 Antwort Letzte Antwort
            0
            • icebearI icebear

              @OliverIO sagte:

              Wen dp_lon nach dp_lat aktualisiert wird, könnte es in der Aufzeichnung ein kleine Differenz geben, da dein Skript nur auf Änderung von dp_lat horcht

              Passt aber ganz gut, mit der Route bin ich eigentlich zufrieden, ich hab jetzt mal den ersten Test mit nur einer Fahrt gemacht, und so wie es ausieht funktioniert das schonmal.

              traccar_1.png

              Eine Frage hab ich noch, ich hab zwar gefunden wie ich die Farbe vom Auswahl-Widget ändern kann, kann man auch die Farbe von dem Icon ändern? Das schwarze Icon sieht man jetzt nich mehr.

              Ich hab wohl immernoch das Problem das die Route und der Marker immer nur einmal angezeigt wird, wenn ich View wechsel und wieder zurück gehe, dann ist die Karte leer.

              ich hab mal F12 aufgerufen und bekomme diese Meldung:

              Uncaught TypeError: Cannot read properties of undefined (reading 'map')
                  at onSelectionChanged (<anonymous>:28:135)
                  at <anonymous>:19:13
                  at <anonymous>:30:11
                  at <anonymous>:38:3
                  at JSONTemplateWidget-CFWfawQI.js:1462:1320
                  at br (index-5AUwr9-i.js:4430:23)
                  at Yn (index-5AUwr9-i.js:5443:21)
                  at wo (index-5AUwr9-i.js:5106:5)
                  at dn (index-5AUwr9-i.js:2416:17)
                  at Ec (index-5AUwr9-i.js:5360:132)
              onSelectionChanged @ VM12429:28
              (anonymous) @ VM12429:19
              (anonymous) @ VM12429:30
              (anonymous) @ VM12429:38
              (anonymous) @ JSONTemplateWidget-CFWfawQI.js:1462
              br @ index-5AUwr9-i.js:4430
              Yn @ index-5AUwr9-i.js:5443
              wo @ index-5AUwr9-i.js:5106
              dn @ index-5AUwr9-i.js:2416
              Ec @ index-5AUwr9-i.js:5360
              hn @ index-5AUwr9-i.js:5329
              da @ index-5AUwr9-i.js:5056
              E @ index-5AUwr9-i.js:101
              rt @ index-5AUwr9-i.js:126
              PendingScript
              (anonymous) @ JSONTemplateWidget-CFWfawQI.js:1462
              br @ index-5AUwr9-i.js:4430
              Yn @ index-5AUwr9-i.js:5443
              wo @ index-5AUwr9-i.js:5106
              dn @ index-5AUwr9-i.js:2416
              Ec @ index-5AUwr9-i.js:5360
              hn @ index-5AUwr9-i.js:5329
              da @ index-5AUwr9-i.js:5056
              E @ index-5AUwr9-i.js:101
              rt @ index-5AUwr9-i.js:126
              postMessage
              lt @ index-5AUwr9-i.js:139
              rt @ index-5AUwr9-i.js:128
              postMessage
              lt @ index-5AUwr9-i.js:139
              il @ index-5AUwr9-i.js:145
              e.unstable_scheduleCallback @ index-5AUwr9-i.js:224
              wa @ index-5AUwr9-i.js:5669
              fe @ index-5AUwr9-i.js:4991
              Te @ index-5AUwr9-i.js:4963
              enqueueSetState @ index-5AUwr9-i.js:3530
              p.setState @ index-DN8zaYv1.js:31
              (anonymous) @ visRxWidget-CKSPQ3Fi.js:2459
              setTimeout
              onStateChanged @ visRxWidget-CKSPQ3Fi.js:2456
              (anonymous) @ index-CySOTs8E.js:55167
              (anonymous) @ index-CySOTs8E.js:55167
              (anonymous) @ socket.io.js:8
              (anonymous) @ socket.io.js:8
              (anonymous) @ socket.io.js:8
              (anonymous) @ socket.io.js:6
              (anonymous) @ socket.io.js:6
              (anonymous) @ socket.io.js:8
              (anonymous) @ socket.io.js:6
              (anonymous) @ socket.io.js:6
              (anonymous) @ socket.io.js:6
              (anonymous) @ socket.io.js:8
              (anonymous) @ socket.io.js:6
              (anonymous) @ socket.io.js:6
              (anonymous) @ socket.io.js:6
              (anonymous) @ socket.io.js:6
              (anonymous) @ socket.io.js:7
              (anonymous) @ socket.io.js:7
              (anonymous) @ socket.io.js:8
              

              Edit:

              Hier hab ich nochmal was ich in den Widgets eingetragen hab:

              traccar_3.png traccar_2.png

              OliverIOO Offline
              OliverIOO Offline
              OliverIO
              schrieb zuletzt editiert von
              #54

              @icebear

              Gib mir mal deinen aktuellen Stand des templates und welche Version vis-2 und jsontemplate nutzt du?

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

              icebearI 1 Antwort Letzte Antwort
              0
              • OliverIOO OliverIO

                @icebear

                Gib mir mal deinen aktuellen Stand des templates und welche Version vis-2 und jsontemplate nutzt du?

                icebearI Online
                icebearI Online
                icebear
                schrieb zuletzt editiert von
                #55

                @OliverIO sagte:

                Gib mir mal deinen aktuellen Stand des templates und welche Version vis-2 und jsontemplate nutzt du?

                Ich hab bei mir die Versionen:

                • VIS-2 v2.14.3

                • vis-mapwidgets v0.1.1

                • vis-jsontemplate v4.4.3

                Ich häng dir auchnochmal das json von heute Mittag dran:

                {
                  "2026-07-11T11:31:55.044Z": {
                    "map": {
                      "marker": [
                        {
                          "latlng": [
                            50.7258209,
                            6.5616916
                          ],
                          "options": {
                            "icon": "honda",
                            "title": "Default"
                          },
                          "tooltip": "Hover me",
                          "iobOptions": {
                            "fitBounds": true
                          }
                        }
                      ],
                      "icons": {
                        "honda": {
                          "iconUrl": "/vis-2.0/SmartHome/tanken/honda_sv1.png",
                          "iconSize": [
                            45,
                            30
                          ],
                          "iconAnchor": [
                            15,
                            30
                          ],
                          "popupAnchor": [
                            0,
                            -26
                          ],
                          "shadowSize": [
                            36,
                            36
                          ],
                          "shadowAnchor": [
                            15,
                            30
                          ]
                        }
                      },
                      "polyline": [
                        {
                          "latlng": [
                            [
                              50.725799,
                              6.5616099
                            ],
                            [
                              50.7251238,
                              6.5605654
                            ],
                            [
                              50.7246166,
                              6.5609528
                            ],
                            [
                              50.7240711,
                              6.561601
                            ],
                            [
                              50.723522,
                              6.5622009
                            ],
                            [
                              50.7230547,
                              6.5628025
                            ],
                            [
                              50.7225897,
                              6.5633924
                            ],
                            [
                              50.7219501,
                              6.5644493
                            ],
                            [
                              50.7211811,
                              6.5647788
                            ],
                            [
                              50.7207659,
                              6.5650656
                            ],
                            [
                              50.7203349,
                              6.5656474
                            ],
                            [
                              50.7198957,
                              6.5659433
                            ],
                            [
                              50.7190173,
                              6.5662387
                            ],
                            [
                              50.718582,
                              6.5665369
                            ],
                            [
                              50.7181532,
                              6.5668324
                            ],
                            [
                              50.717732,
                              6.5671206
                            ],
                            [
                              50.7173251,
                              6.5676627
                            ],
                            [
                              50.7165625,
                              6.567859
                            ],
                            [
                              50.7159213,
                              6.5680011
                            ],
                            [
                              50.7159217,
                              6.5690802
                            ],
                            [
                              50.7162137,
                              6.5703503
                            ],
                            [
                              50.7163688,
                              6.5710893
                            ],
                            [
                              50.7165208,
                              6.5718595
                            ],
                            [
                              50.7166787,
                              6.5726256
                            ],
                            [
                              50.7168475,
                              6.5733845
                            ],
                            [
                              50.7170238,
                              6.5741235
                            ],
                            [
                              50.7171892,
                              6.5748408
                            ],
                            [
                              50.7173636,
                              6.5755007
                            ],
                            [
                              50.7176644,
                              6.5766643
                            ],
                            [
                              50.7177859,
                              6.5775401
                            ],
                            [
                              50.7179652,
                              6.5783119
                            ],
                            [
                              50.7184016,
                              6.5794199
                            ],
                            [
                              50.7187902,
                              6.5799019
                            ],
                            [
                              50.7190182,
                              6.5810498
                            ],
                            [
                              50.7195261,
                              6.5816723
                            ],
                            [
                              50.7198009,
                              6.5823029
                            ],
                            [
                              50.7200899,
                              6.5829285
                            ],
                            [
                              50.7203958,
                              6.5841725
                            ],
                            [
                              50.7210481,
                              6.5847941
                            ],
                            [
                              50.7213975,
                              6.5854123
                            ],
                            [
                              50.7217527,
                              6.5860382
                            ],
                            [
                              50.7221206,
                              6.5866526
                            ],
                            [
                              50.7228596,
                              6.5878512
                            ],
                            [
                              50.7232216,
                              6.5884268
                            ],
                            [
                              50.7235814,
                              6.5895314
                            ],
                            [
                              50.7242882,
                              6.590077
                            ],
                            [
                              50.7246376,
                              6.5906174
                            ],
                            [
                              50.724991,
                              6.5911495
                            ],
                            [
                              50.7253374,
                              6.5922095
                            ],
                            [
                              50.7260145,
                              6.5932597
                            ],
                            [
                              50.7266419,
                              6.5937876
                            ],
                            [
                              50.7271892,
                              6.5947667
                            ],
                            [
                              50.7276852,
                              6.5963161
                            ],
                            [
                              50.7281664,
                              6.5968287
                            ],
                            [
                              50.728378,
                              6.5977711
                            ],
                            [
                              50.728757,
                              6.5981952
                            ],
                            [
                              50.7289921,
                              6.5989111
                            ],
                            [
                              50.7297176,
                              6.598413
                            ],
                            [
                              50.7303885,
                              6.5972797
                            ],
                            [
                              50.7310067,
                              6.5969014
                            ],
                            [
                              50.7315278,
                              6.5962554
                            ],
                            [
                              50.7319837,
                              6.5956623
                            ],
                            [
                              50.7325074,
                              6.5950903
                            ],
                            [
                              50.7329774,
                              6.5943489
                            ],
                            [
                              50.7334461,
                              6.5942692
                            ],
                            [
                              50.7336491,
                              6.5949733
                            ],
                            [
                              50.7332343,
                              6.5945766
                            ],
                            [
                              50.7330614,
                              6.5939065
                            ],
                            [
                              50.7323787,
                              6.5947169
                            ],
                            [
                              50.7317675,
                              6.5951215
                            ],
                            [
                              50.7311164,
                              6.595912
                            ],
                            [
                              50.7307921,
                              6.5967118
                            ],
                            [
                              50.7301439,
                              6.5970905
                            ],
                            [
                              50.7295434,
                              6.597821
                            ],
                            [
                              50.7290658,
                              6.59839
                            ],
                            [
                              50.7286366,
                              6.5986282
                            ],
                            [
                              50.7282548,
                              6.5978259
                            ],
                            [
                              50.7277666,
                              6.5968633
                            ],
                            [
                              50.7274929,
                              6.5957611
                            ],
                            [
                              50.7268985,
                              6.5946084
                            ],
                            [
                              50.7262481,
                              6.5940331
                            ],
                            [
                              50.7259021,
                              6.5929041
                            ],
                            [
                              50.7251837,
                              6.591794
                            ],
                            [
                              50.724445,
                              6.5912374
                            ],
                            [
                              50.7240686,
                              6.590676
                            ],
                            [
                              50.7237026,
                              6.5901055
                            ],
                            [
                              50.7235015,
                              6.5892436
                            ],
                            [
                              50.7227379,
                              6.588662
                            ],
                            [
                              50.7223558,
                              6.58807
                            ],
                            [
                              50.7219749,
                              6.5874671
                            ],
                            [
                              50.721601,
                              6.5865422
                            ],
                            [
                              50.7210562,
                              6.5859094
                            ],
                            [
                              50.7207213,
                              6.5852672
                            ],
                            [
                              50.7202175,
                              6.584299
                            ],
                            [
                              50.7199076,
                              6.5829942
                            ],
                            [
                              50.7196087,
                              6.582337
                            ],
                            [
                              50.7191027,
                              6.5817123
                            ],
                            [
                              50.7187135,
                              6.5801152
                            ],
                            [
                              50.7182688,
                              6.5792968
                            ],
                            [
                              50.7182556,
                              6.5784151
                            ],
                            [
                              50.7178702,
                              6.5780466
                            ],
                            [
                              50.7175446,
                              6.5771647
                            ],
                            [
                              50.7171914,
                              6.576015
                            ],
                            [
                              50.7168716,
                              6.5746561
                            ],
                            [
                              50.7167147,
                              6.5732628
                            ],
                            [
                              50.7164239,
                              6.5725964
                            ],
                            [
                              50.7162866,
                              6.5712233
                            ],
                            [
                              50.7160372,
                              6.5705925
                            ],
                            [
                              50.7158421,
                              6.5694239
                            ],
                            [
                              50.7157773,
                              6.5684483
                            ],
                            [
                              50.7163356,
                              6.5681035
                            ],
                            [
                              50.7170592,
                              6.5679911
                            ],
                            [
                              50.717881,
                              6.5673416
                            ],
                            [
                              50.7193092,
                              6.5667069
                            ],
                            [
                              50.7197753,
                              6.5663782
                            ],
                            [
                              50.7202366,
                              6.5657502
                            ],
                            [
                              50.7206875,
                              6.5657502
                            ],
                            [
                              50.7211247,
                              6.5654476
                            ],
                            [
                              50.7218717,
                              6.5648738
                            ],
                            [
                              50.7224139,
                              6.5642734
                            ],
                            [
                              50.7228701,
                              6.5636795
                            ],
                            [
                              50.7234011,
                              6.5631349
                            ],
                            [
                              50.7239938,
                              6.5623962
                            ],
                            [
                              50.7245283,
                              6.5617643
                            ],
                            [
                              50.7250234,
                              6.56116
                            ],
                            [
                              50.7254054,
                              6.5607061
                            ],
                            [
                              50.7259625,
                              6.5610327
                            ],
                            [
                              50.7258509,
                              6.5617928
                            ]
                          ],
                          "options": {
                            "color": "#3d3d5c",
                            "weight": 3
                          },
                          "iobOptions": {
                            "fitBounds": true
                          }
                        }
                      ]
                    }
                  }
                }
                

                Ich habs grad auchnochmal ausprobiert, wenn ich die View wechsel, und wieder zurück gehe in der 'Runtime' dann zeigt die Karte manchmal ein Zoom auf das Haus mit dem Marker und beim nächstenmal die Karte in Zoom-Stufe 12 ohne Marker, Route oder sonstwas.
                Manchmal kann ich im jsontemplate ein Datum auswählen und manchmal nicht.

                OliverIOO 1 Antwort Letzte Antwort
                0
                • icebearI icebear

                  @OliverIO sagte:

                  Gib mir mal deinen aktuellen Stand des templates und welche Version vis-2 und jsontemplate nutzt du?

                  Ich hab bei mir die Versionen:

                  • VIS-2 v2.14.3

                  • vis-mapwidgets v0.1.1

                  • vis-jsontemplate v4.4.3

                  Ich häng dir auchnochmal das json von heute Mittag dran:

                  {
                    "2026-07-11T11:31:55.044Z": {
                      "map": {
                        "marker": [
                          {
                            "latlng": [
                              50.7258209,
                              6.5616916
                            ],
                            "options": {
                              "icon": "honda",
                              "title": "Default"
                            },
                            "tooltip": "Hover me",
                            "iobOptions": {
                              "fitBounds": true
                            }
                          }
                        ],
                        "icons": {
                          "honda": {
                            "iconUrl": "/vis-2.0/SmartHome/tanken/honda_sv1.png",
                            "iconSize": [
                              45,
                              30
                            ],
                            "iconAnchor": [
                              15,
                              30
                            ],
                            "popupAnchor": [
                              0,
                              -26
                            ],
                            "shadowSize": [
                              36,
                              36
                            ],
                            "shadowAnchor": [
                              15,
                              30
                            ]
                          }
                        },
                        "polyline": [
                          {
                            "latlng": [
                              [
                                50.725799,
                                6.5616099
                              ],
                              [
                                50.7251238,
                                6.5605654
                              ],
                              [
                                50.7246166,
                                6.5609528
                              ],
                              [
                                50.7240711,
                                6.561601
                              ],
                              [
                                50.723522,
                                6.5622009
                              ],
                              [
                                50.7230547,
                                6.5628025
                              ],
                              [
                                50.7225897,
                                6.5633924
                              ],
                              [
                                50.7219501,
                                6.5644493
                              ],
                              [
                                50.7211811,
                                6.5647788
                              ],
                              [
                                50.7207659,
                                6.5650656
                              ],
                              [
                                50.7203349,
                                6.5656474
                              ],
                              [
                                50.7198957,
                                6.5659433
                              ],
                              [
                                50.7190173,
                                6.5662387
                              ],
                              [
                                50.718582,
                                6.5665369
                              ],
                              [
                                50.7181532,
                                6.5668324
                              ],
                              [
                                50.717732,
                                6.5671206
                              ],
                              [
                                50.7173251,
                                6.5676627
                              ],
                              [
                                50.7165625,
                                6.567859
                              ],
                              [
                                50.7159213,
                                6.5680011
                              ],
                              [
                                50.7159217,
                                6.5690802
                              ],
                              [
                                50.7162137,
                                6.5703503
                              ],
                              [
                                50.7163688,
                                6.5710893
                              ],
                              [
                                50.7165208,
                                6.5718595
                              ],
                              [
                                50.7166787,
                                6.5726256
                              ],
                              [
                                50.7168475,
                                6.5733845
                              ],
                              [
                                50.7170238,
                                6.5741235
                              ],
                              [
                                50.7171892,
                                6.5748408
                              ],
                              [
                                50.7173636,
                                6.5755007
                              ],
                              [
                                50.7176644,
                                6.5766643
                              ],
                              [
                                50.7177859,
                                6.5775401
                              ],
                              [
                                50.7179652,
                                6.5783119
                              ],
                              [
                                50.7184016,
                                6.5794199
                              ],
                              [
                                50.7187902,
                                6.5799019
                              ],
                              [
                                50.7190182,
                                6.5810498
                              ],
                              [
                                50.7195261,
                                6.5816723
                              ],
                              [
                                50.7198009,
                                6.5823029
                              ],
                              [
                                50.7200899,
                                6.5829285
                              ],
                              [
                                50.7203958,
                                6.5841725
                              ],
                              [
                                50.7210481,
                                6.5847941
                              ],
                              [
                                50.7213975,
                                6.5854123
                              ],
                              [
                                50.7217527,
                                6.5860382
                              ],
                              [
                                50.7221206,
                                6.5866526
                              ],
                              [
                                50.7228596,
                                6.5878512
                              ],
                              [
                                50.7232216,
                                6.5884268
                              ],
                              [
                                50.7235814,
                                6.5895314
                              ],
                              [
                                50.7242882,
                                6.590077
                              ],
                              [
                                50.7246376,
                                6.5906174
                              ],
                              [
                                50.724991,
                                6.5911495
                              ],
                              [
                                50.7253374,
                                6.5922095
                              ],
                              [
                                50.7260145,
                                6.5932597
                              ],
                              [
                                50.7266419,
                                6.5937876
                              ],
                              [
                                50.7271892,
                                6.5947667
                              ],
                              [
                                50.7276852,
                                6.5963161
                              ],
                              [
                                50.7281664,
                                6.5968287
                              ],
                              [
                                50.728378,
                                6.5977711
                              ],
                              [
                                50.728757,
                                6.5981952
                              ],
                              [
                                50.7289921,
                                6.5989111
                              ],
                              [
                                50.7297176,
                                6.598413
                              ],
                              [
                                50.7303885,
                                6.5972797
                              ],
                              [
                                50.7310067,
                                6.5969014
                              ],
                              [
                                50.7315278,
                                6.5962554
                              ],
                              [
                                50.7319837,
                                6.5956623
                              ],
                              [
                                50.7325074,
                                6.5950903
                              ],
                              [
                                50.7329774,
                                6.5943489
                              ],
                              [
                                50.7334461,
                                6.5942692
                              ],
                              [
                                50.7336491,
                                6.5949733
                              ],
                              [
                                50.7332343,
                                6.5945766
                              ],
                              [
                                50.7330614,
                                6.5939065
                              ],
                              [
                                50.7323787,
                                6.5947169
                              ],
                              [
                                50.7317675,
                                6.5951215
                              ],
                              [
                                50.7311164,
                                6.595912
                              ],
                              [
                                50.7307921,
                                6.5967118
                              ],
                              [
                                50.7301439,
                                6.5970905
                              ],
                              [
                                50.7295434,
                                6.597821
                              ],
                              [
                                50.7290658,
                                6.59839
                              ],
                              [
                                50.7286366,
                                6.5986282
                              ],
                              [
                                50.7282548,
                                6.5978259
                              ],
                              [
                                50.7277666,
                                6.5968633
                              ],
                              [
                                50.7274929,
                                6.5957611
                              ],
                              [
                                50.7268985,
                                6.5946084
                              ],
                              [
                                50.7262481,
                                6.5940331
                              ],
                              [
                                50.7259021,
                                6.5929041
                              ],
                              [
                                50.7251837,
                                6.591794
                              ],
                              [
                                50.724445,
                                6.5912374
                              ],
                              [
                                50.7240686,
                                6.590676
                              ],
                              [
                                50.7237026,
                                6.5901055
                              ],
                              [
                                50.7235015,
                                6.5892436
                              ],
                              [
                                50.7227379,
                                6.588662
                              ],
                              [
                                50.7223558,
                                6.58807
                              ],
                              [
                                50.7219749,
                                6.5874671
                              ],
                              [
                                50.721601,
                                6.5865422
                              ],
                              [
                                50.7210562,
                                6.5859094
                              ],
                              [
                                50.7207213,
                                6.5852672
                              ],
                              [
                                50.7202175,
                                6.584299
                              ],
                              [
                                50.7199076,
                                6.5829942
                              ],
                              [
                                50.7196087,
                                6.582337
                              ],
                              [
                                50.7191027,
                                6.5817123
                              ],
                              [
                                50.7187135,
                                6.5801152
                              ],
                              [
                                50.7182688,
                                6.5792968
                              ],
                              [
                                50.7182556,
                                6.5784151
                              ],
                              [
                                50.7178702,
                                6.5780466
                              ],
                              [
                                50.7175446,
                                6.5771647
                              ],
                              [
                                50.7171914,
                                6.576015
                              ],
                              [
                                50.7168716,
                                6.5746561
                              ],
                              [
                                50.7167147,
                                6.5732628
                              ],
                              [
                                50.7164239,
                                6.5725964
                              ],
                              [
                                50.7162866,
                                6.5712233
                              ],
                              [
                                50.7160372,
                                6.5705925
                              ],
                              [
                                50.7158421,
                                6.5694239
                              ],
                              [
                                50.7157773,
                                6.5684483
                              ],
                              [
                                50.7163356,
                                6.5681035
                              ],
                              [
                                50.7170592,
                                6.5679911
                              ],
                              [
                                50.717881,
                                6.5673416
                              ],
                              [
                                50.7193092,
                                6.5667069
                              ],
                              [
                                50.7197753,
                                6.5663782
                              ],
                              [
                                50.7202366,
                                6.5657502
                              ],
                              [
                                50.7206875,
                                6.5657502
                              ],
                              [
                                50.7211247,
                                6.5654476
                              ],
                              [
                                50.7218717,
                                6.5648738
                              ],
                              [
                                50.7224139,
                                6.5642734
                              ],
                              [
                                50.7228701,
                                6.5636795
                              ],
                              [
                                50.7234011,
                                6.5631349
                              ],
                              [
                                50.7239938,
                                6.5623962
                              ],
                              [
                                50.7245283,
                                6.5617643
                              ],
                              [
                                50.7250234,
                                6.56116
                              ],
                              [
                                50.7254054,
                                6.5607061
                              ],
                              [
                                50.7259625,
                                6.5610327
                              ],
                              [
                                50.7258509,
                                6.5617928
                              ]
                            ],
                            "options": {
                              "color": "#3d3d5c",
                              "weight": 3
                            },
                            "iobOptions": {
                              "fitBounds": true
                            }
                          }
                        ]
                      }
                    }
                  }
                  

                  Ich habs grad auchnochmal ausprobiert, wenn ich die View wechsel, und wieder zurück gehe in der 'Runtime' dann zeigt die Karte manchmal ein Zoom auf das Haus mit dem Marker und beim nächstenmal die Karte in Zoom-Stufe 12 ohne Marker, Route oder sonstwas.
                  Manchmal kann ich im jsontemplate ein Datum auswählen und manchmal nicht.

                  OliverIOO Offline
                  OliverIOO Offline
                  OliverIO
                  schrieb zuletzt editiert von
                  #56

                  @icebear

                  Kannst du mir da mal testendaten bereitstellen. Gerne auch per persönlichem Chat

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

                  icebearI 1 Antwort Letzte Antwort
                  0
                  • OliverIOO OliverIO

                    @icebear

                    Kannst du mir da mal testendaten bereitstellen. Gerne auch per persönlichem Chat

                    icebearI Online
                    icebearI Online
                    icebear
                    schrieb zuletzt editiert von
                    #57

                    @OliverIO sagte:

                    Kannst du mir da mal testendaten bereitstellen. Gerne auch per persönlichem Chat

                    Wenn du mir sagst was du mit "Testdaten" meinst?

                    OliverIOO 1 Antwort Letzte Antwort
                    0
                    • icebearI icebear

                      @OliverIO sagte:

                      Kannst du mir da mal testendaten bereitstellen. Gerne auch per persönlichem Chat

                      Wenn du mir sagst was du mit "Testdaten" meinst?

                      OliverIOO Offline
                      OliverIOO Offline
                      OliverIO
                      schrieb zuletzt editiert von
                      #58

                      @icebear
                      Deinen Datenpunkt mit Inhalt mit dem du diesen Effekt festgestellt hast

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

                      icebearI 1 Antwort Letzte Antwort
                      0
                      • OliverIOO OliverIO

                        @icebear
                        Deinen Datenpunkt mit Inhalt mit dem du diesen Effekt festgestellt hast

                        icebearI Online
                        icebearI Online
                        icebear
                        schrieb zuletzt editiert von
                        #59

                        @OliverIO sagte:

                        Deinen Datenpunkt mit Inhalt mit dem du diesen Effekt festgestellt hast

                        Du meinst den DP wo das json liegt, welches ich dann in dem Dropdown auswählen kann (mit Datum und Uhrzeit)?

                        Das hab ich schon 3 posts drüber eingefügt.

                        Ich hab auch grad nochmal probiert, wenn ich das json im DP im Admin aufmache, und bei der Polyline die erste Koordinate an der letzten Stelle verändere z.B 50,78654 zu 50,78653 und unten auf Wert setzten klicke, dann zurück in die VIS im Editor gehe bekomme ich die Route angezeigt, wenn ich dann auf Runtime umschalte ist die Route weg, ich kann zwar noch auf das Datum klicken aber es passiert nix.

                        OliverIOO 2 Antworten Letzte Antwort
                        0
                        • icebearI icebear

                          @OliverIO sagte:

                          Deinen Datenpunkt mit Inhalt mit dem du diesen Effekt festgestellt hast

                          Du meinst den DP wo das json liegt, welches ich dann in dem Dropdown auswählen kann (mit Datum und Uhrzeit)?

                          Das hab ich schon 3 posts drüber eingefügt.

                          Ich hab auch grad nochmal probiert, wenn ich das json im DP im Admin aufmache, und bei der Polyline die erste Koordinate an der letzten Stelle verändere z.B 50,78654 zu 50,78653 und unten auf Wert setzten klicke, dann zurück in die VIS im Editor gehe bekomme ich die Route angezeigt, wenn ich dann auf Runtime umschalte ist die Route weg, ich kann zwar noch auf das Datum klicken aber es passiert nix.

                          OliverIOO Offline
                          OliverIOO Offline
                          OliverIO
                          schrieb zuletzt editiert von
                          #60

                          @icebear

                          Ah ok danke.
                          Hab ich auf dem Handy übersehen.
                          Schaue gegen später mal rein

                          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 Antwort Letzte Antwort
                          0
                          • icebearI icebear

                            @OliverIO sagte:

                            Deinen Datenpunkt mit Inhalt mit dem du diesen Effekt festgestellt hast

                            Du meinst den DP wo das json liegt, welches ich dann in dem Dropdown auswählen kann (mit Datum und Uhrzeit)?

                            Das hab ich schon 3 posts drüber eingefügt.

                            Ich hab auch grad nochmal probiert, wenn ich das json im DP im Admin aufmache, und bei der Polyline die erste Koordinate an der letzten Stelle verändere z.B 50,78654 zu 50,78653 und unten auf Wert setzten klicke, dann zurück in die VIS im Editor gehe bekomme ich die Route angezeigt, wenn ich dann auf Runtime umschalte ist die Route weg, ich kann zwar noch auf das Datum klicken aber es passiert nix.

                            OliverIOO Offline
                            OliverIOO Offline
                            OliverIO
                            schrieb zuletzt editiert von
                            #61

                            @icebear

                            also das problem aus der obigen fehlermeldung konnte ich verbessern,
                            das liegt daran, das vis immer mehrfach den datenpunkt aktualisiert. einmal ohne daten und einmal mit daten. der fehler kommt davon, wenn der datenpunkt keine daten enthält.
                            ist aber ein vis typisches verhalten.

                            leider hast du mir dein template mitgeschickt, daher habe ich auf basis meiner version dass auf dunkel umgestellt. alle eigenschaften der auswahlbox sind in den css-anweisungen im template enthalten

                            <%
                            
                            let localmapdatapoint="local_map";
                            let selected="";
                            let options = Object.keys(data).map(el=>{
                               return {
                                   value: el,
                                   label:new Date(el).toLocaleString(undefined, {
                                       dateStyle: "short"
                                   })
                               }
                            })
                            console.log(data); 
                            console.log(options);
                            window.jsontemplate=[]
                            window.jsontemplate[widgetid]={};
                            window.jsontemplate[widgetid].data=data;
                            window.jsontemplate[widgetid].localmapdatapoint=localmapdatapoint;
                            %>
                            <style>
                            .mui-select-wrapper {
                               position: relative;
                               display: inline-flex;
                               flex-direction: column;
                               min-width: 220px;
                               margin: 16px 0;
                               font-family: Roboto, Arial, sans-serif;
                            }
                            
                            .mui-select-label {
                               position: absolute;
                               top: -8px;
                               left: 12px;
                               background: #1e1e1e;
                               padding: 0 4px;
                               font-size: 12px;
                               color: rgba(255, 255, 255, 0.7);
                               z-index: 1;
                            }
                            
                            .mui-select {
                               height: 56px;
                               padding: 16px 40px 16px 14px;
                               border: 1px solid rgba(255, 255, 255, 0.23);
                               border-radius: 4px;
                               background-color: #1e1e1e;
                               font-size: 16px;
                               color: rgba(255, 255, 255, 0.87);
                               outline: none;
                               appearance: none;
                               cursor: pointer;
                            }
                            
                            .mui-select-wrapper::after {
                               content: "";
                               position: absolute;
                               right: 16px;
                               top: 34px;
                               width: 0;
                               height: 0;
                               pointer-events: none;
                               border-left: 5px solid transparent;
                               border-right: 5px solid transparent;
                               border-top: 6px solid rgba(255, 255, 255, 0.7);
                            }
                            
                            .mui-select:hover {
                               border-color: rgba(255, 255, 255, 0.87);
                            }
                            
                            .mui-select:focus {
                               border: 2px solid #90caf9;
                               padding: 15px 39px 15px 13px;
                            }
                            
                            .mui-select:focus+.mui-select-label,
                            .mui-select-wrapper:focus-within .mui-select-label {
                               color: #90caf9;
                            }
                            
                            .mui-select:disabled {
                               color: rgba(255, 255, 255, 0.38);
                               border-color: rgba(255, 255, 255, 0.12);
                               background-color: #2b2b2b;
                               cursor: default;
                            }
                            
                            /* Für die Optionen im Dropdown */
                            .mui-select option {
                               background-color: #1e1e1e;
                               color: rgba(255, 255, 255, 0.87);
                            }
                            </style>
                            <div class="mui-select-wrapper">
                            
                               <select
                                   id="select_<%= widgetid  %>"
                                   class="mui-select"
                                   data-widgetid="<%= widgetid  %>"
                               >
                                   <% options.forEach(function(option) { %>
                                       <option
                                           value="<%= option.value %>"
                                           <%= option.value === selected ? 'selected' : '' %>
                                       >
                                           <%= option.label %>
                                       </option>
                                   <% }); %>
                               </select>
                            </div>
                            <script>
                            (() => {
                               const select = document.getElementById("select_<%= widgetid %>");
                               const widgetid = select.dataset.widgetid;
                               const data = window.jsontemplate[widgetid];
                               const key = Object.keys(data.data)[0];
                               console.log("key",key);
                               key && onSelectionChanged(widgetid,key);
                               select.addEventListener("change", (event) => {
                                   const value = event.target.value;
                                   const widgetid = event.target.dataset.widgetid;
                            
                                   onSelectionChanged(widgetid,value);
                               });
                            
                               function onSelectionChanged(widgetid,value) {
                                   console.log("change",value);
                                   vis.setValue(window.jsontemplate[widgetid].localmapdatapoint,JSON.stringify(window.jsontemplate[widgetid].data[value].map))
                               }
                            })();
                            </script>
                            

                            das verhalten das bei einem reiter wechsel hin und zurück die marker weg sind konnte ich nicht nachvollziehen. in der runtime hat das immer gut funktioniert.
                            die versionen von dir sind identisch zu meinen.
                            da bei mir der effekt nicht auftritt, ist es schwer nachzuvollziehen. tritt das nur im vis edit mode auf oder auch im runtime? dann bitte nach der aktualisierung auch nochmal auf die fehler schauen. ggfs muss ich auch mal noch die debug ausgaben des map widgets nachschärfen, so das man im browser log besser nachvollziehen kann, was passiert oder auch was nicht passiert.

                            im edit modus hat es auch etwas mit dem vis verhalten zu tun. da habe ich 2 dinge festgestellt, die ich unabhängig von deinem problem mal noch mal tiefer untersuchen muss. das ist leider debug technisch etwas aufwändiger.
                            eigentlich abonniert vis/vis2 im edit mode alle datenpunkte. da scheint sich etwas geändert zu haben, auch bekomme ich im browser log (nicht immer) den hinweis:
                            only admin allowed
                            wo ich vermute das es damit zu tun hat.
                            auch bekommt im edit modus nicht immer die daten aus dem datenpunkt an. da aber die dynamische aktualisierung unter vis im edit mode deaktiviert ist, kommen da keine weiteren aktualisierungen, wie es im runtime mode der fall ist. das ist/war eigentlich auch ok. auch hier will ich mal schauen ob ich das noch verbessern kann. hat aber evtl auswirkungen auf das erstellen und debuggen von den templates

                            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 Antwort Letzte Antwort
                            0

                            Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                            Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                            Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                            Registrieren Anmelden
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            217

                            Online

                            33.0k

                            Benutzer

                            83.4k

                            Themen

                            1.3m

                            Beiträge
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2026
                            logo
                            • Anmelden

                            • Du hast noch kein Konto? Registrieren

                            • Anmelden oder registrieren, um zu suchen
                            • Erster Beitrag
                              Letzter Beitrag
                            0
                            • Home
                            • Aktuell
                            • Tags
                            • Ungelesen 0
                            • Kategorien
                            • Unreplied
                            • Beliebt
                            • GitHub
                            • Docu
                            • Hilfe