简体   繁体   中英

Official angular google map component is not showing map

I am trying to use the new google map component from the Angular Team (from package @angular/google-maps ) by following this tutorial .

For some reason the map is not showing and i can only see a grey square

If I create the map directly without the angular component using a simple div for the map, it works fine.

I have reproduced the issue in this stackblitz

Any idea what I could be doing wrong? Thanks for your help!

Finally found out that there is an issue with the version 9.2.0 of the "@angular/google-maps" package. I tried with version 9.1.3 and it works fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM