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>