Implement Map.onTilesDisplayed and Map.onTilesReleased on the web version.