Hello @sharon glipman ,
Welcome to Microsoft Q&A forum.
I tested the div named map css in your demo script with height:100%
And width: 100% on my side. It doesn’t show browsing the google maps.(Here I use a background-color for test). In order for a percentage value to work for height, the parent's height must be determined. You should define the parent’s height when you use height 100% and width 100% on div.
Example:
html, body {
height: 100%;
margin: 0;
}
#map {
width: 100%;
height: 100%;
}
It also works if you use the following:
#map {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.