Closed tombrussel closed 11 months ago
Describe the bug Running the example code for add_text from here results in the error message "Error: Must supply x, y and text attributes"
x
y
text
To Reproduce
mapdeck(token = key, style = mapdeck_style('dark')) %>% add_text( data = capitals , lon = 'lon' , lat = 'lat' , fill_colour = 'country' , text = 'capital' , layer_id = 'text' , size = 16 )
Expected behaviour The expected behavior is the map in the source weblink provided above.
Screenshots
Versions mapdeck 0.3.4 sf 1.0.9
Formatting use markdown to format code chunks
This is working on the latest dev versions
remotes::install_github("SymbolixAU/spatialwidget") remotes::install_github("SymbolixAU/mapdeck")
Describe the bug Running the example code for add_text from here results in the error message "Error: Must supply
x
,y
andtext
attributes"To Reproduce
Expected behaviour The expected behavior is the map in the source weblink provided above.
Screenshots
Versions mapdeck 0.3.4 sf 1.0.9
Formatting use markdown to format code chunks