<div id="custom-marker"><img src="./icon.png" alt=""></div>
#custom-marker { width: 50px; height: 50px; cursor: pointer; display: none; } #custom-marker img { max-width: 100%; height: auto; }
var map = new geolonia.Map('my-map'); setInterval(function() { myMap.rotateTo( myMap.getBearing() + 90 ) }, 5000);