Skip to content

Commit 3f4720a

Browse files
committed
- Upgraded Leaflet to 0.7.7. Closes #8 and #14.
1 parent f0c2f9a commit 3f4720a

File tree

10 files changed

+11087
-70
lines changed

10 files changed

+11087
-70
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: leaflet
22
Type: Package
33
Title: Create Interactive Web Maps with the JavaScript 'Leaflet' Library
4-
Version: 1.0.2.9000
4+
Version: 1.0.2.9002
55
Date: 2016-09-17
66
Authors@R: c(
77
person("Joe", "Cheng", email = "[email protected]", role = c("aut", "cre")),

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export(dispatch)
5858
export(easyButton)
5959
export(easyButtonState)
6060
export(fitBounds)
61+
export(getMapData)
6162
export(hideGroup)
6263
export(iconList)
6364
export(icons)

R/leaflet.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ hookWrapperTemplate <- "function(el, x, data) {
6868
return (%s).call(this.getMap(), el, x, data);
6969
}"
7070

71+
#' returns the map's data
72+
#' @param map the map
73+
#' @export
7174
getMapData = function(map) {
7275
attr(map$x, "leafletData", exact = TRUE)
7376
}

inst/htmlwidgets/leaflet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
dependencies:
22
- name: jquery
3-
version: 1.11.1
3+
version: 1.12.4
44
src: "htmlwidgets/lib/jquery"
55
script: jquery.min.js
66
- name: leaflet
7-
version: 0.7.3
7+
version: 0.7.7
88
src: "htmlwidgets/lib/leaflet"
99
script: leaflet.js
1010
stylesheet: leaflet.css

0 commit comments

Comments
 (0)