Direction marker for Map component

Hello everyone, tell me, is it possible to create the same marker of your location as the built-in marker on google maps, which shows the direction in which direction I am looking?
I use OSM because there are footpaths that I really need, unlike google maps. But the big minus of OSM is that I can’t see which direction I’m looking on the map. Maybe you are faced with this question, and that some will be able to tell?