Local version of Google Maps API
Do you guys know if there is a version of the Google Maps API for C++ which works using local maps rather than having to connect to a Google server?
The app开发者_如何学JAVAlication is the plotting of GPS positions in an area with no internet coverage.
Thanks in advance.
As an alternative for Google Maps, you might want to have a look at OpenStreetMap. (See also the usage and software sections on Wikipedia)
You can download and store map tiles (png files) using the google maps static API, and then reread those once stored images without reconnecting to the server. You'll have to write the whole download and management stuff yourself (i.e. using boost::asio for download etc. - i don't know of such a library), and you probably need to acquire a Google premier license, as google strongly restricts the anonymous usage of the static api. But technically thats possible.
精彩评论