Skip to content

There are two Map class in the code #247

@BibMartin

Description

@BibMartin

An issue to give more visibility to @themiurgo's remark from themiurgo@2300c2e

@themiurgo

@BibMartin there seems to be a name clash for map.Map vs folium.Map. This has not to do with this PR but I discovered it because it was raising errors, not finding methods like add_wms_layer and similar. Is there's a reason why we have two different Map objects in two different modules?

In my mind, map.Map is the real true object we want to have and maintain. I just let folium.Map inherit from it to keep backward compatibility, and host deprecated methods.
I imagine that folium.Map's methods will either move to map.Map or disapear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions