The Elite là một phân khu mới trong siêu dự án có quy mô hơn 300ha Aqua City do tập đoàn Novaland phát triển. Dự án tọa lạc tại đường Ngô Quyền, xã Long Hưng, TP. Biên Hòa, tỉnh Đồng Nai.
Phối cảnh dự án KĐT Aqua City Đồng Nai
Tại The Elite Aqua City, các sản phẩm nhà phố – shophouse 6×20, 8×20, biệt thự 10×20, 12×20, 15x25m2 sẽ giúp khách hàng có thể đa dạng lựa chọn sản phẩm cho nhu cầu cá nhân và gia đình mình cùng hàng chục tiện ích bao quanh dự án có thể nói cực kì đẳng cấp.
🔥🔥🔥 ƯU ĐÃI HẤP DẪN KHÔNG GIỚI HẠN CHỈ CÓ TẠI THE ELITE AQUA CITY 🔥🔥🔥
❌ Chính sách bán hàng "siêu khủng":
💎 Ưu đãi Booking quý 3/2020, đặt cọc sớm từ ngày 2/6/2020
💎 Giá mới chính thức cập nhật: Đặt cọc 200 triệu
💎 Ưu đãi 1% đến 5% khi khách hàng đăng ký thẻ thành viên NOVALoyalty
💎 Khách hàng sở hữu 1000 cổ phiếu nova trong 6 tháng đc giảm 55 triệu khi mua Aqua City
💎 Tặng Voucher nghỉ dưỡng, nhà hàng lên đến 30 triệu.
💎 Tặng Gói nghỉ dưỡng áp dụng khách hàng sở hữu xe hơi, Mer, Ford, Toyota lên đến 90 triệu
💎 Tặng gói sân vườn 3d với khu The Grand Villa trị giá 1 tỶ trừ vào giá bán
❌ Ưu đãi vay ngân hàng:
👉 Ngân hàng hỗ trợ không gốc - không lãi - không 0% trả nợ trước hạn đến nhận nhà
👉 Chiết khấu cho khách hàng 5% khi không vay
👉 Vay 40%/vbtt được CĐT hỗ trợ trả lãi suất đến 11% tới khi nhận nhà
❌ Chính sách thanh toán:
🌵 Hỗ trợ thanh khoản nhanh cho khách hàng
🌵 Thanh toán nhanh giảm trực tiếp vào giá bán từ 3-15%
🌵 Thanh toán chỉ 10% trong đợt 1, 1%/tháng đến khi nhận nhà
📞 LIÊN HỆ NGAY NHẬN CHÍNH SÁCH ƯU ĐÃI 📞
Mô tả dự án
VÌ SAO NÊN LỰA CHỌN PHÂN KHU THE ELITE - AQUA CITY BIÊN HÒA?
The Elite Aqua City là phân khu với sự sôi động từ những tinh hoa cuộc sống dành cho giới siêu giàu với các căn Nhà Phố - Biệt Thự - Shophouse thiết kế hơi hướng hiện đại - năng động...khu thuyền Kayak, Golf, Clubouse ngoài trời, Bến Du Thuyền...cùng việc ứng dụng công nghệ 4.0 vào vận hành quản lý.
Dự án khu đô thị Aqua City Đồng Nai gồm đa dạng loại hình như Nhà Phố, Shophouse, Biệt Thự Vườn, Biệt Thự Ven Sông với mức giá bán hấp dẫn mang đến cho quý khách hàng và nhà đầu tư một cơ hội an sinh cũng như đầu tư lý tưởng nhất 2020.
VỊ TRÍ DỰ ÁN KHU ĐÔ THỊ AQUA CITY BIÊN HÒA ĐỒNG NAI
Khu đô thị Aqua City có vị trí tại đường Ngô Quyền, xã Long Hưng, TP. Biên Hòa, tỉnh Đồng Nai. Đây được coi là vị trí ''vàng'' khi tiếp giáp phía Đông với TP HCM, từ dự án dễ dàng di chuyển về Tp.HCM và Cảng hàng không quốc tế Long Thành qua tuyến đường Hương Lộ 2 kết nối cao tốc Tp.HCM - Long Thành - Dầu Giây.
Vị trí dự án KĐT Aqua City Đồng Nai
Từ KĐT Aqua City, dễ dàng kết nối đến các địa điểm:
🔹 5 phút: đến Bến Du Thuyền, Sân Golf Long Thành, Khu vui chơi giải trí Sơn Tiên
🔹 7 phút: đến Trung Tâm Đại Học Quốc Gia Tp.HCM
🔹 10 phút: đến bệnh viện Shing Mark, Tp. Biên Hòa, Khu công nghệ cao
🔹 15 phút: đến Trung Tâm Tài Chính Thủ Thiêm Big C - Aeon Mall - Lotte Mark - Nguyễn Kim
🔹 20 phút: đến trung tâm Tp.HCM
🔹 Cách Sân bay quốc tế Long Thành: 15 km
🔹 Cách trạm cuối tuyến Metro Bến Thành - Suối Tiên: 6 km
MẶT BẰNG DỰ ÁN KHU ĐÔ THỊ AQUA CITY BIÊN HÒA ĐỒNG NAI
Mặt bằng tổng thể dự án Aqua City Biên Hòa
Mặt bằng tổng thể dự án Aqua City Biên Hòa
Mặt bằng chi tiết tại phân khu The Elite - Aqua City Biên Hòa:
TIỆN ÍCH HỘI TỤ TẠI KĐT AQUA CITY BIÊN HÒA ĐỒNG NAI
Công nghệ Smart Home được ứng dụng tại các căn nhà phố, biệt thự tại The Elite giúp chủ nhân dễ dàng điều khiển ngôi nhà thông minh như một trợ thủ đắc lực:
🔹 Điều khiển các thiết bị điện
🔹 Hệ thống an ninh 24/7
🔹 Điều khiển rèm tự động
🔹 Ánh sáng thông minh
🔹 Hệ thống tưới nước tự động
🔹 Nhận diện bằng giọng nói…
Khu đô thị Aqua City hội tụ đầy đủ hàng loạt tiện ích đẳng cấp như:






>> XEM THÊM: Thông tin dự án Biên Hòa New City Đồng Nai
Chính sách - Ưu đãi
Bất động sản thuộc dự án
- Mua bán
- Cho thuê
Không có thông tin bất động sản nào trong mục này.
;
0902013***
Nhấn để hiện số
Nhấn để gọi ngay
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(10.876035080694546); var _longtitude = Number(106.86262219895025);
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 = '106.85668945,10.84267807 106.84957123,10.85624123 106.84673309,10.86487675 106.85076141,10.87308121 106.85106659,10.87628269 106.8459549,10.88228989 106.84358978,10.88396454 106.84301758,10.89128685 106.84024048,10.89892864 106.83930206,10.90150356 106.83831024,10.90333843 106.83454895,10.90368366 106.83192444,10.90674496 106.82855988,10.90413284 106.82387543,10.90289211 106.82269287,10.90296936 106.82176208,10.90393162 106.82089996,10.90322018 106.8162384,10.90284348 106.81393433,10.90739441 106.81513977,10.90798664 106.81510925,10.91027355 106.8137207,10.91306114 106.81154633,10.91522789 106.81208038,10.91756058 106.81085968,10.91796398 106.81082916,10.91864395 106.80963898,10.91860008 106.80902863,10.9198103 106.80524445,10.92080021 106.80217743,10.92006493 106.80083466,10.91991615 106.7988205,10.92169189 106.7971344,10.92170429 106.79411316,10.92368412 106.78825378,10.92212677 106.79174805,10.92748547 106.7922287,10.92818356 106.7918396,10.93008423 106.79058075,10.93222046 106.78816986,10.93323135 106.78386688,10.93299007 106.78265381,10.93702888 106.78315735,10.93806076 106.78153229,10.93718433 106.78085327,10.93815708 106.7793045,10.93707657 106.7778244,10.9382515 106.77811432,10.93960285 106.77663422,10.9388895 106.77545929,10.94037724 106.77458954,10.93992615 106.77077484,10.94281101 106.76927185,10.94767761 106.76991272,10.95101261 106.77105713,10.95118999 106.77031708,10.95250893 106.76898193,10.9517622 106.76692963,10.95217609 106.76623535,10.95167446 106.76272583,10.95332718 106.76514435,10.95848942 106.7649231,10.95972538 106.76248932,10.96101093 106.76200104,10.96199226 106.76209259,10.96337605 106.76359558,10.96469975 106.76441956,10.96344662 106.76647949,10.96451855 106.76657867,10.96345711 106.76783752,10.96445751 106.76931,10.96417332 106.7701416,10.96514606 106.77138519,10.96526241 106.7711792,10.96358395 106.77275085,10.96221066 106.7730484,10.95968246 106.77549744,10.9592762 106.77831268,10.96238518 106.78360748,10.96567535 106.78603363,10.96755314 106.79496765,10.97045898 106.79633331,10.97218037 106.7964859,10.97396088 106.79821777,10.97410297 106.79944611,10.97648335 106.80194855,10.97721291 106.80203247,10.9784317 106.80339813,10.98198032 106.80259705,10.98480034 106.8057785,10.98275185 106.8116684,10.98472881 106.80986023,10.98954296 106.81040192,10.99034882 106.8123703,10.9912014 106.81565094,10.98987865 106.82609558,10.99192524 106.83252716,10.99151611 106.83522797,10.99659157 106.84191895,10.99677849 106.84653473,10.99436665 106.84700775,10.99644852 106.85184479,11.0023613 106.85695648,11.0011034 106.8625946,11.00460434 106.86585236,11.00276184 106.86678314,11.0012455 106.86895752,11.00035286 106.8716507,11.00022316 106.87345886,11.00287819 106.87902832,11.00051308 106.87810516,11.00449371 106.8813324,11.00277805 106.8837204,11.00393772 106.88544464,11.00580215 106.88587189,11.00497723 106.88457489,11.00269794 106.88521576,11.00189686 106.88684082,11.00130367 106.88805389,11.00186253 106.8920517,11.0003891 106.89315796,10.99921227 106.89453125,10.99984455 106.89788818,10.99842358 106.89884186,10.99872875 106.90175629,10.99359035 106.90368652,10.99395943 106.90465546,10.9917202 106.90461731,10.98953152 106.90357208,10.98787975 106.90441895,10.98505306 106.90644073,10.98395061 106.90924072,10.98567009 106.91127014,10.98486996 106.91294861,10.98557568 106.91287994,10.98325443 106.90992737,10.9816494 106.90982819,10.97962856 106.91069031,10.97770119 106.91688538,10.97725391 106.91959381,10.97884464 106.92131042,10.97899151 106.92037964,10.97522259 106.91696167,10.97225475 106.91642761,10.96649456 106.91382599,10.96692848 106.91348267,10.96255112 106.92687225,10.96334457 106.93495178,10.95936584 106.93461609,10.95575523 106.93011475,10.94161606 106.93649292,10.94282627 106.93798065,10.94314194 106.9401474,10.93704414 106.93791962,10.93402195 106.9387207,10.93113422 106.94147491,10.92741966 106.94299316,10.92921257 106.94322205,10.93031788 106.94232941,10.93172359 106.94309998,10.93427277 106.94747925,10.9348135 106.94773865,10.93278122 106.95187378,10.9330864 106.96122742,10.93168163 106.96479034,10.93123913 106.96701813,10.9301672 106.96673584,10.92909241 106.96854401,10.9274683 106.96691132,10.92204094 106.96750641,10.91957569 106.97100067,10.91989994 106.97151947,10.91419888 106.96945953,10.9109602 106.97006989,10.90558434 106.9693985,10.90405273 106.96858215,10.90295887 106.96875,10.89873981 106.98435211,10.89846325 106.98432922,10.89595032 106.98667145,10.89289379 106.98573303,10.89124298 106.97810364,10.88528824 106.97988129,10.88304138 106.97187042,10.877635 106.97669983,10.87150669 106.96614838,10.86344719 106.96060944,10.86127758 106.92838287,10.85336876 106.92933655,10.84837055 106.92944336,10.84266186 106.93537903,10.83366776 106.92647552,10.82585812 106.92108154,10.82455158 106.92068481,10.8279705 106.91859436,10.82775497 106.91783142,10.82881832 106.91326141,10.82550144 106.91306305,10.82604504 106.90892029,10.82585907 106.90554047,10.82679081 106.90509033,10.82513237 106.90260315,10.82402992 106.90208435,10.82245445 106.8864212,10.82985973 106.88718414,10.8280735 106.88562012,10.82431412 106.88243866,10.82405376 106.88249969,10.82727432 106.88128662,10.82865047 106.8781662,10.82654572 106.87273407,10.82500172 106.87164307,10.82619095 106.85668945,10.84267807';
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();
}
}
}
Đối tác thực hiện
Tiện ích dự án
Tin cùng chuyên mục:
Mua Tinh dầu Cỏ Gừng nguyên chất tại Tân Bình
Mua Tinh dầu Cỏ Gừng nguyên chất tại Phú Nhuận
Mua Tinh dầu Long não nguyên chất tại Tân Bình
Mua Tinh dầu Long não nguyên chất tại Phú Nhuận