Learn R Programming

dartR (version 1.1.11)

gl.map.interactive: Creates an interactive map (based on latlong) from a genlight object

Description

Creates an interactive map (based on latlong) from a genlight object

Usage

gl.map.interactive(x, provider = "Esri.NatGeoWorldMap")

Arguments

x

-- a genlight object [including coordinates within the latlong slot]

provider

-- passed to leaflet

Value

plots a map

Details

A wrapper around the leaflet package. For possible background maps check as specified via the provider: http://leaflet-extras.github.io/leaflet-providers/preview/index.html

Examples

Run this code
# NOT RUN {
#gl.map(bandicoot.gl)
# }

Run the code above in your browser using DataLab