It took a little while to work things out with API4 but I'm pretty happy with the results. I still need to work out how to remove the Navionics and Mapbox layers once they have been added.
SailAway is a sailing Sim available on Steam. I'm not involved with the development of the game. They publish an API of the boat positions in the virtual world.