JavaScript doesnt work on Kohana with google maps engine line

Posted by user2902495 on Stack Overflow See other posts from Stack Overflow or by user2902495
Published on 2013-10-21T09:50:38Z Indexed on 2013/10/21 9:53 UTC
Read the original article Hit count: 214

Filed under:
   <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!

© Stack Overflow or respective owner

Related posts about JavaScript