当我在纯 html 中使用 google map api 时,它工作正常,但是当我将其复制到 asp.net 项目时,它会抛出错误。
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=SECRET_KEY&libraries=places&language=ru-RU"></script>
This API project is not authorized to use this API. Please ensure this API is activated in the Google
最佳答案
我刚刚重新加载 Visual Studio,它就开始工作了???
关于javascript - Google map js api 在纯 html 页面中工作正常,但在 asp.net mvc 页面中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43352301/