google map 右键获取经纬度

GEvent.addListener(gmap, 'singlerightclick',

     function(point) {

                alert(point.toString());

                var mapLatLng = gmap.fromDivPixelToLatLng(point);

                alert(mapLatLng.toUrlValue());

     }

);


你可能感兴趣的:(function,Google)