Replies: 2 comments 3 replies
-
Hi yuyong280, would it be possible for you to communicate in English? Most people actively involved in Folium, don't speak much Chinese. Just to confirm what you want; if you select a Layer in LayerControl you want to limit the viewport to the data in that Layer? Or do you want the viewport limited to all the visible Layers? |
Beta Was this translation helpful? Give feedback.
-
You could add an EventHandler to the Layer object. This will require you to write some JavaScript code as a python
I don't know how well you know JavaScript. I did not test the code above, but it should come close. The |
Beta Was this translation helpful? Give feedback.
-
希望在LayerControl 中添加,双击图层能 将图层中数据 最大化显示, 谢谢。
目前我尝试很久未实现。 多谢大佬的分享。
Beta Was this translation helpful? Give feedback.
All reactions