mapview (version 2.7.0)

addMouseCoordinates: Add mouse coordinate information at top of map.

Description

These functions are deprecated. Please use leafem::addMouseCoordinates and leafem::removeMouseCoordinates instead.

Usage

addMouseCoordinates(map, epsg = NULL, proj4string = NULL,
  native.crs = FALSE)

removeMouseCoordinates(map)

Arguments

map

a mapview or leaflet object.

epsg

the epsg string to be shown.

proj4string

the proj4string to be shown.

native.crs

logical. whether to use the native crs in the coordinates box.

Functions

  • removeMouseCoordinates: remove mouse coordinates information from a map