completed optional step to automatically close previous InfoWindow when clicking on a new InfoWindow
completed optional step to show loading feedback in case the server is too slow
completed optional step to include minimum magnitude condition
completed optional step to add minimum magnitude condition