Skip to content

staticMap is limited to lat and lng properties to work #68

Closed
@lionel-bijaoui

Description

@lionel-bijaoui

staticMap don't work in the dev example because geo data is defined with latitude and longitude properties.
Maybe it need a staticMapOptions with properties to map to the good value:

{
    type: "staticMap",
    label: "Map",
    model: "address.geo",
    staticMapOptions: {
        lat: "latitude",
        lng: "longitude",
        sizeX:600,
        sizeY:300
    }
}

edit: size param too

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