Skip to content

Base Map sizing #74

@anandbhaskaran

Description

@anandbhaskaran

I just followed the instructions and the good thing is, the library worked with ease!

However, firstly, for some reason I could not see the map due to the overflow. I resolve this by having:

.mapboxgl-map{
  overflow: visible;
}

Secondly, the height of the map (canvas) seem to be fixed to 375px. I again tried to have the customized height like below:

.mapboxgl-canvas {
  height: calc(100vh - 215px)!Important;
  width: 100%;
}

But the output looks like this:
image

Can you please help me fixing this issue.?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions