hls_site_interactive: Plots interactive map for available sites for HLS data

Description Usage Arguments Value Examples

View source: R/hls_site_interactive.R

Description

Plots interactive map for available sites for HLS data

Usage

1
hls_site_interactive(long = 89.5, lat = 22)

Arguments

long

Provide longitude in numbers

lat

Provide latitude in numbers

Value

Interactive map using leaflet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Without any argument will plot static map
# For the first time, the function will try to download
# shapefiles from https://hls.gsfc.nasa.gov/
# Next, it will plot static map using ggplot2 library
hls_sites()

# For interactive map using leaflet package
hls_sites(static= FALSE)

# For zooming to point of interest use
hls_site_interactive(long = 89.50,lat = 22) #interactive

mshmandal/rhls documentation built on Dec. 21, 2021, 10:10 p.m.