Using or-map-location-history-overlay is asset viewer

Hello,

I want the asset viewer to display the recent history of the Location on the map.
Therefor i started with a local copy of the fleet-management branch and tried to
port the history feature from the main Map to the assetviewer.

My current steps are adding the <or-map-location-history-overlay> component to the <div id="wrapper-input"> of the map of the asset-viewer. But the map does not display any history.

Can someone give me a hint to what I’m missing?

HTLM snippet
<div id="wrapper-input"><!--?lit$9236772486$--><!--?lit$9236772486$--><!--                
       <or-map-location-history-markers .assetId="lit$9236772486$" ></or-map-location-history-markers>
    -->
   <or-map-location-history-overlay assetid="2ZxRn7qzpMQAfeEVxUwsXi"></or-map-location-history-overlay>
   <or-map id="geo-json-point-map" class="or-map">
      <or-map-marker id="geo-json-point-marker" active=""></or-map-marker>
   </or-map>
   <span class="long-press-msg"><!--?lit$9236772486$-->Long press to set location</span>
<!--?--></div>

Hi!

Can you give more details on what you’re working on?
As in, have you forked the OpenRemote GitHub repository, or something else?
And what do you refer to as “map does not display any history”

If you’re doing development work for a custom UI, and are building custom components,
you should import the full (raw) file with import "./<your component>";

Let me know!

I forgot to mention that I’m working on a local copy of the fleet-management branch.

Aaah that makes sense :+1:

@panos can you help out here? I’m not fully familiar with your code on the map.