phegman / vue-mapbox-gl

A Vue.js component for Mapbox GL JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Have the map fill the full height of container

davve14 opened this issue · comments

Is it possible to fill the full height of the container?
height: 100% doesnt seemt to work.

Are you setting 100% height on the map id?

#map {
  height: 100%;
}

Yes, you should be able to do this easily with CSS as @gorbypark mentioned. Closing for now, if you still are running into issues please supply a working demo to help with debugging.