我正在使用leafletjs,我有一个用户的latlng坐标列表, 我想使用带有geojson信息的交互式地图进行搜索,以获取地图上所选区域内的所有人物, 例如,这里是一个latlng坐标: [36.73757725283114,4.400174617767334]与这些地理坐标位于同一区域
var statesData = {
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:OGC:1.3:CRS84"
}
},
"features": [{
"type": "Feature",
"properties": {
"ID_0": 65,
"ISO": "DZA",
"NAME_0": "Algeria",
"ID_1": 876,
"NAME_1": "Tizi Ouzou",
"ID_2": 13247,
"NAME_2": "Azazga",
"VARNAME_2": "`Azazghah",
"NL_NAME_2": null,
"HASC_2": "DZ.TO.AZ",
"CC_2": "1518",
"TYPE_2": "Commune",
"ENGTYPE_2": "Commune",
"VALIDFR_2": "20020710",
"VALIDTO_2": "Present",
"REMARKS_2": null,
"Shape_Leng": 0.485497,
"Shape_Area": 0.007781
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[4.398425, 36.790421],
[4.398316, 36.790077],
[4.398505000000114, 36.789505],
[4.398723, 36.789276000000143],
[4.398499000000129, 36.788818],
[4.397984, 36.788361],
[4.397932, 36.787899],
[4.398046000000136, 36.787556000000109],
[4.398242, 36.787159],
[4.39886, 36.786812],
[4.399055000000146, 36.786411],
[4.39866000000012, 36.78618200000011],
[4.397956000000136, 36.785954],
[4.397864, 36.785954],
[4.398133, 36.78561],
[4.398912, 36.785267],
[4.399674, 36.785034],
[4.40035, 36.78521000000012],
[4.400545000000136, 36.784977],
[4.400763, 36.784634],
[4.401095, 36.784462],
[4.401663, 36.784637000000146],
[4.40235, 36.784695],
[4.402716, 36.784576],
[4.403370000000109, 36.784119],
[4.403611, 36.783833],
[4.403914000000157, 36.783432000000118],
[4.404298000000154, 36.782974],
[4.404831, 36.782059],
[4.405003, 36.781712],
[4.405581, 36.781025],
[4.40592, 36.780571],
[4.406182, 36.780167],
[4.406624, 36.779709],
[4.40726, 36.779537],
[4.408223, 36.779423],
[4.409036000000128, 36.779190000000142],
[4.409305, 36.779133],
[4.409701, 36.77879],
[4.409970000000158, 36.778217],
[4.411316000000113, 36.777588],
[4.412004, 36.777298],
[4.412486000000115, 36.77673],
[4.413019, 36.776215],
[4.413809, 36.775352],
[4.414319, 36.774837],
[4.414565, 36.774323000000152],
[4.416004, 36.772945],
[4.416903, 36.771915],
[4.417224, 36.771629],
[4.417419, 36.77139700000015],
[4.417717, 36.771114],
[4.417917, 36.770657],
[4.418077000000153, 36.770428],
[4.418358000000126, 36.770309],
[4.418765, 36.770199],
[4.418983, 36.770081],
[4.419917, 36.769909],
[4.420278, 36.76968],
[4.421034, 36.769276],
[4.421498, 36.769108000000131],
[4.421808, 36.76893600000011],
[4.422449, 36.768707],
[4.422827, 36.768536],
[4.423887, 36.767849],
[4.424186, 36.76762],
[4.424323, 36.76722],
[4.424501, 36.766933000000108],
[4.424747000000139, 36.766758],
[4.42505, 36.766472000000135],
[4.425291, 36.766014],
[4.42560600000013, 36.766014],
[4.425893, 36.765957],
[4.426723, 36.766071],
[4.427531000000101, 36.766071],
[4.427858000000128, 36.766014],
[4.428111000000115, 36.765614],
[4.428368, 36.765156],
[4.428546, 36.764923],
[4.429611, 36.764297],
[4.430196000000137, 36.764179000000127],
[4.430591, 36.764179000000127],
[4.431462, 36.764469],
[4.432040000000143, 36.764923],
[4.432699000000127, 36.765213],
[4.433141, 36.764870000000144],
[4.433455000000151, 36.764584],
[4.433868, 36.764351000000147],
[4.434212, 36.76406900000012],
[4.434728000000121, 36.763321],
[4.435192000000143, 36.763035],
[4.435473000000116, 36.76252],
[4.435301, 36.762234000000149],
[4.43518, 36.761887],
[4.435055, 36.761719],
[4.434842, 36.761372],
[4.434722, 36.761086],
[4.434653000000139, 36.760746000000154],
[4.434458, 36.76046],
[4.434292, 36.760113],
[4.434229, 36.760056],
[4.434063, 36.759483000000102],
[4.433966, 36.759312000000136],
[4.433759, 36.758625],
[4.433725, 36.758392],
[4.433622, 36.757938000000138],
[4.433518, 36.757591],
[4.433427, 36.757133],
[4.433399000000122, 36.756672],
[4.432636, 36.7558140000001],
[4.432207, 36.755531000000133],
[4.431771, 36.755413000000146],
[4.431199, 36.755302],
[4.430746, 36.755131],
[4.430957, 36.754726000000119],
[4.431009, 36.754498],
[4.431015, 36.754211],
[4.431095, 36.75404],
[4.431393, 36.753754],
[4.431485, 36.753582],
[4.43153, 36.753181],
[4.431846, 36.752605000000131],
[4.43223, 36.752552],
[4.43263, 36.752666],
[4.432957000000158, 36.752834],
[4.433519000000104, 36.752953],
[4.433805, 36.752781000000141],
[4.434097, 36.75272],
[4.434447000000148, 36.752495000000124],
[4.43463, 36.752148000000147],
[4.435009, 36.751919],
[4.435587, 36.751804000000106],
[4.435988000000123, 36.75169000000011],
[4.436074000000133, 36.751461],
[4.436086, 36.751232],
[4.436063000000104, 36.750946],
[4.436194000000114, 36.750202000000115],
[4.436223, 36.749741000000142],
[4.436355000000106, 36.749401],
[4.436309, 36.748943],
[4.435353000000134, 36.749687000000108],
[4.435146, 36.749741000000142],
[4.434968, 36.749741000000142],
[4.434596, 36.750084],
[4.434412, 36.750431],
[4.434103000000107, 36.750542],
[4.433513, 36.750431],
[4.433175, 36.750431],
[4.432814, 36.750660000000153],
[4.432195000000149, 36.750774000000149],
[4.43188, 36.750717],
[4.431250000000148, 36.750717],
[4.430556, 36.750660000000153],
[4.429273000000137, 36.750374000000136],
[4.42823600000014, 36.750027],
[4.427657, 36.749741000000142],
[4.427016, 36.749458],
[4.426385, 36.749226],
[4.426093, 36.748711],
[4.425693, 36.748367000000144],
[4.424861000000135, 36.74791],
[4.424472, 36.74773400000015],
[4.423732, 36.747448000000134],
[4.423194, 36.747219],
[4.422483, 36.74699],
[4.422066, 36.74688],
[4.420495, 36.746189],
[4.420008, 36.74556],
[4.419791, 36.745102],
[4.419441, 36.744240000000104],
[4.419064000000105, 36.743782],
[4.418593, 36.743553],
[4.41814, 36.743271],
[4.417762, 36.742924],
[4.417429, 36.742527000000109],
[4.416479, 36.741665],
[4.415883, 36.741493],
[4.41527, 36.741093],
[4.414783000000114, 36.740746],
[4.414536000000112, 36.741032],
[4.414268, 36.741207000000145],
[4.413992, 36.741207000000145],
[4.413431, 36.740978],
[4.412583000000154, 36.740517],
[4.412193, 36.740631],
[4.411895, 36.740978],
[4.411408000000108, 36.740921],
[4.410968, 36.740746],
[4.410388, 36.740574000000151],
[4.409752, 36.740345],
[4.409300000000144, 36.740231],
[4.408721, 36.740059],
[4.408205000000123, 36.740002],
[4.40769, 36.73983],
[4.407386, 36.739544],
[4.407317, 36.739372],
[4.407083, 36.738972],
[4.406704000000104, 36.73851],
[4.405902, 36.73857100000015],
[4.405467, 36.738743],
[4.40502, 36.738972],
[4.403507, 36.739429],
[4.401708, 36.740116000000114],
[4.401049, 36.740345],
[4.400763, 36.739429],
[4.400608, 36.738857],
[4.400487000000112, 36.738056],
[4.40031, 36.737480000000119],
[4.399989000000119, 36.736851],
[4.39870500000012, 36.735588],
[4.39811, 36.735188],
[4.397308, 36.734734000000117],
[4.396735, 36.73444400000011],
[4.395985, 36.7341],
[4.395285000000115, 36.733814],
[4.394587000000115, 36.733471],
[4.393939000000103, 36.733185],
[4.393229, 36.732838000000129],
[4.391487, 36.732441000000108],
[4.391269, 36.732037000000105],
[4.391389, 36.73146400000013],
[4.391590000000122, 36.730953000000113],
[4.392111, 36.730717000000141],
[4.392558, 36.730549],
[4.392902, 36.730202000000133],
[4.393171, 36.729744],
[4.393274, 36.729286],
[4.393297000000132, 36.728889],
[4.393486, 36.728603],
[4.394289000000129, 36.728027000000111],
[4.394723, 36.727341],
[4.395136, 36.726879],
[4.395652, 36.726711000000137],
[4.396276, 36.726997000000154],
[4.397176, 36.727169],
[4.398798, 36.727623000000108],
[4.399863, 36.728027000000111],
[4.400539000000151, 36.728142],
[4.401084000000139, 36.727798],
[4.401880000000119, 36.727341],
[4.403972, 36.725967],
[4.408647, 36.723099],
[4.409306, 36.722813],
[4.409873000000118, 36.722469],
[4.411139, 36.72184],
[4.413029000000108, 36.720749000000126],
[4.414726, 36.719719],
[4.415231, 36.719383],
[4.415671, 36.71909],
[4.416233, 36.718742000000134],
[4.416949000000102, 36.718346],
[4.417746000000136, 36.717831000000103],
[4.418409000000111, 36.717598],
[4.419126, 36.717197],
[4.419785000000104, 36.71674],
[4.420312, 36.716511000000139],
[4.421688, 36.71582],
[4.422546, 36.715134],
[4.423543, 36.714737],
[4.423951000000159, 36.714619],
[4.424214, 36.714504000000147],
[4.424598, 36.714161],
[4.424678, 36.713703000000123],
[4.424730000000125, 36.713242],
[4.424730000000125, 36.712902],
[4.424839, 36.71233],
[4.42481, 36.711868],
[4.424431, 36.711067],
[4.424254, 36.710781000000111],
[4.42420200000015, 36.710323],
[4.42426, 36.709808],
[4.4243, 36.709236],
[4.4243, 36.708603],
[4.423991000000115, 36.707458000000145],
[4.423922, 36.707001],
[4.423973, 36.706657],
[4.424242000000106, 36.706142],
[4.424449000000152, 36.705566],
[4.424409, 36.705338],
[4.424231, 36.70505100000014],
[4.424088000000154, 36.704765000000123],
[4.424168, 36.703846000000112],
[4.424105000000111, 36.703159],
[4.42387, 36.702816],
[4.422914, 36.702473],
[4.422592, 36.702072],
[4.422191, 36.701328000000103],
[4.42169900000016, 36.700813000000153],
[4.422197000000153, 36.700638],
[4.422776000000113, 36.700237],
[4.423612, 36.699608],
[4.424500000000137, 36.698463],
[4.424879, 36.697544],
[4.425291, 36.695827],
[4.425377, 36.695766],
[4.42399, 36.695656],
[4.423372, 36.695885],
[4.421957, 36.695480000000146],
[4.420639, 36.694626],
[4.419699, 36.693878],
[4.419241, 36.693363],
[4.418696, 36.692219000000136],
[4.417705000000126, 36.691761],
[4.416348, 36.691532],
[4.415476, 36.691185],
[4.414611, 36.690613],
[4.413385, 36.689983],
[4.412302, 36.689579],
[4.411236, 36.688667],
[4.410119, 36.688091],
[4.40914, 36.687862],
[4.408498, 36.687061],
[4.407708, 36.687],
[4.406818000000101, 36.686775],
[4.405971, 36.687119],
[4.405169000000115, 36.686832],
[4.403869, 36.686146],
[4.403038000000151, 36.686485],
[4.401863000000105, 36.686031],
[4.400264, 36.68597],
[4.39929, 36.686432],
[4.398293000000138, 36.686142],
[4.3969120000001, 36.685917],
[4.395967, 36.686028],
[4.394833, 36.686661],
[4.392959, 36.688263],
[4.39134300000012, 36.688263],
[4.389894, 36.688377],
[4.388192, 36.688606],
[4.387339000000111, 36.689579],
[4.386255000000119, 36.690041],
[4.384777, 36.689754000000107],
[4.383156, 36.690498],
[4.381895000000156, 36.690155],
[4.379999000000112, 36.690269000000114],
[4.377947, 36.691074],
[4.376802000000112, 36.691761],
[4.375375, 36.691299],
[4.372493, 36.691532],
[4.370608, 36.691643000000113],
[4.36935300000016, 36.691299],
[4.368007, 36.691643000000113],
[4.367365, 36.692387],
[4.366574, 36.692562000000123],
[4.365829, 36.693077],
[4.365417, 36.69342],
[4.364993, 36.693653000000154],
[4.364661, 36.693649],
[4.364552000000117, 36.693707],
[4.364597000000117, 36.693707],
[4.365004, 36.69445],
[4.365297000000112, 36.695427],
[4.364695, 36.696514],
[4.363721000000112, 36.697315],
[4.362037, 36.698292],
[4.360456, 36.698921],
[4.358799, 36.699894000000143],
[4.357453, 36.701153],
[4.356668, 36.702129000000127],
[4.356719, 36.703445],
[4.356817000000149, 36.704422000000136],
[4.357012000000111, 36.70488],
[4.35708, 36.705109],
[4.356949, 36.705395],
[4.3568, 36.705624000000114],
[4.356267000000116, 36.706024],
[4.355837, 36.706257000000107],
[4.355155000000138, 36.706486],
[4.354605000000106, 36.706539000000134],
[4.353970000000118, 36.706654],
[4.35323, 36.706715000000145],
[4.352439000000118, 36.706944],
[4.351723, 36.707111],
[4.350944, 36.707344000000148],
[4.350188, 36.707745000000102],
[4.349432, 36.708202],
[4.348881, 36.708603],
[4.348331, 36.70917500000013],
[4.347805, 36.709694],
[4.347374, 36.70998],
[4.346801, 36.710438],
[4.346469, 36.710781000000111],
[4.346205, 36.711124],
[4.345873, 36.711872000000142],
[4.345741000000146, 36.71233],
[4.345490000000154, 36.712845],
[4.345387, 36.713188],
[4.344985000000122, 36.713875000000144],
[4.344584, 36.714222],
[4.344034000000136, 36.71479],
[4.343462, 36.715481],
[4.342693, 36.716797],
[4.342367, 36.717255],
[4.341908, 36.717716],
[4.341158, 36.719032],
[4.340895000000103, 36.719658],
[4.340545, 36.720749000000126],
[4.340465, 36.721207],
[4.340419, 36.721722],
[4.340264000000104, 36.722469],
[4.340086, 36.723217],
[4.339858000000106, 36.724014],
[4.339708, 36.725044],
[4.33952, 36.725620000000106],
[4.338494, 36.725964000000147],
[4.337938, 36.72619600000013],
[4.337605, 36.726479],
[4.337377, 36.726711000000137],
[4.336437, 36.727451],
[4.335835, 36.727741],
[4.335159000000147, 36.728138],
[4.334437, 36.728428],
[4.333767, 36.728657],
[4.333131, 36.728771],
[4.332191, 36.729],
[4.33166400000016, 36.729061],
[4.331051, 36.729286],
[4.330575000000124, 36.729687],
[4.330191000000127, 36.729919],
[4.328811, 36.731003],
[4.328215, 36.731182],
[4.32759, 36.731236],
[4.326032000000112, 36.731236],
[4.324422, 36.731121000000144],
[4.323425, 36.731121000000144],
[4.322686, 36.73135],
[4.322147, 36.731407],
[4.321202000000142, 36.73135],
[4.320503, 36.731121000000144],
[4.319947, 36.730778],
[4.319249, 36.730663000000106],
[4.318302, 36.73054500000012],
[4.31714, 36.73032000000012],
[4.316154, 36.730377],
[4.315650000000119, 36.730377],
[4.315174, 36.730202000000133],
[4.314750000000117, 36.729805],
[4.313948, 36.728943],
[4.3131, 36.728657],
[4.312246, 36.728714000000139],
[4.311587, 36.728943],
[4.310935, 36.729229],
[4.310333, 36.729572],
[4.309657, 36.730030000000113],
[4.309238, 36.730488],
[4.30871100000013, 36.730892],
[4.307714, 36.731064],
[4.304786, 36.731064],
[4.303898, 36.731121000000144],
[4.3045, 36.731522],
[4.30524400000013, 36.732094],
[4.306156000000101, 36.732609],
[4.306786, 36.733242000000132],
[4.3074, 36.733986],
[4.307806, 36.734615],
[4.30874, 36.735931],
[4.309605, 36.737652000000139],
[4.310138, 36.738457000000153],
[4.310654000000113, 36.739315],
[4.311077000000125, 36.739887],
[4.311467, 36.740631],
[4.311708000000124, 36.741032],
[4.313931, 36.741375],
[4.315048, 36.741604000000109],
[4.316435, 36.741837],
[4.31771300000014, 36.742123],
[4.318434, 36.742237000000102],
[4.319088, 36.742527000000109],
[4.319231000000116, 36.743496],
[4.31938, 36.744186],
[4.319448000000136, 36.745098],
[4.319632, 36.746075],
[4.320153, 36.74791],
[4.320549, 36.749397000000101],
[4.320864, 36.750832],
[4.321351, 36.75169000000011],
[4.321941, 36.751518],
[4.324445, 36.751404],
[4.325786, 36.751518],
[4.326135, 36.751575],
[4.326346, 36.752209],
[4.326513, 36.753067],
[4.326616000000115, 36.753811],
[4.326485000000105, 36.754326],
[4.326473, 36.754898000000139],
[4.326714, 36.755241000000126],
[4.327127, 36.75547],
[4.327425, 36.75581700000015],
[4.327505, 36.756390000000124],
[4.32739, 36.756958],
[4.326994000000127, 36.757992],
[4.326960000000156, 36.758453000000145],
[4.326817, 36.75902200000013],
[4.326966, 36.759251],
[4.327538, 36.759537000000137],
[4.32798, 36.760113],
[4.328307, 36.760685],
[4.328518, 36.7612],
[4.328661, 36.761662],
[4.328662000000122, 36.762115],
[4.328169, 36.763321],
[4.328363, 36.76395],
[4.328582, 36.764294],
[4.329029000000105, 36.764641],
[4.329458, 36.764870000000144],
[4.329945, 36.76498400000014],
[4.330564, 36.765038],
[4.330725, 36.765728],
[4.330489000000114, 36.766357],
[4.330489000000114, 36.766815000000122],
[4.330988000000161, 36.767044],
[4.331475, 36.767334],
[4.331733, 36.767677],
[4.331343, 36.767963],
[4.331068, 36.768307000000107],
[4.330828, 36.768822],
[4.330398, 36.769165],
[4.330065, 36.769279],
[4.33124, 36.769741],
[4.332174, 36.769794],
[4.332769, 36.769794],
[4.333429, 36.76968],
[4.334099, 36.769623],
[4.334793, 36.769794],
[4.335457, 36.769794],
[4.336322000000109, 36.769852],
[4.337124, 36.769737000000134],
[4.337698, 36.769566],
[4.338367, 36.769512000000134],
[4.340568, 36.769512000000134],
[4.340923, 36.769279],
[4.341467, 36.769051],
[4.342533, 36.769394000000148],
[4.343037, 36.769852],
[4.343638, 36.770138],
[4.344579, 36.770542],
[4.345146000000113, 36.770824],
[4.345805, 36.771629],
[4.346039, 36.772030000000143],
[4.346274, 36.772717000000114],
[4.346485, 36.773291],
[4.346716, 36.773918],
[4.346996, 36.774323000000152],
[4.347787000000153, 36.774723],
[4.349277000000143, 36.774952],
[4.349929, 36.775124],
[4.350451, 36.775066000000152],
[4.350886, 36.775066000000152],
[4.352061000000106, 36.775295],
[4.352664, 36.775642],
[4.352921, 36.776215],
[4.353288, 36.777416],
[4.352664, 36.777588],
[4.352457, 36.777988],
[4.352652000000148, 36.778507000000104],
[4.353396, 36.778847],
[4.353901000000121, 36.779133],
[4.354146000000128, 36.779819000000145],
[4.354239, 36.78039600000011],
[4.354462, 36.78091],
[4.354806, 36.781025],
[4.355207, 36.781082],
[4.355619000000161, 36.781254],
[4.355705, 36.78183],
[4.356152, 36.782059],
[4.356645000000128, 36.782055],
[4.357344, 36.782116],
[4.357728, 36.782230000000141],
[4.358175, 36.782516],
[4.359017000000108, 36.782684],
[4.359865, 36.782803000000115],
[4.361194, 36.782516],
[4.362128, 36.782631],
[4.362792, 36.782631],
[4.363377, 36.782574],
[4.363704, 36.782574],
[4.364122, 36.782803000000115],
[4.364713000000108, 36.783089000000132],
[4.365193, 36.783432000000118],
[4.365819000000158, 36.783833],
[4.366294, 36.783947],
[4.367228, 36.784061000000122],
[4.367881, 36.78418],
[4.368579, 36.784409],
[4.369027, 36.78521000000012],
[4.369485, 36.78561],
[4.369783, 36.78618200000011],
[4.370465000000138, 36.786472000000117],
[4.37133, 36.786640000000148],
[4.371983, 36.786697],
[4.372653, 36.786869],
[4.373175, 36.787216],
[4.373444, 36.787617],
[4.373415, 36.788532],
[4.373467, 36.789219],
[4.373633, 36.789619],
[4.374132000000145, 36.789795],
[4.37518, 36.789963000000114],
[4.375667, 36.790253000000121],
[4.376315000000147, 36.790535],
[4.37757, 36.790421],
[4.378011000000129, 36.790539],
[4.378749, 36.790878000000134],
[4.379466, 36.791855],
[4.379821, 36.792255],
[4.380463000000134, 36.79266],
[4.380835, 36.793343],
[4.381042, 36.794029],
[4.381649, 36.794548],
[4.382319, 36.794891],
[4.382617, 36.795467],
[4.38287, 36.795753000000104],
[4.383574, 36.796036],
[4.384439000000157, 36.796551],
[4.384875000000136, 36.796783],
[4.385201000000109, 36.79644],
[4.385665000000131, 36.796093],
[4.3863300000001, 36.795635000000118],
[4.386897, 36.795349],
[4.38796200000013, 36.795238],
[4.389636, 36.795235],
[4.390667000000121, 36.795120000000111],
[4.391178000000139, 36.794834],
[4.391864, 36.794315000000154],
[4.392386, 36.793972],
[4.392987, 36.793747],
[4.393624, 36.793571],
[4.394363, 36.793457],
[4.394867, 36.793228],
[4.395864, 36.792484],
[4.396214, 36.792145],
[4.396735, 36.791798],
[4.397279, 36.791626],
[4.397858, 36.791283],
[4.398288, 36.790878000000134],
[4.398425, 36.790421]
]
]
}
}]
}
如何检查它是否在这些坐标中