Skip to content

Comparison to leafmap? #71

Answered by giswqs
cboettig asked this question in Q&A
Jul 16, 2025 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Great question! The MapLibre backend (and other backends) in Leafmap relies on various Python packages, making it challenging to implement bidirectional communication functionality, especially since it requires modifying JavaScript. For instance, the MapLibre Python package currently lacks support for clearing drawn features from the map and for split-map mode. I’ve opened several issues on the repository highlighting these challenges, as each feature necessitates changes to the JavaScript source code, which can be quite complex due to the intricate setup of the package. You can find those issues here.

AnyMap addresses these limitations effectively. By building directly with JavaScript, w…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@cboettig
Comment options

@giswqs
Comment options

Answer selected by giswqs
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants