Skip to content

Support basic objects as map centers #1412

@tmcw

Description

@tmcw
map.setView({ lat: 43.6, lon: -79.4 }, 10);

Is currently not supported but be quite easily if L.LatLng accepted this kind of basic object as a parameter. I can pull together a pr for this if it seems fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions