Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webmap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
INLPO
webmap
Commits
67b9cab5
Commit
67b9cab5
authored
1 year ago
by
Fisher, Jason C.
Browse files
Options
Downloads
Patches
Plain Diff
tidy make_map help
parent
2abc3959
No related branches found
No related tags found
1 merge request
!2
Merge in develop branch and bump version
Pipeline
#381777
passed
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
R/make_map.R
+6
-6
6 additions, 6 deletions
R/make_map.R
man/make_map.Rd
+5
-5
5 additions, 5 deletions
man/make_map.Rd
with
11 additions
and
11 deletions
R/make_map.R
+
6
−
6
View file @
67b9cab5
...
...
@@ -15,7 +15,7 @@
#' which is only accessible using a Web Map Service (WMS),
#' see `protocol` argument.
#' @param ...
#' Arguments to be passed to the [`leaflet::leaflet
`
] function.
#' Arguments to be passed to the [`leaflet
`][leaflet
::leaflet] function.
#' @param protocol 'character' string.
#' Standard protocol for serving pre-rendered georeferenced TNM map tiles.
#' Select "WMTS" for the Web Map Tile Service (the default) and "WMS" for the Web Map Service.
...
...
@@ -71,13 +71,13 @@
#'
#' @examples
#'
#' #
c
reate map widget
#' #
C
reate map widget
#' map <- make_map()
#'
#' #
p
rint map widget
#' #
P
rint map widget
#' map
#'
#' #
p
rint map with markers
#' #
P
rint map with markers
#' pts <- rbind(
#' c(-112.049, 43.517),
#' c(-122.171, 37.456),
...
...
@@ -90,7 +90,7 @@
#' lat = pts[, 2]
#' )
#'
#' #
p
rint map of satellite imagery with a rectangle in the vicinity of UCLA
#' #
P
rint map of satellite imagery with a rectangle in the vicinity of UCLA
#' make_map(
#' maps = "Imagery",
#' collapse = TRUE
...
...
@@ -149,7 +149,7 @@ make_map <- function(maps,
),
htmltools
::
tags
$
a
(
href
=
"https://www.usgs.gov/laws/policies_notices.html"
,
title
=
"
USGS p
olicies and notices"
,
title
=
"
P
olicies and notices"
,
target
=
"_blank"
,
"Policies"
),
...
...
This diff is collapsed.
Click to expand it.
man/make_map.Rd
+
5
−
5
View file @
67b9cab5
...
...
@@ -22,7 +22,7 @@ The one exception is the "Blank" map,
which is only accessible using a Web Map Service (WMS),
see \code{protocol} argument.}
\item{...}{Arguments to be passed to the \code{\link[leaflet:leaflet]{leaflet
::leaflet
}} function.}
\item{...}{Arguments to be passed to the \code{\link[leaflet:leaflet]{leaflet}} function.}
\item{protocol}{'character' string.
Standard protocol for serving pre-rendered georeferenced TNM map tiles.
...
...
@@ -88,13 +88,13 @@ United States, Alaska, Hawaii, and Territorial Islands of the United States.\if{
}
\examples{
#
c
reate map widget
#
C
reate map widget
map <- make_map()
#
p
rint map widget
#
P
rint map widget
map
#
p
rint map with markers
#
P
rint map with markers
pts <- rbind(
c(-112.049, 43.517),
c(-122.171, 37.456),
...
...
@@ -107,7 +107,7 @@ leaflet::addMarkers(map,
lat = pts[, 2]
)
#
p
rint map of satellite imagery with a rectangle in the vicinity of UCLA
#
P
rint map of satellite imagery with a rectangle in the vicinity of UCLA
make_map(
maps = "Imagery",
collapse = TRUE
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment