Closed hisashisak25 closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
Sorry I cannot reproduce it. gcu prints for me https://www.google.com/maps/@35.687365,-105.9390126,3a,75y,35.56h,89.92t/data=!3m7!1e1!3m5!1sfNKGZXp1FF6qwXH_cNSgwg!2e0!6shttps://streetviewpixels-pa.googleapis.com/v1/thumbnail%3Fpanoid=fNKGZXp1FF6qwXH_cNSgwg&cb_client=maps_sv.tactile.gps&w=203&h=100&yaw=93.79706&pitch=0&thumbfov=100!7i13312!8i6656?hl=en
The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
Specification
Description
I set a url of google street view page as initial url in argument of webview.create_window. My code displays the initial street view page, however "OK" and a current url of next street view page aren't printed after click direction arrow on the displayed street view page to move. My code is follows.
`import webview
def on_loaded(): print("OK") gcu = window.get_current_url() print(gcu)
if name == 'main': window = webview.create_window('Streetview URL', 'https://www.google.com/maps/@35.687365,-105.9390126,3a,75y,35.56h,89.92t/data=!3m7!1e1!3m5!1sfNKGZXp1FF6qwXH_cNSgwg!2e0!6shttps:%2F%2Fstreetviewpixels-pa.googleapis.com%2Fv1%2Fthumbnail%3Fpanoid%3DfNKGZXp1FF6qwXH_cNSgwg%26cb_client%3Dmaps_sv.tactile.gps%26w%3D203%26h%3D100%26yaw%3D93.79706%26pitch%3D0%26thumbfov%3D100!7i13312!8i6656?hl=en') window.loaded += on_loaded webview.start(gui='edgechromium')`
In this connection, setting "https://www.google.com/?hl=en' as initial url, My code prints "OK" and new url of the result of googl search. It's no problem. And modern browsers which mean Edge,Chrome etc can display a url of current street view page in address bar after click. I would like to get a url of current street view page according to astreet view moving.
Practicalities
none