1. draw = new ol.interaction.Draw({
    2. // 在哪个画布上绘制
    3. source: source,
    4. // 绘制的类型
    5. type: 'Polygon'
    6. })