wgpoints: Plot points

Description Usage Arguments Value Examples

View source: R/webglobe.R

Description

Plots latitude-longitude points

Usage

1
wgpoints(lat, lon, label = NA, alt = 0, colour = "yellow", size = 10)

Arguments

lat

One or more latitude values

lon

One or more longitude values

label

Label to put next to point

alt

Altitude of the points, can be single value or vector

colour

Colour name of the points, can be single value or vector

size

Size of the points, can be single value or vector

Value

A webglobe command

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(webglobe)
wg <- webglobe(immediate=FALSE)
wg <- wg + wgpoints(c(45,20),c(-93,127),alt=3,colour=c("blue","red"))
wg <- wg + wgpoints(51.5074,-0.1278,label="London",alt=0,colour="blue")
wg

## End(Not run)

webglobe documentation built on Sept. 16, 2020, 1:08 a.m.