Learn R Programming

leaflet.extras (version 0.2)

addWMSLegend: Add WMS Legend

Description

Add a WMS Legend

Usage

addWMSLegend(map, uri, position = "topright", layerId = NULL)

Arguments

map

The leaflet map

uri

The legend URI

position

position of control: 'topleft', 'topright', 'bottomleft', or 'bottomright'

layerId

A unique ID for the Legend