Skip to content

[Question] In ReactiveOpenStreetMap, where comes from the 100vh on height? #101

@kud

Description

@kud

Hello,

I would like to remove the 100vh on the container of the map.

I had to do this, but it's ugly:

const Aside = styled.aside`
  .map {
    height: 100% !important;
  }
`

            <Aside>
              <ReactiveOpenStreetMap
                componentId="Map"
                dataField="location"
                title="Venue Location Map"
                size={100}
                defaultZoom={5}
                className="map"
                react={{
                  and: ["Search", "InstrumentsFilter"],
                }}
                renderData={({ firstName, lastName }) => ({
                  label: `${firstName} ${lastName}`,
                })}
              />
            </Aside>

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