Access to .getZoom() and Legend Direction

53 views
Skip to first unread message

Ben Fasoli

unread,
Jul 20, 2015, 1:25:47 PM7/20/15
to shiny-...@googlegroups.com
Is there a way to access the current user's zoom level in the R leaflet package (.getZoom() in the leaflet javascript API)?

Is there a relatively easy way to flip the default legend style so that the highest values are on top?

Jingtao Yun

unread,
Sep 9, 2015, 5:20:12 PM9/9/15
to Shiny - Web Framework for R
Also in question of this.

Ben Fasoli

unread,
Sep 30, 2015, 2:56:35 PM9/30/15
to Shiny - Web Framework for R
Figured out a method of flipping the legend - create a second scale associated with negative values then mutate the labels back to positive values.

Still unsure on a way to get the user's zoom level though.
Reply all
Reply to author
Forward
0 new messages