Download the project and copy the azure-maps-sync-maps JavaScript file from the dist folder into your project.
This is a story from when I was building a personal app (PomoMind.io). At the time, my knowledge was a bit fuzzy, but when implementing the timer function, I decided to count time using setInterval ...