-
Map.add_xy_data(in_csv_5, x="Longitude", y="Latitude", layer_name="World") Is there a way to change the settings in leafmap to not cluster pins when zoomed put? also is there a way to change the color of marker pins so you can a few different colors to show different locations (school in green pin, hosptial in blue pin, firestation in red pin)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Unfortunately, the answer is No. Maker Cluster is not customizable except for the marker locations. See https://ipyleaflet.readthedocs.io/en/latest/api_reference/marker_cluster.html. If you don't want the clusters when zoomed out, you will need to add each location as an individual marker/layer. Adding a few individual markers is fine, but it could be overwhelming to add hundreds of markers/layers. See jupyter-widgets/ipyleaflet#498
Check out AwesomeIcon |
Beta Was this translation helpful? Give feedback.
Unfortunately, the answer is No. Maker Cluster is not customizable except for the marker locations. See https://ipyleaflet.readthedocs.io/en/latest/api_reference/marker_cluster.html. If you don't want the clusters when zoomed out, you will need to add each location as an individual marker/layer. Adding a few individual markers is fine, but it could be overwhelming to add hundreds of markers/layers. See jupyter-widgets/ipyleaflet#498