离线使用 Google 地图
我需要使用 Google 地图 API。不过,我一分钟前才发现,它需要密钥,因此在网站上线之前毫无用处。我无法在每次测试更改时不断上传网站,因为如果我犯了错误,可能会破坏某些页面。事实上,目前我还没有托管服务商或域名,因为我的客户尚未决定在哪里托管它。我必须让网站 100% 完整才能向他展示全部功能。
如何在不在线托管的情况下开发 Google 地图部分?
我在 ASP.net 中使用它...
I need to utilize the Google Maps API. I just found out a minute ago though, that it requires a key, therefor rendering useless until the site is online. I can't constantly upload the site every time I test a change because it could break some of the pages if I make a mistake. In fact, at this point in time, I don't have a hoster or a domain name because my client has yet to decide on where he wants to host it. I have to have the site 100% complete to show him the entire functionality.
How do I develop the Google Maps part without having it hosted online?
I'm using it in ASP.net...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只需转到 API 密钥注册页面并请求
http://localhost
。我自己还没有测试过,但从我读到的内容来看,这种方式工作得很好。
You can just go to the API Key signup page and request a key for
http://localhost
.I haven't tested it myself, but from what I read it works perfectly this way.