Skip to contents

Add a "Source" note to a leaflet that will be a static output

Usage

addSourceText(map, source_text, color = "#555555", fontSize = "15px", ...)

Arguments

map

A leaflet map

source_text

The text that you want added to the map

color

color of source text

fontSize

font size of source text

Value

A leaflet map with a source note added in the bottom right for the councildown defined NYC frame