1 year ago

#283533

test-img

Feixiang Sun

How to choose proper radius for a map in leaflet?

I'm trying to make a map by leaflet in R. The attribute data as radius for the circle is discrete from 1 to 3500. I use simple way to scale it:

radius = Points$attribute/100

but as the figure shows, some cities are too large to overlap, while some are too small.

is there any nice way to scale data for the radius?

enter image description here

r

leaflet

icons

scale

radius

0 Answers

Your Answer

Accepted video resources