Skip to content

Commit

Permalink
Add images to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatRambler committed Apr 12, 2023
1 parent b66284e commit 7856285
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Streetview Client
A reverse engineered Google Maps streetview client in C++ that lets you download panoramas and render them.

![Stationary viewer](./images/example.gif "Stationary viewer")
![Navigate with arrow keys](./images/example2.gif "Navigate with arrow keys")

# Usage
```
Download panoramas
Expand Down
1 change: 1 addition & 0 deletions images/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.mov
Binary file added images/example.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/example2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/download.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "download.hpp"

#define MAPS_PREVIEW_ID "CAEIBAgFCAYgAQ"

#include <core/SkData.h>
#include <core/SkImage.h>
#include <fmt/format.h>
Expand Down Expand Up @@ -69,7 +71,7 @@ rapidjson::Document download_preview_document(
"1s{}"
"!"
"7e81!15i11021!9m2!2d{}!3d{}!10d{}",
num_previews, "CAEIBAgFCAYgAQ", client_id, lng, lat, range),
num_previews, MAPS_PREVIEW_ID, client_id, lng, lat, range),
curl_handle, &res, NULL);

// Parse into JSON
Expand Down

0 comments on commit 7856285

Please sign in to comment.