Skip to content

Make fit_bounds work with projected coordinate systems #2120

Closed
@DrewScatterday

Description

@DrewScatterday

Is your feature request related to a problem? Please describe.
I was using folium and did not realize that the fit_bounds function requires 4326 points even when your data is in 3857 or other crs

Describe the solution you'd like
Allowing other wkids for the fit_bounds would be awesome

Describe alternatives you've considered
The workaround I'm using is just projecting my data to 4326 or projecting the bounds to 4326

Thanks for your hard work on Folium!

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