-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rendering maps outside R studio #2
Comments
You can pass the directView argument to quickMap via the "..."
Normally, rleafmap checks if the user is using Rstudio and adapts its behaviour. Something is wrong here, I will try to have a look. |
works, thanks! |
Are you using RStudio Joanna? Or something else? For the zoom problem, it's normal (but not the best I agree). The problem is that rleafmap automatically set the zoom and position to fit all the data of the map. Here the result is not good because the largest element is the colored grid which cover a very large surface (even if not working you can see its geographical extent). A solution is to set manually I don't now why you don't see the colored grid. Looks like the image is not generated or the link is wrong. Could you send me the HTML which is generated by heatMap? |
I'm using the Mac GUI (the one you get when you download R - I'm not even sure what it's called!) So the map is appearing in a browser (Firefox). I'm attaching the html that was generated. |
Ok, I couldn't reproduce the bug and I have no idea what's happening here. |
The colours are also missing when I open it in Safari, and the png file is not there (but the _rasters folder is). So looks like that is the problem. |
Hi Joanna, I suspect this is because I forced to use the png function with the cairo library and the latter may be not available for you. I just patched
And then try the example again. |
Incidentally, what is the official supported browser? On most shiny apps, On Thu, Oct 29, 2015 at 10:43 AM, fkeck [email protected] wrote:
|
Theoretically all the browsers supported by Leaflet are ok : Chrome, Firefox, Safari 5+, Opera 12+, IE 7–11. This can be added somewhere. |
Trying the tutorial on github, I get:
This was running R from a terminal, not inside RStudio which I suspect works. Would be cool to render to the default browser by default.
The text was updated successfully, but these errors were encountered: