{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/leaflet/issues/408","repository_url":"https://api.github.com/repos/rstudio/leaflet","labels_url":"https://api.github.com/repos/rstudio/leaflet/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/leaflet/issues/408/comments","events_url":"https://api.github.com/repos/rstudio/leaflet/issues/408/events","html_url":"https://github.com/rstudio/leaflet/issues/408","id":217881096,"number":408,"title":"Verify issue Leaflet is not rendering map?","user":{"login":"vsluydts","id":11047465,"avatar_url":"https://avatars3.githubusercontent.com/u/11047465?v=3","gravatar_id":"","url":"https://api.github.com/users/vsluydts","html_url":"https://github.com/vsluydts","followers_url":"https://api.github.com/users/vsluydts/followers","following_url":"https://api.github.com/users/vsluydts/following{/other_user}","gists_url":"https://api.github.com/users/vsluydts/gists{/gist_id}","starred_url":"https://api.github.com/users/vsluydts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsluydts/subscriptions","organizations_url":"https://api.github.com/users/vsluydts/orgs","repos_url":"https://api.github.com/users/vsluydts/repos","events_url":"https://api.github.com/users/vsluydts/events{/privacy}","received_events_url":"https://api.github.com/users/vsluydts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-29T13:46:40Z","updated_at":"2017-03-29T19:05:36Z","closed_at":null,"body":"Apologies for any inconveniences, but I can only manage to get correct rendering of the map if I redefine the addTiles function as suggested in one of the closed posts. Updates of most recent packages/githubversions installed. Map did correctly render in an earlier versions of the packages/Rstudio I used.\r\n\r\nMinimal example: \r\n`rm(list=ls())\r\n\r\nlibrary(leaflet)\r\nlibrary(magrittr) \r\n\r\n \r\nmap<-leaflet() %>% \r\n      addTiles() %>% \r\n      setView(lng = 4.4,lat= 51.2, zoom=13)\r\n\r\n#Map area is grey\r\nmap\r\n\r\ndevtools::session_info()\r\ndevtools::package_deps(\"leaflet\")\r\naddTiles\r\n\r\naddTiles2<-function (map, urlTemplate = \"http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",\r\n                                attribution = NULL, layerId = NULL, group = NULL, options = tileOptions())\r\n{\r\n      options$attribution = attribution\r\n      if (missing(urlTemplate) && is.null(options$attribution))\r\n            options$attribution = paste(\"© OpenStreetMap\",\r\n                                        \"contributors, CC-BY-SA\")\r\n      invokeMethod(map, getMapData(map), \"addTiles\", urlTemplate,\r\n                   layerId, group, options)\r\n}\r\n\r\nmap2<-leaflet() %>% \r\n      addTiles2() %>% \r\n      setView(lng = 4.4,lat= 51.2, zoom=13)\r\n\r\n#map area including streets\r\nmap2\r\n`\r\n\r\n##Session Info\r\nSession info -----------------------------------------------------------------------------------------\r\n setting  value                       \r\n version  R version 3.3.3 (2017-03-06)\r\n system   x86_64, mingw32             \r\n ui       RStudio (1.1.129)           \r\n language (EN)                        \r\n collate  Dutch_Belgium.1252          \r\n tz       Europe/Paris                \r\n date     2017-03-29                  \r\n\r\nPackages ---------------------------------------------------------------------------------------------\r\n package      * version    date       source                          \r\n colorspace     1.3-2      2016-12-14 CRAN (R 3.3.3)                  \r\n crosstalk      1.0.0      2016-12-21 CRAN (R 3.3.3)                  \r\n devtools       1.12.0     2016-06-24 CRAN (R 3.3.1)                  \r\n digest         0.6.12     2017-01-27 CRAN (R 3.3.3)                  \r\n htmltools      0.3.5      2016-03-21 CRAN (R 3.3.0)                  \r\n htmlwidgets    0.8        2016-11-09 CRAN (R 3.3.3)                  \r\n httpuv         1.3.3      2015-08-04 CRAN (R 3.3.0)                  \r\n jsonlite       1.3        2017-02-28 CRAN (R 3.3.3)                  \r\n leaflet      * 1.1.0.9000 2017-03-29 Github (rstudio/leaflet@98aef42)\r\n magrittr     * 1.5        2014-11-22 CRAN (R 3.3.1)                  \r\n memoise        1.0.0      2016-01-29 CRAN (R 3.3.1)                  \r\n mime           0.5        2016-07-07 CRAN (R 3.3.2)                  \r\n munsell        0.4.3      2016-02-13 CRAN (R 3.3.0)                  \r\n plyr           1.8.4      2016-06-08 CRAN (R 3.3.0)                  \r\n R6             2.2.0      2016-10-05 CRAN (R 3.3.3)                  \r\n RColorBrewer   1.1-2      2014-12-07 CRAN (R 3.3.0)                  \r\n Rcpp           0.12.10    2017-03-19 CRAN (R 3.3.3)                  \r\n rstudioapi     0.6        2016-06-27 CRAN (R 3.3.1)                  \r\n scales         0.4.1      2016-11-09 CRAN (R 3.3.2)                  \r\n shiny          1.0.0      2017-01-12 CRAN (R 3.3.3)                  \r\n withr          1.0.2      2016-06-20 CRAN (R 3.3.1)                  \r\n xtable         1.8-2      2016-02-05 CRAN (R 3.3.2)                  \r\n yaml           2.1.14     2016-11-12 CRAN (R 3.3.3)                  \r\n\r\ndevtools::package_deps(\"leaflet\")\r\n"},"comment":{"url":"https://api.github.com/repos/rstudio/leaflet/issues/comments/290193265","html_url":"https://github.com/rstudio/leaflet/issues/408#issuecomment-290193265","issue_url":"https://api.github.com/repos/rstudio/leaflet/issues/408","id":290193265,"user":{"login":"vsluydts","id":11047465,"avatar_url":"https://avatars3.githubusercontent.com/u/11047465?v=3","gravatar_id":"","url":"https://api.github.com/users/vsluydts","html_url":"https://github.com/vsluydts","followers_url":"https://api.github.com/users/vsluydts/followers","following_url":"https://api.github.com/users/vsluydts/following{/other_user}","gists_url":"https://api.github.com/users/vsluydts/gists{/gist_id}","starred_url":"https://api.github.com/users/vsluydts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsluydts/subscriptions","organizations_url":"https://api.github.com/users/vsluydts/orgs","repos_url":"https://api.github.com/users/vsluydts/repos","events_url":"https://api.github.com/users/vsluydts/events{/privacy}","received_events_url":"https://api.github.com/users/vsluydts/received_events","type":"User","site_admin":false},"created_at":"2017-03-29T19:05:36Z","updated_at":"2017-03-29T19:05:36Z","body":"![capture](https://cloud.githubusercontent.com/assets/11047465/24471759/69307b2a-14c3-11e7-9468-5d87352547f1.JPG)\r\n"}}
{"actor":{"display_login":"vsluydts"}}