There is code in the Map HTML Code to move the pin based on screen width.
Example site is at https://classic.jlb.webservice.team/
See https://jupiterxwidgets.webservice.team/radius-map-with-overlapping-content/for Radius map Example