Fix Google Map navigation

Hack to workaround QT webkit pretending to have gestures when
it doesn't is no longer needed. It also now breaks the grab
and navigation in the google map.

Fixes #349.
This commit is contained in:
Mark Liversedge
2012-11-13 20:33:31 +00:00
parent 271dbfe48c
commit 3769788a59
2 changed files with 4 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ void GoogleMapControl::createHtml()
"<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\"/>\n"
"<title>Golden Cheetah Map</title>\n"
"<link href=\"http://code.google.com/apis/maps/documentation/javascript/examples/default.css\" rel=\"stylesheet\" type=\"text/css\" /> \n"
"<script type=\"text/javascript\" src=\"http://maps.googleapis.com/maps/api/js?sensor=false\"></script> \n");
"<script type=\"text/javascript\" src=\"http://maps.googleapis.com/maps/api/js?key=AIzaSyASrk4JoJOzESQguDwjk8aq9nQXsrUUskM&sensor=false\"></script> \n");
// local functions
currentPage += QString("<script type=\"text/javascript\">\n"