0
我正在试图加载谷歌地图角流星社会教程 - 谷歌地图不加载 - MissingKeyMapError
Google Maps API error: MissingKeyMapError
我访问在我的本地应用程序时,这个错误http://localhost:3000/ google搜索,我注意到在这之后的API密钥需要通过解决这个错误,但我怎么传递这个密钥?我没有看到sebm标签的任何与此关键字相关的属性。
党detail.html有以下几点:
<sebm-google-map
[latitude]="lat || centerLat"
[longitude]="lng || centerLng"
[zoom]="8"
(mapClick)="mapClicked($event)">
<sebm-google-map-marker
*ngIf="lat && lng"
[latitude]="lat"
[longitude]="lng">
</sebm-google-map-marker>
</sebm-google-map>