GoogleMap: Little fix

This commit is contained in:
Damien
2013-10-14 07:49:05 +02:00
committed by G Coco
parent 506caf89dc
commit c5b3d56198

View File

@@ -230,7 +230,7 @@ void GoogleMapControl::createHtml()
" };\n"
// setup the map, and fit to contain the limits of the route
" map = new google.maps.Map(document.getElementById('map_canvas'), myOptions);\n"
" map = new google.maps.Map(document.getElementById('map-canvas'), myOptions);\n"
" var sw = new google.maps.LatLng(%1,%2);\n" // .ARG 1, 2
" var ne = new google.maps.LatLng(%3,%4);\n" // .ARG 3, 4
" var bounds = new google.maps.LatLngBounds(sw,ne);\n"
@@ -267,7 +267,7 @@ void GoogleMapControl::createHtml()
// the main page is rather trivial
currentPage += QString("</head>\n"
"<body onload=\"initialize()\">\n"
"<div id=\"map_canvas\"></div>\n"
"<div id=\"map-canvas\"></div>\n"
"</body>\n"
"</html>\n");
}