[Webkit-unassigned] [Bug 58165] Google maps Javascript API functionalities not working!

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 8 14:32:29 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58165





--- Comment #1 from Raja Ravi Varma <ravi4frenz at gmail.com>  2011-04-08 14:32:29 PST ---
As I cannot attach the file with the browse option I'm copying the source of the HTML page with which I could produce the bug.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Location Finder</title>
    <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAgrj58PbXr2YriiRDqbnL1RSqrCjdkglBijPNIIYrqkVvD1R4QxRl47Yh2D_0C1l5KXQJGrbkSDvXFA" type="text/javascript"></script>
    <script type="text/javascript">
        function initialize() {
            var map = new GMap2(document.getElementById("map"));
            map.setCenter(new GLatLng(11.45000, 77.68000),10);
            var point = new GLatLng(11.45000, 77.68000);
            var marker = new GMarker(point);
            map.addOverlay(marker);
     map.addControl(new GSmallMapControl());
     map.setZoom(12);
        }

    function addNewMarker(newLocation) {
        var newLocationPoints = new GLatLng(newLocation);
        map.clearOverlays();
        var newPosition = new GMarker(newLocationPoints);
        map.addOverlay(newPosition);
        map.setCenter(newLocationPoints);
    }


    </script>
</head>
<body onload="initialize()">
<div id="map" style="width: 320px; height: 240px"></div>
</body>
</html>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list