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

added view.feature #57

Merged
merged 1 commit into from
Feb 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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