JSFiddle - React, Tailwind, and code Playground

HTML

<a href="#" onclick="return getInfo(2, 0);">Запросить</a>
<select>
  <option>кадастровые кварталы</option>
</select>
<div id="output"/>
<textarea id="coords">86.1009453268,55.3443892857 86.1010828482,55.3443878882 86.1012203058,55.3443851230 86.1013576578,55.3443809909 86.1014948623,55.3443754933 86.1016318775,55.3443686317 86.1017686616,55.3443604083 86.1019051730,55.3443508256 86.1020413700,55.3443398864 86.1021772112,55.3443275942 86.1023126552,55.3443139526 86.1024476607,55.3442989659 86.1025821866,55.3442826386 86.1027161918,55.3442649756 86.1028496356,55.3442459824 86.1029824773,55.3442256647 86.1031146763,55.3442040288 86.1032461925,55.3441810811 86.1033769858,55.3441568288 86.1035070162,55.3441312792 86.1036362443,55.3441044401 86.1037646305,55.3440763196 86.1038921358,55.3440469264 86.1040187213,55.3440162694 86.1041443486,55.3439843579 86.1042689792,55.3439512017 86.1043925752,55.3439168108 86.1045150990,55.3438811958 86.1046365132,55.3438443674 86.1047567809,55.3438063370 86.1048758654,55.3437671160 86.1049937303,55.3437267166 86.1051103399,55.3436851508 86.1052256586,55.3436424315 86.1053396512,55.3435985717 86.1054522830,55.3435535846 86.1055635197,55.3435074841 86.1056733275,55.3434602841 86.1057816728,55.3434119991 86.1058885227,55.3433626437 86.1059938446,55.3433122330 86.1060976064,55.3432607823 86.1061997765,55.3432083074 86.1063003238,55.3431548242 86.1063992176,55.3431003490 86.1064964279,55.3430448984 86.1065919251,55.3429884894 86.1066856800,55.3429311390 86.1067776640,55.3428728647 86.1068678492,55.3428136844 86.1069562081,55.3427536161 86.1070427138,55.3426926780 86.1071273399,55.3426308887 86.1072100607,55.3425682670 86.1072908510,55.3425048321 86.1073696861,55.3424406032 86.1074465420,55.3423755999 86.1075213954,55.3423098421 86.1075942235,55.3422433497 86.1076650040,55.3421761430 86.1077337155,55.3421082425 86.1078003369,55.3420396689 86.1078648481,55.3419704431 86.1079272293,55.3419005861 86.1079874616,55.3418301193...

CSS

textarea { 
    border:1px solid #999999; 
    width:100%; 
}

JavaScript

// 2.3 Типы объектов
// getInfo(2 - Кварталы, 0 - список с самого начала)
// Погрешность
const ciTolerance = 0;
// Предельное кол-во возвращаемых элементов
const ciMaxValues = 10;
// Корень API Росреестра
const csUrlRosreestrAPI = "http://pkk5.rosreestr.ru/api/features/"
// Пакет сложной геометрии
const csGeoPack = '{"type":"GeometryCollection","geometries":[]}';
// Примитив - полигон
const csGeoPolygon = '{"type":"Polygon","coordinates":[]}';

// Запрос информации
function getInfo(iMethodValue, iSkipValue) {
		var arCoords = new Array();
		var geoValue = JSON.parse(csGeoPack);
		var geoBlock = JSON.parse(csGeoPolygon);
    var arValues = $('textarea#coords').val().split(" ");
    for (var Index in arValues) {
    	var arValue = arValues[Index].split(",");
      if (arValue.length > 1) {
      	var x = parseFloat(arValue[0],10)
      	var y = parseFloat(arValue[1],10)
	    	arCoords.push(new Array(x,y));
      } else {
				console.log("Ошибка разбора: " + arValues[Index]);
      };
    };
    geoBlock.coordinates.push(arCoords);
		geoValue.geometries.push(geoBlock);

    $.ajax({
    		type : "POST",
        url : csUrlRosreestrAPI + iMethodValue,
       data : {
					sq : JSON.stringify(geoValue),
					tolerance :	ciTolerance,
					limit :		ciMaxValues,
					skip :		iSkipValue
				},
        complete: function (response) {
//        	$('#output').html(JSON.stringify(geoValue));
            $('#output').html(response.responseText);
        },
        error: function () {
            $('#output').html('WTF?!');
        },
    });
    return false;
}