-
When I load a layer to the map using add_geojson(), is there a way to specify whether the layer is turned on/off when the map is rendered? |
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
Jul 9, 2021
Replies: 1 comment
-
Unfortunately, the answer is NO. You can only turn on/off XYZ/WMS layers programmatically. GeoJSON/GeoData layers do not support this. See jupyter-widgets/ipyleaflet#827 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, the answer is NO. You can only turn on/off XYZ/WMS layers programmatically. GeoJSON/GeoData layers do not support this. See jupyter-widgets/ipyleaflet#827