Webview, GTK and Google Maps

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
ruffle
In need of some credit
In need of some credit
Posts: 1
Joined: Fri Apr 22, 2016 9:40 am

Webview, GTK and Google Maps

Post by ruffle » Thu Apr 28, 2016 2:29 pm

I'm using webview to open a Google map which is super... but....

When you double click on the map to zoom in, you can no longer pan the map with the left mouse button. Left button panning works before you double click and using the +/- zoom control doesn't cause the problem.

Once you've double clicked, it looks like the window is trying to do some kind of cut/paste thing, dragging the streetmap and zoom controls around.

To make sure it's nothing I'm doing, I simply changed the URL in the samples/webview.cpp file to:

Code: Select all

 m_url("http://maps.google.com?ll=52.0,-2.0&z=6")
and the sample program demonstrates the same issue.

Any idea how I can stop this happening?

Post Reply