menu close תפריט

שפה

התאמה של נכס חדש

פרויקטים ליד הים

105 מודעות

סינון

קבלן

העיר

קרבה לים

מעל 7 קומות

עד 7 קומות

mse2_filter_tv_objcityplace

סינון
bg על המפה

תורגמן מאיר ובניו בע"מ

+972 54-558-7797

palm קרבה לים
שיווק הסתיים
בן יהודה 242
בן יהודה 242

תל אביב

קן התור הנדסה ובניין בע"מ

palm קרבה לים
סהרון 6–12
סהרון 6–12
סהרון 6–12
סהרון 6-12

תל אביב יפו

קן התור הנדסה ובניין בע"מ

palm קרבה לים
שיווק הסתיים
פיקוס 7-11
פיקוס 7-11
פיקוס 7-11
פיקוס 7-11

תל אביב

קן התור הנדסה ובניין בע"מ

palm קרבה לים
בת ים – ביל”ו
בת ים – ביל”ו
בת ים – ביל”ו
בת ים – ביל”ו
בת ים – ביל”ו
בת ים – ביל”ו
בת ים – ביל”ו
בת ים – ביל”ו
בת ים – ביל”ו
בת ים – ביל”ו

בת ים

ע.ט החברה להתחדשות עירונית

palm קרבה לים
NEO חנה סנש
NEO חנה סנש
NEO חנה סנש
NEO חנה סנש
NEO חנה סנש
NEO חנה סנש
NEO חנה סנש

בת ים

ע.ט החברה להתחדשות עירונית

palm קרבה לים
palm קרבה לים
ארלוזורוב
ארלוזורוב
ארלוזורוב
ארלוזורוב
ארלוזורוב
ארלוזורוב

בת ים

צבי ובניו

palm קרבה לים
רמב״ם 15-17
רמב״ם 15-17

בת ים

ניו ארה יזמות נדל"ן וניהול פרויקטים בע"מ

palm קרבה לים
הרצל 12 א'
הרצל 12 א'
הרצל 12 א'
הרצל 12 א'

בת ים

ניו ארה יזמות נדל"ן וניהול פרויקטים בע"מ

palm קרבה לים
שד' ירושלים
שד' ירושלים
שד' ירושלים

נתניה

ניו ארה יזמות נדל"ן וניהול פרויקטים בע"מ

וילה אכזיב
וילה אכזיב
וילה אכזיב
וילה אכזיב
וילה אכזיב
וילה אכזיב
וילה אכזיב
וילה אכזיב
וילה אכזיב
וילה אכזיב
וילה אכזיב

נהריה

קבוצת סלע בינוי

palm קרבה לים
no-image
SPARK שכונת לכיש אשדוד

אשדוד

קבוצת סלע בינוי

palm קרבה לים
שער הים
שער הים
שער הים
שער הים
שער הים
שער הים

בת ים

קבוצת ב.ס.ר

palm קרבה לים
מהר
מהר"ל 20

תל אביב

התחדשות אורבנית ייזום ונדל"ן

palm קרבה לים
בלפור 81
בלפור 81
בלפור 81

בת ים

אב-גד

bg על המפה

על המפה

] }; /** * Assign a unique id to each store. You'll use this `id` * later to associate each point on the map with a listing * in the sidebar. */ stores.features.forEach((store, i) => { store.properties.id = i; }); map.on('load', () => { map.addSource('places', { 'type': 'geojson', 'data': stores }); addMarkers(); }); function addMarkers() { for (const marker of stores.features) { const el = document.createElement('div'); el.id = `marker-${marker.properties.id}`; el.className = 'marker'; // Добавляем условие проверки postalCode if (marker.properties.postalCode === 'Park') { el.classList.add('Park-marker'); // Добавляем класс к маркеру } else if (marker.properties.postalCode === 'Shop') { el.classList.add('Shop-marker'); // Добавляем класс к маркеру } else if (marker.properties.postalCode === 'BusStop') { el.classList.add('BusStop-marker'); // Добавляем класс к маркеру } else if (marker.properties.postalCode === 'School') { el.classList.add('School-marker'); // Добавляем класс к маркеру } else if (marker.properties.postalCode === 'KinderGarten') { el.classList.add('KinderGarten-marker'); // Добавляем класс к маркеру } else if (marker.properties.postalCode === 'Sea') { el.classList.add('Sea-marker'); // Добавляем класс к маркеру } else { } new mapboxgl.Marker(el, { offset: [0, -23] }) .setLngLat(marker.geometry.coordinates) .addTo(map); el.addEventListener('click', (e) => { flyToStore(marker); createPopUp(marker); const activeItem = document.getElementsByClassName('active'); e.stopPropagation(); if (activeItem[0]) { activeItem[0].classList.remove('active'); } const listing = document.getElementById( `listing-${marker.properties.id}` ); listing.classList.add('active'); }); } } // Создайте переменную для хранения текущих видимых кодов postalCode let visiblePostalCodes = ['NO']; // Добавьте слушатели событий клика на кнопки фильтрации // Функция для переключения видимости маркеров с заданным postalCode function togglePostalCode(postalCode) { if (visiblePostalCodes.includes(postalCode)) { // Если postalCode уже видим, удаляем его из списка видимых visiblePostalCodes = visiblePostalCodes.filter(code => code !== postalCode); } else { // Иначе, добавляем его в список видимых visiblePostalCodes.push(postalCode); } // Вызываем функцию для обновления маркеров на карте updateMarkers(); } // Функция для обновления маркеров на карте в соответствии с текущими фильтрами function updateMarkers() { // Удаляем все маркеры с карты const markers = document.getElementsByClassName('marker'); while (markers.length > 0) { markers[0].remove(); } // Добавляем маркеры в соответствии с текущими фильтрами for (const marker of stores.features) { const el = document.createElement('div'); el.id = `marker-${marker.properties.id}`; el.className = 'marker'; // Всегда показывать маркеры с postalCode "NO" if (marker.properties.postalCode === 'NO') { visiblePostalCodes.push('NO'); } if (visiblePostalCodes.includes(marker.properties.postalCode)) { // Если postalCode маркера находится в списке видимых, добавляем его классы if (marker.properties.postalCode === 'Park') { el.classList.add('Park-marker'); } else if (marker.properties.postalCode === 'Shop') { el.classList.add('Shop-marker'); } else if (marker.properties.postalCode === 'BusStop') { el.classList.add('BusStop-marker'); } else if (marker.properties.postalCode === 'School') { el.classList.add('School-marker'); } else if (marker.properties.postalCode === 'KinderGarten') { el.classList.add('KinderGarten-marker'); } else if (marker.properties.postalCode === 'Sea') { el.classList.add('Sea-marker'); } // Остальной код добавления маркеров остается без изменений new mapboxgl.Marker(el, { offset: [0, -23] }) .setLngLat(marker.geometry.coordinates) .addTo(map); el.addEventListener('click', (e) => { flyToStore(marker); createPopUp(marker); const activeItem = document.getElementsByClassName('active'); e.stopPropagation(); if (activeItem[0]) { activeItem[0].classList.remove('active'); } const listing = document.getElementById( `listing-${marker.properties.id}` ); listing.classList.add('active'); }); } } // Добавить/удалить класс у кнопок в зависимости от выбранных фильтров const showParkButton = document.getElementById('showParkButton'); const showShopButton = document.getElementById('showShopButton'); const showBusStopButton = document.getElementById('showBusStopButton'); const showSchoolButton = document.getElementById('showSchoolButton'); const showKinderGartenButton = document.getElementById('showKinderGartenButton'); const showSeaButton = document.getElementById('showSeaButton'); } // ... function flyToStore(currentFeature) { map.flyTo({ center: currentFeature.geometry.coordinates }); } // Создайте переменную для хранения текущего активного попапа let activePopup = null; map.on('click', (e) => { const popups = document.getElementsByClassName('mapboxgl-popup'); if (popups.length > 0) { // Проверяем, есть ли открытые попапы for (const popup of popups) { const isClickInsidePopup = popup.contains(e.originalEvent.target); if (!isClickInsidePopup) { // Закрываем попап, если клик был снаружи попапа popup.remove(); } } } }); // Добавляем слушатель события click к элементу document document.addEventListener('click', (e) => { const popups = document.getElementsByClassName('mapboxgl-popup'); if (popups.length > 0) { // Проверяем, есть ли открытые попапы for (const popup of popups) { const isClickInsidePopup = popup.contains(e.target); if (!isClickInsidePopup) { // Закрываем попап, если клик был снаружи попапа popup.remove(); } } } }); function createPopUp(currentFeature) { const popUps = document.getElementsByClassName('mapboxgl-popup'); for (const popup of popUps) { popup.remove(); // Закрыть все открытые попапы } // Проверьте значение postalCode if (currentFeature.properties.postalCode === 'NO') { // Если postalCode равен 'NO', используйте другой HTML для попапа const popup = new mapboxgl.Popup({ closeOnClick: false }) .setLngLat(currentFeature.geometry.coordinates) .setHTML( `
${currentFeature.properties.address}

${currentFeature.properties.city}

` ) .addTo(map); } else { // Иначе используйте первоначальный HTML для попапа const popup = new mapboxgl.Popup({ closeOnClick: false }) .setLngLat(currentFeature.geometry.coordinates) .setHTML( `
` ) .addTo(map); } } map.addControl(new mapboxgl.NavigationControl()); map.scrollZoom.disable(); -->