Learn R Programming

naturaList (version 0.5.2)

pol.coords: Internal function of naturaList - Get coordinates from polygons created in leaflet map

Description

Get coordinates from polygons created in leaflet map. It is used in map_module

Usage

pol.coords(input.polig)

Value

a data frame with the coordinates

Arguments

input.polig

an interactive polygon from leaflet map. input$map_draw_all_features$features[[i]]