Skip to content

L.latLngBounds() does not accept an array of {lat:"…",lng:"…"} #1915

@Mithgol

Description

@Mithgol
L.latLngBounds([
   {lat:"44.724258", lng:"37.749646"},
   {lat:"44.711709", lng:"37.778227"}
]).isValid() // false

L.latLngBounds([
   [44.724258, 37.749646],
   [44.711709, 37.778227]
]).isValid() // true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions