How to use Google Maps to draw rounded rectangles?

this is what I"m using now

var rectangle = new google.maps.Rectangle( {
                strokeColor : "-sharpFF0000",
                strokeOpacity : 0.8,
                strokeWeight : 0,
                fillColor : "-sharp575757",
                fillOpacity : 0.35,
                map : map,
                bounds : new google.maps.LatLngBounds(new google.maps.LatLng(
                        minusXY(pointO.y, h), minusXY(pointO.x, d * 6)),//C
                        new google.maps.LatLng(minusXY(pointO.y, h * 3),
                                plusXY(pointO.x, d * 6))//D
                )

});

draws a rectangle, but now you want to draw a rectangle with rounded corners, how do you draw it? Check the official api there are only a few kinds of drawing rectangular circular polygon lines, I just want to add rounded corners to the rectangle on the current basis, how should this be changed?


originally, the api of Google Maps does not support directly modifying moments to form a rounded rectangle, but now the solution is to directly change the rectangle into an irregular figure, deal with it in the fillet, and use points to deal with

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5aa33-27b01.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5aa33-27b01.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?