简体   繁体   English

Windows应用程序中的Google Map API

[英]google map api in Windows applications

I was able to call Google Map API in my MFC project for years, but not any more(year 2018). 多年以来,我一直能够在MFC项目中调用Google Map API,但现在(2018年)不再了。 Now my C++ based project shows a script error for Google Map API even after putting in a new API key. 现在,即使放置了新的API密钥,我基于C ++的项目也会显示Google Map API的脚本错误。

How can I call the Google Map API and use it in Windows Applications based on c++ projects? 如何调用Google Map API并在基于c ++项目的Windows应用程序中使用它?

There are several ways to do a request to any API using c++, few examples are: 有几种使用c ++向任何API发出请求的方法,以下是一些示例:

  1. C++ light wrapper C ++光包装
  2. Qt t
  3. CPR . 心肺复苏术

You may also edit your question and add what kind of errors if your problem isn't about deprecation or a specific library that you're using so you can get a fix solution. 如果您的问题不是关于弃用或您正在使用的特定库,您还可以编辑问题并添加什么样的错误,以便获得解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM