SOURCE

// 符合面积的坐标点
let pt1= [
    {
        "lat": "37.408987609758675",
        "lng": "-122.09069267624666"
    },
    {
        "lat": "37.402223935448156",
        "lng": "-122.1044068109398"
    },
    {
        "lat": "37.39473407045968",
        "lng": "-122.10568890684893"
    },
    {
        "lat": "37.38169480598298",
        "lng": "-122.10411042684366"
    },
    {
        "lat": "37.37746191196444",
        "lng": "-122.08701134437369"
    },
    {
        "lat": "37.38496309316104",
        "lng": "-122.04721809142875"
    },
    {
        "lat": "37.398887149220826",
        "lng": "-122.03932435029795"
    },
    {
        "lat": "37.40447074897773",
        "lng": "-122.06042662972261"
    },
    {
        "lat": "37.4071148500569",
        "lng": "-122.07375989073564"
    }
]
let pt2 = [
    {
        "lat": "37.41818028470266",
        "lng": "-122.15082646125605"
    },
    {
        "lat": "37.40968322473184",
        "lng": "-122.16327727550315"
    },
    {
        "lat": "37.39736786080228",
        "lng": "-122.17744872683333"
    },
    {
        "lat": "37.38331458137218",
        "lng": "-122.17105434054186"
    },
    {
        "lat": "37.37422527064893",
        "lng": "-122.16752857679178"
    },
    {
        "lat": "37.370926672932384",
        "lng": "-122.14191482180406"
    },
    {
        "lat": "37.379695613908",
        "lng": "-122.10144431108286"
    },
    {
        "lat": "37.390491257255526",
        "lng": "-122.10709706658174"
    },
    {
        "lat": "37.402660732353446",
        "lng": "-122.10956469887545"
    },
    {
        "lat": "37.41080173449921",
        "lng": "-122.12873981112291"
    }
]
// 200个点数
console 命令行工具 X clear

                    
>
console