Skip to content

Commit

Permalink
circle clicks fix for #177
Browse files Browse the repository at this point in the history
  • Loading branch information
SymbolixAU committed Aug 31, 2018
1 parent a497c45 commit da4fd7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ See the [**vignette**](https://github.com/SymbolixAU/googleway/blob/master/vigne
## install release version from CRAN
install.packages("googleway")
## install the development version from github
## To install the development version you currently need v0.7.1002 of googlePolylines
devtools::install_github("SymbolixAU/googlePolylines")
## then you can install googleway
devtools::install_github("SymbolixAU/googleway")
```


Expand Down
2 changes: 2 additions & 0 deletions inst/htmlwidgets/lib/map/map_events.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ function shape_click(map_id, shapeObject, shape_id, shapeInfo) {
),
event_return_type = window.googleway.params[1].event_return_type;
eventInfo = event_return_type === "list" ? eventInfo : JSON.stringify(eventInfo);

Shiny.onInputChange(map_id + "_shape_click", eventInfo);
Shiny.onInputChange(map_id + "_circle_click", eventInfo);
});
}

Expand Down

0 comments on commit da4fd7f

Please sign in to comment.