Kim Trường Thi
Số 58 đường Võ Thị Sáu, Phường Trường Thi, Tỉnh Nghệ An
580 triệu – 1.06 tỷ
11.3 – 12.9 triệu/m2
Mặt bằng bán lẻ
-
3,622 m2 -
2017 -
12/2018 -
Hàng thứ cấp
BĐS mua đi bán lại, không phải của chủ đầu tư.
XEM BĐS
Tổng quan
Sở hữu vị trí trung tâm tại thành phố Vinh, chung cư Kim Trường Thi là một trong những dự án nổi bật đang được Công ty Cổ phần Kim Trường Thi đầu tư và thi công. Đây được xem là dự án chung cư tốt nhất hiện nay của thành phố với quy mô 2 tòa chung cư cao 18 tầng được xây dựng trên khu đất có diện tích 3.622 m2 dự kiến được bàn giao căn hộ vào quý II năm 2018 đối với tòa A và tòa B vào quý IV năm 2018. Không gian sống tại dự án chung cư Kim Trường Thi được hòa quyện của nắng và gió trong một khung cảnh yên bình, kết hợp với phong cách kiến trúc hiện đại hài hòa và tinh tế.
Phối cảnh chung cư Kim Trường Thi
Với vị trí trung tâm của mình, kết nối giao thông của dự án rất dễ dàng và thuận tiện. Tuy là khu vực trung tâm nhưng dự án lại rất ít khi xảy ra trường hợp tắc đường. Bạn sẽ thoải mái đi lại vào bất cứ thời điểm nào trong ngày. Cũng tại đây, cư dân chung cư Kim Trường Thi dễ dàng tiếp cận những tiện ích ngoại khu đẳng cấp. Bạn cũng sẽ có những phút giây tuyệt vời cùng gia đình tại khu vui chơi như Công viên trung tâm, Quảng trường thành phố. Và chỉ mất 15 phút để bạn tiếp cận bến xe hay sân bay để di chuyển tới các tỉnh/thành khác trên cả nước. Hơn nữa ngay trong dự án các tiện ích về Trung tâm thương mại, Văn phòng, Phòng tập Gym, Spa, siêu thị mini, Cafe…cũng sẽ phục vụ đầy đủ các nhu cầu về cuộc sống hàng ngày của người dân cư trong khu vực
Bất động sản thuộc dự án
- Mua bán
- Cho thuê


Xem Thêm
Vị trí - tiện ích xung quanh
-
Trường học -
Siêu thị -
Bến tàu xe -
Y tế -
Ngân hàng
var _markers = []; var _distance = 2000; var _distances_selected = [];
var _latitude = Number(18.668577677217908); var _longtitude = Number(105.69732243068847);
var _uluru = { lat: _latitude, lng: _longtitude }; var _map = null; var _directionsDisplay = null; var _directionsService = null; var _circle = null; var _zoom = 14; var _map_loaded = false; var _uiHere; var _platformHereWeGo; var _polylines = [];
var _placeCategoryId = 11; var _placeSubCategoryId = 0; var _listOfPlaces = []; var _categories = []; var _places = [];
var _polygonText = '105.70636749,18.6396389 105.69965363,18.6431427 105.6963501,18.64288139 105.69398499,18.64353752 105.68531036,18.65194893 105.68178558,18.65412712 105.68082428,18.65195274 105.68255615,18.64837456 105.68169403,18.64589882 105.68293762,18.64395714 105.66041565,18.64907455 105.65861511,18.64957047 105.6593399,18.6531105 105.65768433,18.65387154 105.65685272,18.65317154 105.65644836,18.65424728 105.65544891,18.65457344 105.65367889,18.65433502 105.65371704,18.65217972 105.65255737,18.65070343 105.65214539,18.65327835 105.65032959,18.65397835 105.64989471,18.65543938 105.64526367,18.65679932 105.64506531,18.65736961 105.64318848,18.65663338 105.64425659,18.66005135 105.644104,18.66270638 105.6432724,18.66329002 105.64286041,18.66204834 105.64070892,18.66413307 105.63967896,18.66694832 105.64122009,18.66942787 105.64013672,18.6697998 105.63750458,18.68357277 105.63954926,18.68510818 105.64557648,18.68685341 105.64357758,18.68883324 105.64300537,18.68985176 105.64332581,18.69285774 105.64242554,18.69485092 105.64048004,18.69644356 105.63934326,18.70305634 105.63739014,18.70672226 105.6388092,18.70773697 105.63880157,18.71200562 105.63864136,18.71438599 105.63533783,18.72054672 105.63391876,18.72427368 105.63506317,18.72742844 105.63645172,18.72768784 105.6375351,18.73825645 105.64343262,18.7401104 105.64477539,18.74065781 105.64427948,18.7420311 105.64598083,18.74242783 105.6434021,18.75014114 105.64537811,18.75044632 105.64130402,18.75920296 105.6432724,18.76003075 105.64361572,18.75912476 105.64560699,18.75926018 105.64598083,18.7586422 105.64996338,18.7595768 105.64944458,18.76087379 105.65184021,18.76157761 105.65145111,18.76259804 105.65571594,18.7632618 105.65777588,18.76535606 105.65925598,18.76565361 105.66127777,18.76006889 105.66265869,18.76050949 105.66365814,18.75859833 105.66477203,18.75903893 105.66577148,18.7572937 105.66802216,18.75565338 105.6687851,18.75387192 105.67163086,18.75500298 105.67018127,18.75849342 105.67295074,18.75927544 105.67723083,18.75097466 105.68041992,18.75223923 105.67993927,18.75384712 105.6811142,18.75415421 105.68193817,18.7530117 105.6832962,18.75391197 105.68292999,18.75478363 105.68463898,18.75659561 105.68634033,18.75557327 105.68756866,18.75622368 105.68791962,18.75736809 105.68928528,18.75775337 105.69146729,18.75382233 105.69216919,18.75444031 105.69182587,18.75573158 105.69319916,18.7565918 105.69384766,18.75346565 105.69618988,18.74876213 105.6958847,18.74720192 105.69669342,18.74497032 105.69574738,18.74464417 105.69590759,18.74268913 105.69434357,18.7428093 105.69433594,18.74094582 105.69602203,18.73606873 105.69560242,18.73514557 105.6971283,18.73233986 105.69928741,18.73078728 105.70648193,18.72199821 105.70774841,18.72283554 105.71040344,18.72002983 105.71091461,18.71798897 105.71317291,18.71689415 105.71237183,18.71456146 105.71333313,18.71440125 105.71379852,18.71578598 105.71487427,18.71553421 105.71670532,18.70734978 105.71891022,18.70537758 105.72169495,18.70565414 105.72309875,18.70490265 105.72350311,18.70261383 105.72226715,18.70193672 105.72341156,18.70042038 105.72800446,18.69939613 105.72683716,18.69780731 105.73016357,18.69477844 105.73268127,18.69394302 105.73312378,18.69226646 105.73253632,18.69045067 105.73304749,18.68981361 105.73498535,18.68945885 105.73860931,18.69069099 105.7396698,18.6901474 105.74104309,18.68753242 105.74369812,18.68766975 105.74578094,18.69267654 105.74368286,18.69437218 105.74343872,18.69553375 105.74677277,18.69961166 105.74586487,18.70395851 105.74898529,18.70677948 105.74765015,18.70832634 105.74775696,18.70948219 105.74928284,18.71035004 105.7516098,18.71347046 105.75443268,18.71349525 105.75676727,18.70480919 105.76101685,18.69703293 105.76567078,18.69076729 105.76673126,18.68785286 105.76873016,18.68094063 105.76876068,18.67665672 105.76732635,18.6735363 105.76370239,18.67082405 105.75869751,18.66903114 105.75119781,18.66822815 105.74410248,18.66814232 105.74005127,18.66891479 105.73193359,18.67197037 105.72827911,18.67259979 105.72624969,18.67271423 105.72201538,18.67146683 105.71628571,18.66762924 105.71327209,18.66352844 105.71068573,18.65086365 105.70862579,18.64632034 105.70636749,18.6396389';
var _timeOutRouting = null;
function InitOSMap() {
var self = this; if (_map == null) { _map = L.map('map', { center: [20.9837401, 105.79396309999993], zoom: 13, maxZoom: 16, minZoom: 9 });
if (window.innerWidth <= 920) { self._map.scrollWheelZoom.disable(); } L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors' }).addTo(_map);
if (_polygonText != '') { AddPolygonToOSMap(_polygonText); } else { MyLocationMarker(); }
initPlace(); DrawPolygonCountry(); } };
function initPlace() {
if (window.PageData.CityId == 1 || window.PageData.CityId == 2) { GetPlaces(); } else { categoryOLDId = '9'; switch (_placeCategoryId) { case 11: { categoryOLDId = '9'; break; } case 5: { categoryOLDId = '13'; break; } case 1: { categoryOLDId = '10'; break; } case 2: { categoryOLDId = '15'; break; } case 15: { categoryOLDId = '2'; break; } } LoadPlaces(categoryOLDId); } }
function MyLocationMarker() { var icon = L.icon({ iconUrl: "https://static.homedy.com/src/images/location-reviews/pin4.svg", iconSize: [35, 45], iconAnchor: [17, 45], popupAnchor: [-2, -45] });
var currentMarker = L.marker([_latitude, _longtitude], {icon: icon}).addTo(_map) .bindPopup("Vị trí của Bất động sản.").openPopup();
currentMarker.on('mouseover', function (e) { this.openPopup(); }); currentMarker.on('mouseout', function (e) { this.closePopup(); });
_map.panTo(new L.LatLng(_latitude, _longtitude)); };
function GetPlaces() { $.ajax({ contentType: "application/json; charset=utf-8", type: "GET", async: true, dataType: 'json', error: function (jqXHR, textStatus, errorThrown) { },
traditional: true, url: 'https://service.homedy.com/place/getplaces', data: { categoryId: _placeCategoryId, cityId: window.PageData.CityId, districtId: window.PageData.DistrictId }, beforeSend: function () { }, complete: function () { }, success: function (json) { if (json !== null) { _listOfPlaces = json; _places = json.places; _categories = json.categories;
if (_places.length > 0) { for (var i = 0; i < _categories.length; i++) { if (_categories[i].Id === 12) { _categories.splice(i, 1); break; } } } if (_categories.length > 0) { var catgs = _categories.filter(function (c) { return c.ParentId !== null }); if (catgs.length > 0) { $('.ul-list').removeClass('no-sub'); _placeSubCategoryId = catgs[0].Id;
SubCategory_Clicked(_placeSubCategoryId, null); } else { $('.ul-list').addClass('no-sub'); CalculatorDistance(); } } } } }); };
function DrawPolygonCountry (){ var data = '[[104.64646955434688,19.64940866304064],[104.6452927,19.6509211],[104.6453257,19.6518753],[104.645324,19.6527207],[104.6456373,19.6535168],[104.6466333,19.6545134],[104.64822131002103,19.654663930063098],[104.66,19.69],[104.65,19.71],[104.68,19.72],[104.71000000000001,19.77],[104.75,19.76],[104.75,19.78],[104.77,19.78],[104.78,19.8],[104.82000000000001,19.79],[104.83,19.8],[104.83,19.93],[104.9,19.98],[104.91,20.03],[104.94,20.06],[104.96000000000001,20.06],[104.97,20.09],[104.93,20.11],[104.91,20.14],[104.85000000000001,20.13],[104.77,20.19],[104.71000000000001,20.19],[104.60000000000001,20.240000000000002],[104.61,20.37],[104.69,20.41],[104.68,20.44],[104.66,20.44],[104.65,20.46],[104.63,20.45],[104.62,20.41],[104.54,20.400000000000002],[104.49000000000001,20.36],[104.41,20.37],[104.39,20.400000000000002],[104.4,20.42],[104.37,20.43],[104.38,20.5],[104.47,20.52],[104.49000000000001,20.56],[104.51,20.55],[104.52,20.59],[104.55,20.62],[104.60000000000001,20.62],[104.62,20.63],[104.63,20.66],[104.59,20.66],[104.56,20.71],[104.53,20.69],[104.49000000000001,20.7],[104.48,20.76],[104.42,20.78],[104.33,20.84],[104.31,20.900000000000002],[104.27,20.91],[104.27,20.89],[104.24000000000001,20.89],[104.23,20.93],[104.12,20.94],[104.12,20.96],[104.07000000000001,20.95],[104.04,20.89],[103.99000000000001,20.900000000000002],[103.95,20.88],[103.89,20.89],[103.86,20.85],[103.83,20.86],[103.82000000000001,20.81],[103.79,20.8],[103.8,20.740000000000002],[103.78,20.72],[103.75,20.72],[103.76,20.67],[103.73,20.650000000000002],[103.67,20.650000000000002],[103.67,20.67],[103.59,20.740000000000002],[103.58,20.73],[103.51,20.740000000000002],[103.47,20.81],[103.45,20.81],[103.45,20.78],[103.39,20.77],[103.29,20.82],[103.28,20.81],[103.23,20.82],[103.22,20.88],[103.18,20.900000000000002],[103.10000000000001,20.89],[103.10000000000001,20.92],[103.07000000000001,20.94],[103.08,20.95],[103.04,21.03],[103.02,21.05],[102.96000000000001,21.06],[102.95,21.07],[102.96000000000001,21.1],[102.93,21.12],[102.93,21.150000000000002],[102.89,21.16],[102.9,21.23],[102.8,21.240000000000002],[102.8,21.27],[102.84,21.31],[102.89,21.31],[102.88,21.37],[102.91,21.42],[102.87,21.41],[102.86,21.44],[102.88,21.490000000000002],[102.9,21.490000000000002],[102.9,21.51],[102.96000000000001,21.56],[102.96000000000001,21.580000000000002],[102.98,21.580000000000002],[102.97,21.61],[102.98,21.72],[102.97,21.73],[102.87,21.69],[102.84,21.740000000000002],[102.75,21.650000000000002],[102.67,21.64],[102.65,21.67],[102.65,21.71],[102.63,21.73],[102.65,21.8],[102.63,21.85],[102.60000000000001,21.87],[102.61,21.91],[102.57000000000001,21.92],[102.48,21.98],[102.49000000000001,22.03],[102.43,22.07],[102.43,22.11],[102.38,22.12],[102.36,22.16],[102.32000000000001,22.16],[102.32000000000001,22.19],[102.27,22.2],[102.26,22.23],[102.23,22.23],[102.22,22.28],[102.17,22.3],[102.17,22.34],[102.15,22.35],[102.15,22.38],[102.13,22.400000000000002],[102.14,22.41],[102.15,22.44],[102.25,22.43],[102.24000000000001,22.47],[102.26,22.47],[102.31,22.57],[102.34,22.57],[102.34,22.6],[102.37,22.6],[102.39,22.63],[102.37,22.69],[102.42,22.7],[102.44,22.76],[102.48,22.79],[102.52,22.79],[102.57000000000001,22.73],[102.62,22.740000000000002],[102.66,22.7],[102.71000000000001,22.71],[102.73,22.68],[102.76,22.68],[102.78,22.650000000000002],[102.8,22.650000000000002],[102.8,22.63],[102.83,22.64],[102.87,22.62],[102.93,22.5],[102.99000000000001,22.490000000000002],[103.02,22.46],[103.07000000000001,22.46],[103.06,22.5],[103.08,22.52],[103.12,22.53],[103.13,22.55],[103.16,22.55],[103.15,22.61],[103.18,22.66],[103.27,22.68],[103.28,22.75],[103.31,22.78],[103.31,22.82],[103.35000000000001,22.82],[103.43,22.78],[103.45,22.76],[103.44,22.71],[103.47,22.69],[103.47,22.66],[103.52,22.61],[103.57000000000001,22.66],[103.55,22.71],[103.59,22.740000000000002],[103.63,22.81],[103.65,22.81],[103.69,22.76],[103.71000000000001,22.76],[103.75,22.72],[103.75,22.7],[103.79,22.69],[103.83,22.62],[103.85000000000001,22.62],[103.85000000000001,22.6],[103.87,22.6],[103.96000000000001,22.52],[103.98,22.52],[104,22.53],[104,22.6],[104.02,22.62],[104.03,22.67],[104.02,22.71],[104.11,22.82],[104.27,22.85],[104.28,22.84],[104.27,22.76],[104.3,22.740000000000002],[104.34,22.740000000000002],[104.36,22.7],[104.38,22.7],[104.42,22.75],[104.46000000000001,22.76],[104.51,22.8],[104.53,22.84],[104.56,22.84],[104.57000000000001,22.87],[104.59,22.87],[104.60000000000001,22.85],[104.65,22.85],[104.67,22.830000000000002],[104.73,22.830000000000002],[104.72,22.86],[104.76,22.88],[104.77,22.91],[104.85000000000001,22.95],[104.8,23.05],[104.8,23.13],[104.87,23.14],[104.87,23.17],[104.89,23.19],[104.92,23.19],[104.94,23.17],[104.96000000000001,23.21],[104.99000000000001,23.21],[105.08,23.28],[105.11,23.26],[105.15,23.27],[105.16,23.3],[105.22,23.28],[105.24000000000001,23.3],[105.24000000000001,23.34],[105.28,23.35],[105.3,23.39],[105.33,23.400000000000002],[105.36,23.38],[105.36,23.34],[105.38,23.32],[105.4,23.32],[105.41,23.3],[105.45,23.31],[105.52,23.2],[105.56,23.2],[105.58,23.17],[105.58,23.080000000000002],[105.66,23.09],[105.68,23.07],[105.72,23.080000000000002],[105.74000000000001,23.04],[105.78,23.04],[105.81,23],[105.83,23.01],[105.87,22.97],[105.86,22.95],[105.88,22.94],[105.92,22.96],[105.99000000000001,22.95],[105.99000000000001,23],[106.15,23.01],[106.17,22.990000000000002],[106.22,22.990000000000002],[106.25,22.96],[106.25,22.94],[106.27,22.93],[106.27,22.88],[106.3242050351957,22.87322437060054],[106.3243685,22.8734473],[106.3252567,22.8739562],[106.3271709,22.873645],[106.3277559,22.873585],[106.3282759,22.873404],[106.32856174678753,22.87267978165156],[106.35000000000001,22.87],[106.36,22.89],[106.49000000000001,22.92],[106.5,22.96],[106.53,22.96],[106.56,22.93],[106.61,22.94],[106.65,22.88],[106.66,22.900000000000002],[106.71000000000001,22.900000000000002],[106.73,22.86],[106.79,22.82],[106.83,22.830000000000002],[106.85000000000001,22.8],[106.82000000000001,22.76],[106.78,22.740000000000002],[106.79,22.7],[106.77,22.7],[106.77,22.67],[106.74000000000001,22.650000000000002],[106.73,22.62],[106.74000000000001,22.59],[106.72,22.57],[106.64,22.57],[106.62,22.59],[106.61,22.54],[106.59,22.52],[106.59,22.46],[106.57000000000001,22.46],[106.58,22.41],[106.60000000000001,22.400000000000002],[106.58,22.35],[106.66,22.35],[106.68,22.29],[106.7,22.29],[106.71000000000001,22.2],[106.68,22.18],[106.72,22.16],[106.7,22.14],[106.7,22.12],[106.72,22.11],[106.72,22.02],[106.69,21.990000000000002],[106.71000000000001,21.98],[106.73,22.02],[106.78,22.02],[106.81,22],[106.81,21.98],[106.83365973091867,21.98215088462897],[106.8342894,21.9826573],[106.8349063,21.9836373],[106.8361992,21.9835776],[106.8380713,21.9835925],[106.8390477,21.9838661],[106.8397987,21.9840949],[106.840598,21.983299],[106.84110608480053,21.982827825890958],[106.92,21.990000000000002],[106.93,21.95],[106.96000000000001,21.93],[106.98,21.96],[107.06,21.94],[107.07000000000001,21.88],[107.02,21.86],[107.02,21.84],[107.04,21.82],[107.09,21.82],[107.15,21.77],[107.19,21.76],[107.21000000000001,21.72],[107.31,21.75],[107.37,21.67],[107.37,21.61],[107.44,21.67],[107.49000000000001,21.67],[107.5,21.62],[107.52,21.6],[107.54,21.6],[107.57000000000001,21.63],[107.59,21.63],[107.60000000000001,21.61],[107.69,21.62],[107.73,21.650000000000002],[107.77,21.650000000000002],[107.78,21.67],[107.88,21.66],[107.9,21.6],[107.93,21.6],[107.96000000000001,21.55],[108.04,21.56],[108.10000000000001,21.5],[108.14,21.28],[108.22,21.22],[108.23,21.1],[108.21000000000001,21.07],[107.97,20.82],[107.84,20.75],[107.72,20.73],[107.66,20.62],[107.58,20.54],[107.29,20.41],[107.23,20.400000000000002],[107.03,20.42],[106.95,20.490000000000002],[106.85000000000001,20.46],[106.85000000000001,20.31],[106.82000000000001,20.18],[106.78,20.09],[106.72,20.04],[106.63,20],[106.47,19.98],[106.27,19.740000000000002],[106.21000000000001,19.7],[106.13,19.68],[106.06,19.580000000000002],[106.06,19.56],[106.10000000000001,19.53],[106.15,19.45],[106.15,19.28],[106.10000000000001,19.2],[106.04,19.14],[105.96000000000001,19.11],[105.94,19.02],[106.05,19],[106.11,18.96],[106.18,18.86],[106.18,18.73],[106.16,18.68],[106.10000000000001,18.62],[106.16,18.52],[106.22,18.52],[106.27,18.5],[106.35000000000001,18.43],[106.68,18.23],[106.87,18.02],[106.89,17.97],[106.88,17.830000000000002],[106.81,17.740000000000002],[106.74000000000001,17.71],[106.9,17.5],[107.17,17.3],[107.25,17.36],[107.32000000000001,17.38],[107.44,17.36],[107.5,17.32],[109.35000000000001,15.48],[109.37,15.41],[109.56,13.93],[109.67,12.92],[109.68,12.6],[109.29,9.9],[109.25,9.83],[109.19,9.78],[106.7,8.43],[104.83,8.17],[104.79,8.18],[103.31,9.09],[103.13,9.32],[103.11,9.48],[103.85000000000001,10.01],[103.92,10.16],[103.92,10.19],[103.88,10.26],[103.82000000000001,10.28],[103.79,10.370000000000001],[103.83,10.41],[103.91,10.4],[103.92,10.44],[103.96000000000001,10.49],[104.02,10.49],[104.10000000000001,10.43],[104.12,10.39],[104.13,10.25],[104.22,10.28],[104.45,10.44],[104.5,10.43],[104.52,10.46],[104.55,10.47],[104.55,10.5],[104.58,10.51],[104.58,10.540000000000001],[104.7,10.55],[104.75,10.53],[104.87,10.53],[104.95,10.65],[105.09,10.72],[105.08,10.76],[105.05,10.78],[105.04,10.85],[105.02,10.870000000000001],[105.03,10.92],[105.08,10.97],[105.13,10.97],[105.12,10.93],[105.21000000000001,10.92],[105.23,10.9],[105.27,10.91],[105.31,10.88],[105.35000000000001,10.88],[105.35000000000001,10.9],[105.41,10.950000000000001],[105.42,10.98],[105.54,10.96],[105.66,10.99],[105.73,11.040000000000001],[105.79,11.040000000000001],[105.81,10.98],[105.87,10.92],[105.86,10.870000000000001],[105.87,10.86],[105.92,10.85],[105.92,10.870000000000001],[105.94,10.88],[105.93,10.92],[105.95,10.93],[106.04,10.84],[106.08,10.82],[106.16398043147208,10.811601956852792],[106.164114,10.811618],[106.165416,10.811677],[106.16569209708629,10.811430790291372],[106.18,10.81],[106.18,10.84],[106.13,10.91],[106.14,10.93],[106.13,10.98],[106.15048363636365,10.98],[106.151058,10.980468],[106.152158,10.981364],[106.153162,10.98235],[106.153967,10.98286],[106.15436,10.982395],[106.155189,10.981686],[106.15563,10.981142],[106.156081,10.98069],[106.156766,10.98015],[106.15699062686568,10.98],[106.19,10.98],[106.17,11.07],[106.14,11.09],[106.12,11.08],[106.12,11.06],[106.10000000000001,11.06],[106.09,11.09],[106.06,11.09],[106.05,11.120000000000001],[106.01,11.13],[106.01,11.18],[105.94,11.19],[105.9,11.23],[105.9,11.28],[105.85000000000001,11.28],[105.87,11.33],[105.86,11.41],[105.89,11.44],[105.86,11.46],[105.87,11.540000000000001],[105.8,11.57],[105.8,11.63],[105.83,11.63],[105.84,11.67],[105.88,11.69],[105.95,11.65],[105.97,11.67],[105.97,11.700000000000001],[106.01,11.73],[106,11.77],[106.03,11.790000000000001],[106.05,11.78],[106.07000000000001,11.790000000000001],[106.11,11.75],[106.2,11.76],[106.21000000000001,11.74],[106.26,11.74],[106.3,11.69],[106.39,11.71],[106.44,11.68],[106.4,11.77],[106.43,11.81],[106.43,11.870000000000001],[106.45,11.88],[106.4,11.98],[106.43,11.98],[106.44,12],[106.48,11.98],[106.50999752845529,11.98],[106.5100399,11.980117],[106.5114519,11.980252],[106.51194455290806,11.98],[106.51453640415514,11.98],[106.5151179,11.98008],[106.5162019,11.980352],[106.5173209,11.98052],[106.5183829,11.980664],[106.5197469,11.980765],[106.5225759,11.980139],[106.52282591446051,11.98],[106.64,11.98],[106.65,12],[106.72,11.98],[106.78,12.09],[106.92,12.07],[106.98,12.09],[107,12.13],[107.04,12.14],[107.06,12.19],[107.13,12.24],[107.14,12.280000000000001],[107.18,12.290000000000001],[107.19,12.31],[107.24000000000001,12.31],[107.27,12.34],[107.36,12.34],[107.39,12.31],[107.4,12.27],[107.43,12.26],[107.43,12.290000000000001],[107.46000000000001,12.3],[107.47,12.33],[107.5,12.33],[107.52,12.36],[107.54,12.36],[107.53,12.42],[107.57000000000001,12.48],[107.55,12.51],[107.55,12.530000000000001],[107.57000000000001,12.540000000000001],[107.55,12.8],[107.5,12.85],[107.48,12.89],[107.49000000000001,12.92],[107.47,12.950000000000001],[107.49000000000001,12.98],[107.48,13.030000000000001],[107.62,13.370000000000001],[107.61,13.52],[107.56,13.620000000000001],[107.53,13.74],[107.44,13.790000000000001],[107.46000000000001,13.84],[107.46000000000001,13.86],[107.44,13.870000000000001],[107.46000000000001,13.89],[107.46000000000001,13.91],[107.44,13.92],[107.45,13.96],[107.43,13.99],[107.38,13.98],[107.35000000000001,14.01],[107.36,14.08],[107.33,14.1],[107.33,14.14],[107.39,14.22],[107.4,14.290000000000001],[107.38,14.33],[107.4,14.370000000000001],[107.43,14.39],[107.44,14.43],[107.48,14.42],[107.5,14.52],[107.52,14.540000000000001],[107.51,14.6],[107.54,14.620000000000001],[107.55,14.71],[107.51,14.72],[107.53,14.75],[107.52,14.77],[107.5,14.77],[107.5,14.8],[107.58,14.88],[107.54,14.89],[107.47,14.950000000000001],[107.46000000000001,15.030000000000001],[107.5,15.030000000000001],[107.53,15.06],[107.58,15.040000000000001],[107.58,15.06],[107.60000000000001,15.06],[107.59,15.1],[107.61,15.11],[107.61,15.127187004275616],[107.609313,15.1283683],[107.6085163,15.1296931],[107.6083801,15.1311752],[107.6082104,15.1317749],[107.6076643,15.132841],[107.6080007,15.1330825],[107.609498,15.1323719],[107.61,15.131997361618618],[107.61,15.16],[107.59,15.19],[107.57000000000001,15.19],[107.57000000000001,15.21],[107.61,15.22],[107.6159921372474,15.27992137247406],[107.6159853,15.2799493],[107.6159788,15.2800154],[107.61601103898734,15.28011038987342],[107.61627393003496,15.282739300349688],[107.6162297,15.2828515],[107.6160329,15.2831852],[107.615741,15.2835058],[107.6157011,15.2835912],[107.6157216,15.2836641],[107.6157559,15.2837241],[107.6159522,15.2838059],[107.6159852,15.2838389],[107.616,15.2839101],[107.6159916,15.2839708],[107.6159659,15.2840221],[107.6155532,15.2857376],[107.6153567,15.2871383],[107.6155825,15.2880993],[107.6163095,15.2902261],[107.6166141,15.2912618],[107.61717589119104,15.291758911910403],[107.62,15.32],[107.60000000000001,15.33],[107.59,15.370000000000001],[107.60000000000001,15.4],[107.58,15.4],[107.57000000000001,15.38],[107.51,15.4],[107.5,15.47],[107.47,15.47],[107.47,15.49],[107.38,15.48],[107.36,15.55],[107.33,15.57],[107.34,15.6],[107.32000000000001,15.620000000000001],[107.27,15.620000000000001],[107.27,15.64],[107.25,15.65],[107.26,15.71],[107.24000000000001,15.73],[107.2,15.73],[107.22,15.790000000000001],[107.2,15.83],[107.22,15.85],[107.25,15.85],[107.26,15.870000000000001],[107.29,15.870000000000001],[107.33,15.9],[107.39,15.9],[107.41,15.92],[107.43,15.99],[107.45,16.01],[107.44,16.07],[107.41,16.07],[107.4,16.05],[107.32000000000001,16.05],[107.29,16.080000000000002],[107.29,16.1],[107.26,16.11],[107.24000000000001,16.14],[107.19,16.13],[107.17,16.16],[107.15,16.16],[107.13,16.21],[107.14,16.27],[107.12,16.27],[107.09,16.3],[106.97,16.29],[106.96000000000001,16.35],[106.91,16.36],[106.88,16.42],[106.86,16.42],[106.88,16.46],[106.88,16.468324316142507],[106.8784986,16.4684348],[106.8778722,16.4687563],[106.8773709,16.4693197],[106.877025,16.4699487],[106.876796,16.4704016],[106.8766608,16.4715018],[106.8766728,16.4727416],[106.8766291,16.474292],[106.8766109,16.4754194],[106.8767627,16.4760381],[106.8770293,16.4764584],[106.8775881,16.4769043],[106.8785863,16.4775435],[106.8790565,16.4778775],[106.8791465,16.4781301],[106.8790964,16.4783147],[106.8790619,16.4784409],[106.8787761,16.4790635],[106.8783492,16.4801663],[106.8778962,16.4816077],[106.8778448,16.4823409],[106.8778497,16.4828481],[106.878176,16.4834087],[106.878592,16.4841658],[106.879065,16.4848098],[106.88,16.485585165853657],[106.88,16.51],[106.85000000000001,16.54],[106.81,16.45],[106.78,16.46],[106.79,16.44],[106.75,16.4],[106.73,16.4],[106.65,16.46],[106.64,16.55],[106.66,16.57],[106.65,16.580000000000002],[106.62,16.57],[106.61,16.6],[106.58,16.59],[106.57000000000001,16.63],[106.55,16.64],[106.56,16.66],[106.54,16.69],[106.54,16.86],[106.5,16.89],[106.52,16.94],[106.54,16.93],[106.54,16.97],[106.5,16.96],[106.47,16.97],[106.46000000000001,16.990000000000002],[106.43,16.990000000000002],[106.39,17.05],[106.4,17.080000000000002],[106.29,17.2],[106.29,17.26],[106.25,17.23],[106.16,17.3],[106.14,17.3],[106.13,17.330000000000002],[106.07000000000001,17.36],[105.86,17.62],[105.83,17.62],[105.79,17.66],[105.74000000000001,17.66],[105.74000000000001,17.71],[105.72,17.71],[105.72,17.740000000000002],[105.69,17.75],[105.67,17.78],[105.67,17.84],[105.60000000000001,17.87],[105.63,17.990000000000002],[105.59,17.990000000000002],[105.57000000000001,18.01],[105.57000000000001,18.06],[105.53,18.07],[105.53,18.11],[105.5,18.11],[105.5,18.17],[105.48,18.17],[105.48,18.19],[105.45,18.19],[105.45,18.17],[105.43,18.17],[105.41,18.14],[105.36,18.150000000000002],[105.31,18.19],[105.32000000000001,18.22],[105.29,18.23],[105.29,18.25],[105.26,18.240000000000002],[105.24000000000001,18.29],[105.21000000000001,18.29],[105.17,18.32],[105.18,18.330000000000002],[105.17,18.38],[105.14,18.38],[105.14,18.400000000000002],[105.11,18.41],[105.09,18.45],[105.12,18.580000000000002],[105.15,18.62],[105.18,18.62],[105.18,18.650000000000002],[105.16,18.650000000000002],[105.13,18.68],[105.13,18.7],[105.04,18.7],[105.04,18.72],[105.02,18.73],[104.93,18.73],[104.92,18.78],[104.86,18.76],[104.79,18.77],[104.78,18.79],[104.75,18.78],[104.73,18.79],[104.73,18.81],[104.66,18.830000000000002],[104.66,18.85],[104.63,18.86],[104.62,18.88],[104.57000000000001,18.89],[104.56,18.93],[104.54,18.94],[104.54,18.97],[104.51,18.97],[104.5,18.990000000000002],[104.44,18.97],[104.39,19.03],[104.39,19.05],[104.3,19.080000000000002],[104.29,19.11],[104.21000000000001,19.11],[104.2,19.12],[104.21000000000001,19.150000000000002],[104.19,19.150000000000002],[104.18,19.19],[104.11,19.2],[104.07000000000001,19.240000000000002],[103.99000000000001,19.22],[103.98,19.240000000000002],[103.91,19.28],[103.91,19.3],[103.89,19.29],[103.87,19.3],[103.87,19.330000000000002],[103.93,19.35],[103.97,19.41],[103.99000000000001,19.42],[104.01,19.41],[104.02,19.43],[104.05,19.44],[104.06,19.43],[104.05,19.46],[104.07000000000001,19.47],[104.10000000000001,19.53],[104.09,19.55],[104.10000000000001,19.57],[104.08,19.57],[104.05,19.6],[104.06,19.69],[104.14,19.67],[104.16,19.71],[104.19,19.7],[104.22,19.72],[104.29,19.7],[104.31,19.71],[104.33,19.69],[104.37,19.71],[104.37,19.7],[104.43,19.71],[104.43,19.68],[104.46000000000001,19.68],[104.46000000000001,19.66],[104.47,19.67],[104.51,19.66],[104.52,19.63],[104.57000000000001,19.63],[104.61,19.650000000000002],[104.64,19.63],[104.64646955434688,19.64940866304064]]'; //console.log(JSON.parse(jsonPolygon)); var jsonPolygon = JSON.parse(data);
var arrayforPolygon = []; $.each(jsonPolygon, function (index, item) { arrayforPolygon.push({ lat: parseFloat(item[1]), lng: parseFloat(item[0]) }); });
//var _polygon = L.polygon(arrayforPolygon, { fillOpacity: 0 }); //_map.fitBounds(_polygon.getBounds()); L.Mask = L.Polygon.extend({ options: { stroke: true, strokeWeight: 1.5, strokeOpacity: 0.2, fillOpacity: 1, fillColor: '#e8e8e8', clickable: true,
outerBounds: new L.LatLngBounds([-90, -360], [90, 360]) },
initialize: function (latLngs, options) {
var outerBoundsLatLngs = [ this.options.outerBounds.getSouthWest(), this.options.outerBounds.getNorthWest(), this.options.outerBounds.getNorthEast(), this.options.outerBounds.getSouthEast() ]; L.Polygon.prototype.initialize.call(this, [outerBoundsLatLngs, latLngs], options); },
}); var mask = new L.Mask(arrayforPolygon); mask.addTo(self._map);
};
function AddCircle() { var circle = L.circle([_latitude, _longtitude], { radius: 5000 }).addTo(_map); };
function AddMakerToOSMap (data) { var imageUrl = ''; var alias = ''; switch (_placeCategoryId) { case 11: { alias = 'truong-hoc'; imageUrl = 'https://static.homedy.com/src/images/icon/map/truonghoc4.svg'; break; } case 5: { alias = 'sieu-thi'; imageUrl = 'https://static.homedy.com/src/images/icon/map/sieuthi4.svg'; break; } case 1: { alias = 'ben-xe'; imageUrl = 'https://static.homedy.com/src/images/icon/map/benxe4.svg'; break; } case 2: { alias = 'y-te'; imageUrl = 'https://static.homedy.com/src/images/icon/map/yte4.svg'; break; } case 15: { alias = 'ngan-hang'; imageUrl = 'https://static.homedy.com/src/images/icon/map/nganhang4.svg'; break; } }
try { var icon = L.icon({ iconUrl: imageUrl, iconSize: [25, 35], iconAnchor: [12, 35], popupAnchor: [-2, -35] });
var position = [parseFloat(data.Latitude), parseFloat(data.Longitude)]; var marker = L.marker(position, { icon: icon }).addTo(_map) .bindPopup("
" + data.Name + "
");
marker.on('click', function (e) {
DrawRouting({ lat: _latitude, lng: _longtitude }, { lat: data.Latitude, lng: data.Longitude });
});
_markers.push({ marker: marker, id: data.Id });
} catch (err) { console.warn(err) }
};
function AddMakerToOSMapOLD (data) {
var imageUrl = '';
var alias = '';
switch (_placeCategoryId) {
case 11: {
alias = 'truong-hoc';
imageUrl = 'https://static.homedy.com/src/images/icon/map/truonghoc4.svg';
break;
}
case 5: {
alias = 'sieu-thi';
imageUrl = 'https://static.homedy.com/src/images/icon/map/sieuthi4.svg';
break;
}
case 1: {
alias = 'ben-xe';
imageUrl = 'https://static.homedy.com/src/images/icon/map/benxe4.svg';
break;
}
case 2: {
alias = 'y-te';
imageUrl = 'https://static.homedy.com/src/images/icon/map/yte4.svg';
break;
}
case 15: {
alias = 'ngan-hang';
imageUrl = 'https://static.homedy.com/src/images/icon/map/nganhang4.svg';
break;
}
}
try {
var icon = L.icon({
iconUrl: imageUrl,
iconSize: [25, 35],
iconAnchor: [12, 35],
popupAnchor: [-2, -35]
});
var position = [parseFloat(data.lat), parseFloat(data.long)];
var marker = L.marker(position, { icon: icon }).addTo(_map)
.bindPopup("
" + data.title + "
");
marker.on('click', function (e) {
DrawRouting({ lat: _latitude, lng: _longtitude }, { lat: data.lat, lng: data.long });
});
_markers.push({ marker: marker, id: data.id });
} catch (err) { console.warn(err) }
};
function AddPolygonToOSMap (data) {
var self = this;
var _position = "";
if (data !== null && data !== undefined) {
if (data.indexOf('@') > 0) {
var arrPolygon = data.split('@');
var maxlength = 0;
$.each(arrPolygon, function (index, item) {
if (item.length > maxlength) {
_position = item;
maxlength = item.length;
}
});
} else {
_position = data;
}
}
var res = _position.split(" ");
var arrayforPolygon = [];
$.each(res, function (key, item) {
var position = item.split(",");
arrayforPolygon.push([parseFloat(position[1]), parseFloat(position[0])]);
});
var _polygon = L.polygon(arrayforPolygon, { fillOpacity: 0.1 });
self.Polygon = _polygon;
self._map.fitBounds(_polygon.getBounds());
MyLocationMarker();
};
function Category_Clicked (id, name, e) {
var self = this;
_placeCategoryId = id;
_placeSubCategoryId = 0;
if (_markers.length > 0) {
$.each(_markers, function (index, item) {
_map.removeLayer(item.marker);
});
}
_markers = [];
_places = [];
_categories = [];
$('.tab-item').removeClass('active');
e.className = "tab-item active";
if (_routing !== null) {
_map.removeControl(_routing);
_routing = null;
}
initPlace();
};
function SubCategory_Clicked(id, e) {
if (e !== null) {
$('#list_category li').removeClass('active');
e.className = 'active';
}
if (id > 0) {
_placeSubCategoryId = id;
if (_routing !== null) {
_map.removeControl(_routing);
_routing = null;
}
if (_markers.length > 0) {
$.each(_markers, function (index, item) {
_map.removeLayer(item.marker);
});
}
_markers = [];
_places = [];
var places = _listOfPlaces.places.filter(function (p) { return p.CategoryId === _placeSubCategoryId });
if (places !== null && places !== undefined && places.length > 0) {
$.each(places, function (index, item) {
_places = places;
});
}
CalculatorDistance();
}
};
function CalculatorDistance() {
var html = '';
$.each(_categories, function (index, item) {
if (item.ParentId !== undefined && item.ParentId !== null) {
var active = item.Id === _placeSubCategoryId ? 'active' : '';
html += '
';
}
});
$('#list_category').html(html);
$.each(_places, function (index, item) {
var distance = Distance(_latitude, _longtitude, parseFloat(item.Latitude), parseFloat(item.Longitude), 'K');
var time = distance / 20;
item.Distance = distance;
if (item.Distance >= 1) {
item.DistanceStr = parseFloat(distance).toFixed(2) + " km";
} else {
item.DistanceStr = parseFloat(distance * 1000).toFixed(0) + " m";
}
item.Time = Math.round(time * 60);
});
_places.sort(dynamicSort("Distance"));
_places.push({ id: 9999 });
_places.splice(-1, 1);
html = '';
$.each(_places, function (index, item) {
if (index '
html += '
'
html += '
html += '
'
html += '
'
html += '
'
html += '
html += '
'
html += '
'
html += '
'
html += ''
}
});
if (html != '') {
$('.ul-list').fadeIn();
$('#list_place').html(html);
$(".ul-list").mCustomScrollbar({
theme: "minimal-dark"
});
}else
$('.ul-list').fadeOut();
};
function CalculatorDistanceOLD() {
var html = '';
$.each(_places, function (index, item) {
var distance = Distance(_latitude, _longtitude, parseFloat(item.lat), parseFloat(item.long), 'K');
var time = distance / 20;
item.Distance = distance;
if (item.Distance >= 1) {
item.DistanceStr = parseFloat(distance).toFixed(2) + " km";
} else {
item.DistanceStr = parseFloat(distance * 1000).toFixed(0) + " m";
}
item.Time = Math.round(time * 60);
});
_places.sort(dynamicSort("Distance"));
_places.push({ id: 9999 });
_places.splice(-1, 1);
html = '';
$.each(_places, function (index, item) {
if (index '
html += '
'
html += '
html += '
'
html += '
'
html += '
'
html += '
html += '
'
html += '
'
html += '
'
html += ''
}
});
if (html != '') {
$('.ul-list').fadeIn();
$('#list_place').html(html);
$(".ul-list").mCustomScrollbar({
theme: "minimal-dark"
});
}else
$('.ul-list').fadeOut();
};
function ShowOSMMarker(id) {
var marker = _markers.filter(function (m) { return m.id == id })[0].marker;
marker.openPopup();
};
function Distance(lat1, lon1, lat2, lon2, unit) {
if ((lat1 === lat2) && (lon1 === lon2)) {
return 0;
}
else {
var radlat1 = Math.PI * lat1 / 180;
var radlat2 = Math.PI * lat2 / 180;
var theta = lon1 - lon2;
var radtheta = Math.PI * theta / 180;
var dist = Math.sin(radlat1) * Math.sin(radlat2) + Math.cos(radlat1) * Math.cos(radlat2) * Math.cos(radtheta);
if (dist > 1) {
dist = 1;
}
dist = Math.acos(dist);
dist = dist * 180 / Math.PI;
dist = dist * 60 * 1.1515;
if (unit === "K") { dist = dist * 1.609344; }
if (unit === "N") { dist = dist * 0.8684; }
return dist;
}
};
function dynamicSort (property) {
var sortOrder = 1;
if (property[0] === "-") {
sortOrder = -1;
property = property.substr(1);
}
return function (a, b) {
var result = (a[property] b[property]) ? 1 : 0;
return result * sortOrder;
};
};
function LoadPlaces(categoryId) {
$.ajax({
type: "GET",
url: "https://service.homedy.com/Place/Search",
dataType: "json",
contentType: "application/json",
data: { CategoryId: categoryId, Latitude: _latitude, Longitude: _longtitude, Distance: _distance, PageIndex: 0, PageSize: 100 },
success: function (json) {
if (json !== null && json !== undefined) {
if (json.data.length > 0) {
_places = json.data;
$('.ul-list').addClass('no-sub');
}
CalculatorDistanceOLD();
}
},
error: function (error) {
console.log(error);
}
});
}
var _routing = null;
function DrawRouting(positionA, positionB) {
if (_timeOutRouting !== null) {
Snackbar("Thao tác quá nhanh");
} else {
if (_routing !== null) {
_map.removeControl(_routing);
_routing = null;
}
_routing = L.Routing.control({
waypoints: [
L.latLng(positionA.lat, positionA.lng),
L.latLng(positionB.lat, positionB.lng)
],
createMarker: function (i, start, n) {
var marker_icon = null
if (i == 0) {
marker_icon = L.divIcon({ className: 'bus-top-icon brown', html: "A", popupAnchor: [5, -20] });
} else if (i == n - 1) {
marker_icon = L.divIcon({ className: 'bus-top-icon brown', html: "B", popupAnchor: [5, -20] });
}
var marker = L.marker(start.latLng, {
draggable: true,
icon: marker_icon
})
return null;
},
routeWhileDragging: true
}).addTo(_map);
_timeOutRouting = setTimeout(function () {
_timeOutRouting = null;
},1000)
}
}
function Snackbar(content) {
var x = document.getElementById("snackbar");
x.className = "show";
x.innerHTML = content;
setTimeout(function () { x.className = x.className.replace("show", ""); }, 3000);
}
function IsMobile(){
if (window.innerWidth = distance) {
if (!_map_loaded) {
_map_loaded = true;
InitOSMap();
}
}
});
var isProject = false;
if (isProject) {
if (!_map_loaded) {
_map_loaded = true;
InitOSMap();
}
}
}
Tiện ích dự án