mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
@@ -137,9 +137,15 @@ void GoogleMapControl::createHtml()
|
|||||||
"<meta name=\"viewport\" content=\"initial-scale=1.0, user-scalable=yes\"/> \n"
|
"<meta name=\"viewport\" content=\"initial-scale=1.0, user-scalable=yes\"/> \n"
|
||||||
"<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\"/>\n"
|
"<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\"/>\n"
|
||||||
"<title>Golden Cheetah Map</title>\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"
|
"<!--<link href=\"http://code.google.com/apis/maps/documentation/javascript/examples/default.css\" rel=\"stylesheet\" type=\"text/css\" />--> \n"
|
||||||
|
"<style type=\"text/css\">\n"
|
||||||
|
" html { height: 100% }\n"
|
||||||
|
" body { height: 100%; margin: 0; padding: 0 }\n"
|
||||||
|
" #map-canvas { height: 100% }\n"
|
||||||
|
"</style>\n"
|
||||||
"<script type=\"text/javascript\" src=\"http://maps.googleapis.com/maps/api/js?key=AIzaSyASrk4JoJOzESQguDwjk8aq9nQXsrUUskM&sensor=false\"></script> \n");
|
"<script type=\"text/javascript\" src=\"http://maps.googleapis.com/maps/api/js?key=AIzaSyASrk4JoJOzESQguDwjk8aq9nQXsrUUskM&sensor=false\"></script> \n");
|
||||||
|
|
||||||
|
|
||||||
// local functions
|
// local functions
|
||||||
currentPage += QString("<script type=\"text/javascript\">\n"
|
currentPage += QString("<script type=\"text/javascript\">\n"
|
||||||
"var map;\n" // the map object
|
"var map;\n" // the map object
|
||||||
|
|||||||
Reference in New Issue
Block a user