ryFunction,
                    //最大点数
                    maxPoints: maxPoints
                });
                drawTool.on('drawend', function (e) {
                    switch (pType) {
                        case 'Circle':
                            var center = e.feature.getGeometry().getCenter();
                            var radius = e.feature.getGeometry().getRadius();
                            alert("圆心坐标：" + center + "\n圆半径为：" + radius);
                        