JavaScript doesnt work on Kohana with google maps engine line
- by user2902495
<div style="width: 1200px; height: 750px;">
<iframe src="http://mapsengine.google.com/map/embed?mid=zkh_WUG-PAC0.k8Xr_3BhSQ00" width="640" height="480"
<script type="text/javascript">
//<![CDATA[
function load() {
/* ???????? ?? ????????????? ? ???????????? ?????????*/
if (GBrowserIsCompatible()) {
/* ??????? ????? - ????? */
var pntx=37.62039542198181;
var pnty=55.75294375419617;
var center = new GLatLng(pnty, pntx);
/* ???????? ??????? ?????, googlemap - ???, ?? ???????? ????????? ?????? ?????, ??????????? ????*/
var map = new GMap2(document.getElementById("mapgoogle"));
}
}
//]]>
</script>
> </iframe>
...
<body onload="load()" onunload="GUnload()">
<div align="center"><div id="mapgoogle" style="width: 90%; height: 500px;"></div></div>
</body>
</div>
a point does not take place on the center of map ?????, and not the alone from Javascript does not work! help to correct!