mariusandra / pigeon-maps

ReactJS Maps without external dependencies
https://pigeon-maps.js.org/
MIT License
3.45k stars 143 forks source link

No default height & width - wrong documentation #110

Closed xstable closed 4 years ago

xstable commented 4 years ago

This is wrong:

image

If I remove the height or the width property then I got: image

BTW: Please support values like "50vh" for width & height.

xstable commented 4 years ago

Ok, my fault. If I wrap the pigion-map in a div and size it like:

    <div style={{height: '50vh', width:"100%"}}>....</div>

Then it works like expected.