Skip to content

.marker(): support multiple ways to specify the location data #19

@mmrj

Description

@mmrj

currently, it's required to be an array of arrays:

.marker([[-122, 37], [-87, 41]])

we were thinking it would be nice to also support just one array if you only have one marker:

.marker([-122, 37])

and maybe also an object or array of objects:

.marker({long: -122, lat: 37})
.marker([{long: -122, lat: 37}])

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions