I am working to build a shiny app adding features to a sample file of Andrzej.
After build the Isocrones I want the Isocrones fit into the app window.
This works fine until I create Isocrones in Europe or Asia, but if I create the Isocrones in the US or SA the bbox is much to large. The Limit of this behavior is at 0° . Isocrones in East London works fine in Belfast not.
Here a link to test.
The Code is:
leafletProxy("map") %>% clearGeoJSON() %>% addGeoJSON(isochrones())%>% fitBBox(isochrones()$bbox)