如何设置Google API密钥
- 转到[https://developers.google.com/maps/documentation/javascript/get-api-key](https://developers.google.com/maps/documentation/javascript/get-api-key)
- 滚动到“获取API密钥”标题,然后按“获取密钥”按钮
- 选择项目名称,然后按“创建并启用API”
- "获取密钥并将其放在您的项目中,该脚本在哪里:
<script type =“text javascript”src =“https://maps.googleapis.com/maps/api js?key = YOUR_KEY_HERE”> <SCRIPT>
”