Route360 service integration with shiny/leaflet

Hi Everyone,

I have built an shiny App able to draw in google maps real distance and time by means of matrix distance google api from several coordinates. In order to customize my ui.R file i have included html/Javascript code via tags$div( HTML()), this script is written to provide reachable areas from a source point thanks to Route360 API. I have been unable to include the distance polygons provided by this API in my previous map built in leaflet as an extra layer, it overlaps my previous map.

Anyone has ever tried this?

Thanks in advance