leaflet_hover: Helper for creating leaflet labels on mouse over

Description Usage Arguments Value

Description

This function creates the html necesary for making labels in leaflet. It is vectorized so you can provide it with vectors of titles, items, and values and it will make one label for each (so that each region on a map has it's own hover over, for example)

Usage

1
leaflet_hover(title, item, value)

Arguments

title

the title of the hover over

item

the item that is bein displayed?

value

the value to be displayed (currently ends with a percent sign)

Value

list of html widgets, one for each title, item, value.


Crunch-io/crunchgeo documentation built on May 6, 2019, 10:52 p.m.