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

Commit

Permalink
added view.feature
Browse files Browse the repository at this point in the history
  • Loading branch information
jhollist committed Feb 3, 2017
1 parent a4ae254 commit 94e630a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
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
Expand Up @@ -124,6 +124,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 94e630a

Please sign in to comment.