如何在 Ionic 上实施或保护 Google Maps Api 密钥

问题描述 投票:0回答:0

我有一个适用于 web、android 和 iOS 的 Ionic 应用程序。我正在使用 @angular/google-maps 生成谷歌地图。 Google 为 android 和 iOS 提供的应用程序限制对我不起作用。我收到此错误“Google Maps JavaScript API 错误:RefererNotAllowedMapError 和您的站点 URL 将被授权”。

angular google-maps ionic-framework
© www.soinside.com 2019 - 2024. All rights reserved.