Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #57 from jhollist/master
Browse files Browse the repository at this point in the history
added view.feature
  • Loading branch information
sckott authored Feb 3, 2017
2 parents 439d536 + 94e630a commit 112cb44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ S3method(type_sum,logical)
S3method(type_sum,matrix)
S3method(type_sum,numeric)
S3method(view,character)
S3method(view,feature)
S3method(view,featurecollection)
S3method(view,geo_list)
S3method(view,json)
Expand Down
5 changes: 5 additions & 0 deletions R/view.R
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ view.multilinestring <- function(x) {
make_view_obj(x)
}

#' @export
view.feature <- function(x) {
make_view_obj(x)
}

#' @export
view.featurecollection <- function(x) {
make_view_obj(x)
Expand Down

0 comments on commit 112cb44

Please sign in to comment.