לוקיישן לצילומים: הגג בקניון עזריאלי, תל אביב - לוקייט
לוקיישן: הגג בקניון עזריאלי, תל אביב
תמונה צולמה 03 באוגוסט 2019 בשעה: 20:12
תמונה צולמה 03 באוגוסט 2019 בשעה: 20:09
תמונה צולמה 03 באוגוסט 2019 בשעה: 19:35
בגג של קניון עזריאלי בקומה שלישית יש נוף מדהים לתל אביב ולמגדלים. יכול להתאים לצילומי טיימלאפס, שקיעה ועוד..
15 באוגוסט 2019 בשעה: 00:03
label טיימלאפס label גג label כביש label קניון
';popupMulti.init(question,question,function(){window.location.href=document.location.origin+'/Upload_Images/'+locationID},function(){},'הוספת תמונות','סגור')} $(document).ready(function(){checkLastNavigation()});var unseen=0;var newUnseen=0;function getNotifications(){jQuery.ajax({type:"POST",url:window.location.origin+'/site/ajax/get_notifications.php',data:'',async:"true",success:function(data){$('#notificationsFeed').html(data);newUnseen=$(".unseen").length;if(newUnseen>unseen){$('#numOfNotifications').html(newUnseen);unseen=newUnseen} if($(".unseen")[0]){$('#userNotificationsBtn').addClass('newNotifications')}else{$('#userNotificationsBtn').removeClass('newNotifications')}}})} function seenNotification(notificationID,that){jQuery.ajax({type:"POST",url:window.location.origin+'/site/ajax/seen_notification.php',data:'notificationID='+notificationID,async:"true",success:function(data){$(that).removeClass('unseen');$(that).addClass('seen');unseen=parseInt($('#numOfNotifications').html());$('#numOfNotifications').html(unseen-1);newUnseen=unseen-1;unseen=newUnseen;if($(".unseen")[0]){$('#userNotificationsBtn').addClass('newNotifications')}else{$('#userNotificationsBtn').removeClass('newNotifications')}}})} function markAllAsRead(){jQuery.ajax({type:"POST",url:window.location.origin+'/site/ajax/mark_all_as_read.php',async:"true",success:function(data){$('#notificationsFeed > li').removeClass('unseen');$('#notificationsFeed > li').addClass('seen');$('#userNotificationsBtn').removeClass('newNotifications');$('#numOfNotifications').html(0);unseen=0;newUnseen=0}})} setTimeout(function(){getNotifications()},1000);setInterval(function(){getNotifications()},300000);$('#mainMenuBtn').click(function(event){$('#sideMenuWrap').toggleClass('open');event.stopPropagation()});$('.sideMenu > ul > li > a').on('focus',function(){$('#sideMenuWrap').addClass('open')});$('.sideMenu > ul > li > a:last-child').on('focusout',function(){$('#sideMenuWrap').removeClass('open')});function toggleSubmenu(submenuSelector){if($(submenuSelector).hasClass('active')){$('.sideMenu-sub-btn').removeClass('active');$('.sideMenu-sub').slideUp(100,function(){$('.sideMenu-sub').removeClass('active')})}else{$('.sideMenu-sub').removeClass('active');$('.sideMenu-sub-btn').removeClass('active');$('.sideMenu-sub').slideUp(100);$('.sideMenu-sub-btn[data-open-submenu="'+submenuSelector+'"]').addClass('active');$(submenuSelector).slideDown(100,function(){$(submenuSelector).addClass('active')})}} $('.sideMenu-sub-btn').on('click',function(e){e.stopPropagation();var submenuSelector=$(this).attr('data-open-submenu');toggleSubmenu(submenuSelector)});$(document).ready(function(){$('#sideMenu').show()});function PopupMulti(popupId){this.popupId=popupId;this.onload=function(){this.closeBtnElem=document.querySelector(this.popupId+' .popup-multi-btn-close');this.closeBtnElem.addEventListener('click',this.hide.bind(this))};this.isActive=function(){var activeState=document.querySelector(this.popupId).getAttribute('data-popup-multi-active');return(activeState==='true')};this.hide=function(){$('body').css('overflow-y','auto');$('.popup-multi-overlay').fadeOut(100);$(this.popupId).fadeOut();$(this.popupId).attr('aria-label','');$(this.popupId).attr('aria-hidden',!0);$(this.popupId).attr('aria-modal',!1);$(this.popupId).find('.popup-multi-body').html('');$(this.popupId).attr('data-popup-multi-active',!1);$(this.popupId).find('.popup-multi-btn-deny').unbind('click');$(this.popupId).find('.popup-multi-btn-deny').hide();$(this.popupId).find('.popup-multi-btn-confirm').unbind('click');$(this.popupId).find('.popup-multi-btn-confirm').hide()};this.show=function(){$('body').css('overflow-y','hidden');$('.popup-multi-overlay').fadeIn(100);$(this.popupId).css("display","flex").hide().fadeIn();$(this.popupId).attr('aria-hidden',!1);$(this.popupId).attr('aria-modal',!0);$(this.popupId).attr('data-popup-multi-active',!0)};this.init=function(body,label,confirmFnc,denyFnc,confirmName,denyName){if(this.isActive()){return!1} if(label===undefined){label=null} if(confirmFnc===undefined){confirmFnc=null} if(denyFnc===undefined){denyFnc=null} if(confirmName===undefined){confirmName=null} if(denyName===undefined){denyName=null} $(this.popupId).find('.popup-multi-body').html(body);$(this.popupId).attr('aria-label',label);if(typeof confirmFnc==="function"){$(this.popupId).find('.popup-multi-btn-confirm').on('click',$.proxy(function(){confirmFnc();this.hide()},this));$(this.popupId).find('.popup-multi-btn-confirm').show()} if(typeof denyFnc==="function"){$(this.popupId).find('.popup-multi-btn-deny').on('click',$.proxy(function(){denyFnc();this.hide()},this));$(this.popupId).find('.popup-multi-btn-deny').show()} if(confirmName!=null){$(this.popupId).find('.popup-multi-btn-confirm').html(confirmName)}else{$(this.popupId).find('.popup-multi-btn-confirm').html('כן')} if(denyName!=null&&typeof denyFnc==="function"){$(this.popupId).find('.popup-multi-btn-deny').html(denyName);$('.popup-multi-btn-close').hide()}else if(typeof denyFnc==="function"){$(this.popupId).find('.popup-multi-btn-deny').html('לא')}else{$(this.popupId).find('.popup-multi-btn-deny').hide()} this.show()};this.onload()};popupMulti=new PopupMulti('#popupMulti');$(document).ready(function(){});$('[data-tab-id="#tab_search"]').on('click',function(){setTimeout(function(){$('#searchInput').focus()},100)});function copyShareLink(){var currentURL=document.location.href;var textArea=document.createElement("textarea");textArea.value=currentURL;document.body.appendChild(textArea);textArea.setAttribute("style","position: fixed; width: 1px; height: 1px;");textArea.focus();textArea.select();try{document.execCommand('copy')}catch(err){} document.body.removeChild(textArea);hideElement('.shareWindow',100)} $('.shareBtn').on('click',function(){toggleElement('.shareWindow',100)});$(document).ready(function(){$('.shareWrap').fadeIn()});$(document).ready(function(){$('#searchInput').keypress(function(e){if(e.which==13){$('.searchBtn').click();return!1}});$('#searchInput').on('keyup',function(e){if($(this).val().length>0){$('.clearSearchBtn').show();$('.suggestionsBtn').hide();var elementsContainsQuery=$('.suggestionsBtn:contains('+$(this).val()+')');if(elementsContainsQuery.length>0){elementsContainsQuery.show();$('.searchSuggestions').fadeIn(50);if(e.keyCode==40){$('.suggestionsBtn').first().focus()}}else{$('.searchSuggestions').fadeOut(50)}}else{$('.clearSearchBtn').hide();$('.searchSuggestions').fadeOut(50)}});$('.suggestionsBtn').on('click',function(e){e.preventDefault();var selectedSearchQuery=$(this).html();searchSuggestion(selectedSearchQuery)})});function clearSearchLocation(){event.preventDefault();$('#searchInput').val("");$('.clearSearchBtn').hide();$('.searchSuggestions').fadeOut(50)};/*! Hammer.JS - v2.0.8 - 2016-04-23 * http://hammerjs.github.io/ * * Copyright (c) 2016 Jorik Tangelder; * Licensed under the MIT license */ !function(a,b,c,d){"use strict";function e(a,b,c){return setTimeout(j(a,c),b)}function f(a,b,c){return Array.isArray(a)?(g(a,c[b],c),!0):!1}function g(a,b,c){var e;if(a)if(a.forEach)a.forEach(b,c);else if(a.length!==d)for(e=0;e\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",f=a.console&&(a.console.warn||a.console.log);return f&&f.call(a.console,e,d),b.apply(this,arguments)}}function i(a,b,c){var d,e=b.prototype;d=a.prototype=Object.create(e),d.constructor=a,d._super=e,c&&la(d,c)}function j(a,b){return function(){return a.apply(b,arguments)}}function k(a,b){return typeof a==oa?a.apply(b?b[0]||d:d,b):a}function l(a,b){return a===d?b:a}function m(a,b,c){g(q(b),function(b){a.addEventListener(b,c,!1)})}function n(a,b,c){g(q(b),function(b){a.removeEventListener(b,c,!1)})}function o(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1}function p(a,b){return a.indexOf(b)>-1}function q(a){return a.trim().split(/\s+/g)}function r(a,b,c){if(a.indexOf&&!c)return a.indexOf(b);for(var d=0;dc[b]}):d.sort()),d}function u(a,b){for(var c,e,f=b[0].toUpperCase()+b.slice(1),g=0;g1&&!c.firstMultiple?c.firstMultiple=D(b):1===e&&(c.firstMultiple=!1);var f=c.firstInput,g=c.firstMultiple,h=g?g.center:f.center,i=b.center=E(d);b.timeStamp=ra(),b.deltaTime=b.timeStamp-f.timeStamp,b.angle=I(h,i),b.distance=H(h,i),B(c,b),b.offsetDirection=G(b.deltaX,b.deltaY);var j=F(b.deltaTime,b.deltaX,b.deltaY);b.overallVelocityX=j.x,b.overallVelocityY=j.y,b.overallVelocity=qa(j.x)>qa(j.y)?j.x:j.y,b.scale=g?K(g.pointers,d):1,b.rotation=g?J(g.pointers,d):0,b.maxPointers=c.prevInput?b.pointers.length>c.prevInput.maxPointers?b.pointers.length:c.prevInput.maxPointers:b.pointers.length,C(c,b);var k=a.element;o(b.srcEvent.target,k)&&(k=b.srcEvent.target),b.target=k}function B(a,b){var c=b.center,d=a.offsetDelta||{},e=a.prevDelta||{},f=a.prevInput||{};b.eventType!==Ea&&f.eventType!==Ga||(e=a.prevDelta={x:f.deltaX||0,y:f.deltaY||0},d=a.offsetDelta={x:c.x,y:c.y}),b.deltaX=e.x+(c.x-d.x),b.deltaY=e.y+(c.y-d.y)}function C(a,b){var c,e,f,g,h=a.lastInterval||b,i=b.timeStamp-h.timeStamp;if(b.eventType!=Ha&&(i>Da||h.velocity===d)){var j=b.deltaX-h.deltaX,k=b.deltaY-h.deltaY,l=F(i,j,k);e=l.x,f=l.y,c=qa(l.x)>qa(l.y)?l.x:l.y,g=G(j,k),a.lastInterval=b}else c=h.velocity,e=h.velocityX,f=h.velocityY,g=h.direction;b.velocity=c,b.velocityX=e,b.velocityY=f,b.direction=g}function D(a){for(var b=[],c=0;ce;)c+=a[e].clientX,d+=a[e].clientY,e++;return{x:pa(c/b),y:pa(d/b)}}function F(a,b,c){return{x:b/a||0,y:c/a||0}}function G(a,b){return a===b?Ia:qa(a)>=qa(b)?0>a?Ja:Ka:0>b?La:Ma}function H(a,b,c){c||(c=Qa);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return Math.sqrt(d*d+e*e)}function I(a,b,c){c||(c=Qa);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return 180*Math.atan2(e,d)/Math.PI}function J(a,b){return I(b[1],b[0],Ra)+I(a[1],a[0],Ra)}function K(a,b){return H(b[0],b[1],Ra)/H(a[0],a[1],Ra)}function L(){this.evEl=Ta,this.evWin=Ua,this.pressed=!1,x.apply(this,arguments)}function M(){this.evEl=Xa,this.evWin=Ya,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function N(){this.evTarget=$a,this.evWin=_a,this.started=!1,x.apply(this,arguments)}function O(a,b){var c=s(a.touches),d=s(a.changedTouches);return b&(Ga|Ha)&&(c=t(c.concat(d),"identifier",!0)),[c,d]}function P(){this.evTarget=bb,this.targetIds={},x.apply(this,arguments)}function Q(a,b){var c=s(a.touches),d=this.targetIds;if(b&(Ea|Fa)&&1===c.length)return d[c[0].identifier]=!0,[c,c];var e,f,g=s(a.changedTouches),h=[],i=this.target;if(f=c.filter(function(a){return o(a.target,i)}),b===Ea)for(e=0;e-1&&d.splice(a,1)};setTimeout(e,cb)}}function U(a){for(var b=a.srcEvent.clientX,c=a.srcEvent.clientY,d=0;d=f&&db>=g)return!0}return!1}function V(a,b){this.manager=a,this.set(b)}function W(a){if(p(a,jb))return jb;var b=p(a,kb),c=p(a,lb);return b&&c?jb:b||c?b?kb:lb:p(a,ib)?ib:hb}function X(){if(!fb)return!1;var b={},c=a.CSS&&a.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(d){b[d]=c?a.CSS.supports("touch-action",d):!0}),b}function Y(a){this.options=la({},this.defaults,a||{}),this.id=v(),this.manager=null,this.options.enable=l(this.options.enable,!0),this.state=nb,this.simultaneous={},this.requireFail=[]}function Z(a){return a&sb?"cancel":a&qb?"end":a&pb?"move":a&ob?"start":""}function $(a){return a==Ma?"down":a==La?"up":a==Ja?"left":a==Ka?"right":""}function _(a,b){var c=b.manager;return c?c.get(a):a}function aa(){Y.apply(this,arguments)}function ba(){aa.apply(this,arguments),this.pX=null,this.pY=null}function ca(){aa.apply(this,arguments)}function da(){Y.apply(this,arguments),this._timer=null,this._input=null}function ea(){aa.apply(this,arguments)}function fa(){aa.apply(this,arguments)}function ga(){Y.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ha(a,b){return b=b||{},b.recognizers=l(b.recognizers,ha.defaults.preset),new ia(a,b)}function ia(a,b){this.options=la({},ha.defaults,b||{}),this.options.inputTarget=this.options.inputTarget||a,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=a,this.input=y(this),this.touchAction=new V(this,this.options.touchAction),ja(this,!0),g(this.options.recognizers,function(a){var b=this.add(new a[0](a[1]));a[2]&&b.recognizeWith(a[2]),a[3]&&b.requireFailure(a[3])},this)}function ja(a,b){var c=a.element;if(c.style){var d;g(a.options.cssProps,function(e,f){d=u(c.style,f),b?(a.oldCssProps[d]=c.style[d],c.style[d]=e):c.style[d]=a.oldCssProps[d]||""}),b||(a.oldCssProps={})}}function ka(a,c){var d=b.createEvent("Event");d.initEvent(a,!0,!0),d.gesture=c,c.target.dispatchEvent(d)}var la,ma=["","webkit","Moz","MS","ms","o"],na=b.createElement("div"),oa="function",pa=Math.round,qa=Math.abs,ra=Date.now;la="function"!=typeof Object.assign?function(a){if(a===d||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var b=Object(a),c=1;ch&&(b.push(a),h=b.length-1):e&(Ga|Ha)&&(c=!0),0>h||(b[h]=a,this.callback(this.manager,e,{pointers:b,changedPointers:[a],pointerType:f,srcEvent:a}),c&&b.splice(h,1))}});var Za={touchstart:Ea,touchmove:Fa,touchend:Ga,touchcancel:Ha},$a="touchstart",_a="touchstart touchmove touchend touchcancel";i(N,x,{handler:function(a){var b=Za[a.type];if(b===Ea&&(this.started=!0),this.started){var c=O.call(this,a,b);b&(Ga|Ha)&&c[0].length-c[1].length===0&&(this.started=!1),this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:za,srcEvent:a})}}});var ab={touchstart:Ea,touchmove:Fa,touchend:Ga,touchcancel:Ha},bb="touchstart touchmove touchend touchcancel";i(P,x,{handler:function(a){var b=ab[a.type],c=Q.call(this,a,b);c&&this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:za,srcEvent:a})}});var cb=2500,db=25;i(R,x,{handler:function(a,b,c){var d=c.pointerType==za,e=c.pointerType==Ba;if(!(e&&c.sourceCapabilities&&c.sourceCapabilities.firesTouchEvents)){if(d)S.call(this,b,c);else if(e&&U.call(this,c))return;this.callback(a,b,c)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var eb=u(na.style,"touchAction"),fb=eb!==d,gb="compute",hb="auto",ib="manipulation",jb="none",kb="pan-x",lb="pan-y",mb=X();V.prototype={set:function(a){a==gb&&(a=this.compute()),fb&&this.manager.element.style&&mb[a]&&(this.manager.element.style[eb]=a),this.actions=a.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var a=[];return g(this.manager.recognizers,function(b){k(b.options.enable,[b])&&(a=a.concat(b.getTouchAction()))}),W(a.join(" "))},preventDefaults:function(a){var b=a.srcEvent,c=a.offsetDirection;if(this.manager.session.prevented)return void b.preventDefault();var d=this.actions,e=p(d,jb)&&!mb[jb],f=p(d,lb)&&!mb[lb],g=p(d,kb)&&!mb[kb];if(e){var h=1===a.pointers.length,i=a.distance<2,j=a.deltaTime<250;if(h&&i&&j)return}return g&&f?void 0:e||f&&c&Na||g&&c&Oa?this.preventSrc(b):void 0},preventSrc:function(a){this.manager.session.prevented=!0,a.preventDefault()}};var nb=1,ob=2,pb=4,qb=8,rb=qb,sb=16,tb=32;Y.prototype={defaults:{},set:function(a){return la(this.options,a),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(a){if(f(a,"recognizeWith",this))return this;var b=this.simultaneous;return a=_(a,this),b[a.id]||(b[a.id]=a,a.recognizeWith(this)),this},dropRecognizeWith:function(a){return f(a,"dropRecognizeWith",this)?this:(a=_(a,this),delete this.simultaneous[a.id],this)},requireFailure:function(a){if(f(a,"requireFailure",this))return this;var b=this.requireFail;return a=_(a,this),-1===r(b,a)&&(b.push(a),a.requireFailure(this)),this},dropRequireFailure:function(a){if(f(a,"dropRequireFailure",this))return this;a=_(a,this);var b=r(this.requireFail,a);return b>-1&&this.requireFail.splice(b,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(a){return!!this.simultaneous[a.id]},emit:function(a){function b(b){c.manager.emit(b,a)}var c=this,d=this.state;qb>d&&b(c.options.event+Z(d)),b(c.options.event),a.additionalEvent&&b(a.additionalEvent),d>=qb&&b(c.options.event+Z(d))},tryEmit:function(a){return this.canEmit()?this.emit(a):void(this.state=tb)},canEmit:function(){for(var a=0;af?Ja:Ka,c=f!=this.pX,d=Math.abs(a.deltaX)):(e=0===g?Ia:0>g?La:Ma,c=g!=this.pY,d=Math.abs(a.deltaY))),a.direction=e,c&&d>b.threshold&&e&b.direction},attrTest:function(a){return aa.prototype.attrTest.call(this,a)&&(this.state&ob||!(this.state&ob)&&this.directionTest(a))},emit:function(a){this.pX=a.deltaX,this.pY=a.deltaY;var b=$(a.direction);b&&(a.additionalEvent=this.options.event+b),this._super.emit.call(this,a)}}),i(ca,aa,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[jb]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.scale-1)>this.options.threshold||this.state&ob)},emit:function(a){if(1!==a.scale){var b=a.scale<1?"in":"out";a.additionalEvent=this.options.event+b}this._super.emit.call(this,a)}}),i(da,Y,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[hb]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distanceb.time;if(this._input=a,!d||!c||a.eventType&(Ga|Ha)&&!f)this.reset();else if(a.eventType&Ea)this.reset(),this._timer=e(function(){this.state=rb,this.tryEmit()},b.time,this);else if(a.eventType&Ga)return rb;return tb},reset:function(){clearTimeout(this._timer)},emit:function(a){this.state===rb&&(a&&a.eventType&Ga?this.manager.emit(this.options.event+"up",a):(this._input.timeStamp=ra(),this.manager.emit(this.options.event,this._input)))}}),i(ea,aa,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[jb]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.rotation)>this.options.threshold||this.state&ob)}}),i(fa,aa,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Na|Oa,pointers:1},getTouchAction:function(){return ba.prototype.getTouchAction.call(this)},attrTest:function(a){var b,c=this.options.direction;return c&(Na|Oa)?b=a.overallVelocity:c&Na?b=a.overallVelocityX:c&Oa&&(b=a.overallVelocityY),this._super.attrTest.call(this,a)&&c&a.offsetDirection&&a.distance>this.options.threshold&&a.maxPointers==this.options.pointers&&qa(b)>this.options.velocity&&a.eventType&Ga},emit:function(a){var b=$(a.offsetDirection);b&&this.manager.emit(this.options.event+b,a),this.manager.emit(this.options.event,a)}}),i(ga,Y,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[ib]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distancemax_pos_x){posX=max_pos_x} if(posX<-max_pos_x){posX=-max_pos_x} if(posY>max_pos_y){posY=max_pos_y} if(posY<-max_pos_y){posY=-max_pos_y}} if(ev.type=="pinch"){scale=Math.max(1,Math.min(last_scale*(ev.scale),2))} if(ev.type=="pinchend"){last_scale=scale} if(ev.type=="panend"){transform="translate3d(0, 0, 0) "+"scale3d(1, 1, 1) ";scale=1;last_scale=1;el.style.webkitTransform=transform;transform=""} if(scale!=1){transform="translate3d("+posX+"px,"+posY+"px, 0) "+"scale3d("+scale+", "+scale+", 1)"} if(transform){el.style.webkitTransform=transform}})};if(typeof userPrefs==='object'){function hideSysMsg(key,btnElem){userPrefs.set(key,1);$(btnElem).parent('.sys-msg').fadeOut()} if(userPrefs.get('hide_clean_msg')!==1){$('#save_the_location_msg').show()}};if(document.getElementById('featuredLocations')!=undefined){var featuredLocationsLazyLoad=new LazyLoad({threshold:500,container:document.getElementById('featuredLocations'),throttle:30,data_srcset:"srcset"})};;function initMap(coorLat,coorLng){var map=new google.maps.Map(document.getElementById('map'),{center:{lat:coorLat,lng:coorLng},zoom:15,fullscreenControl:1});var geoJSON='{"3655":{"title":"\u05e6\u05d5\u05dc\u05dd \u05e2\\\"\u05d9: \u05d3\u05d5\u05e8 \u05d0\u05e4\u05e8\u05ea\u05d9","description":"
\u05d4\u05d2\u05d2 \u05d1\u05e7\u05e0\u05d9\u05d5\u05df \u05e2\u05d6\u05e8\u05d9\u05d0\u05dc\u05d9, \u05ea\u05dc \u05d0\u05d1\u05d9\u05d1<\/div>
<\/div>\u05e0\u05d9\u05d5\u05d5\u05d8<\/a><\/div><\/div>","lat":"32.073751666667","lng":"34.792648333333","type":"photo"},"3657":{"title":"\u05e6\u05d5\u05dc\u05dd \u05e2\\\"\u05d9: \u05d3\u05d5\u05e8 \u05d0\u05e4\u05e8\u05ea\u05d9","description":"
\u05ea\u05e6\u05e4\u05d9\u05ea \u05e2\u05dc \u05ea\u05dc \u05d0\u05d1\u05d9\u05d1<\/div>
<\/div>\u05e0\u05d9\u05d5\u05d5\u05d8<\/a><\/div><\/div>","lat":"32.074061666667","lng":"34.792345","type":"photo"},"3658":{"title":"\u05d4\u05d2\u05d2 \u05d1\u05e7\u05e0\u05d9\u05d5\u05df \u05e2\u05d6\u05e8\u05d9\u05d0\u05dc\u05d9, \u05ea\u05dc \u05d0\u05d1\u05d9\u05d1","description":"\u05ea\u05e6\u05e4\u05d9\u05ea \u05e2\u05dc \u05ea\u05dc \u05d0\u05d1\u05d9\u05d1","lat":"32.073751666667","lng":"34.792648333333","type":"location"}}';var markersJson=JSON.parse(geoJSON);for(var key in markersJson){var latLng=new google.maps.LatLng(markersJson[key].lat,markersJson[key].lng);var icon=document.location.origin+'/uploads/favicon/Locate-logo-48.png';if(markersJson[key].type==='photo'){icon={anchor:new google.maps.Point(12,12),url:'data:image/svg+xml;utf-8, '}} var marker=new google.maps.Marker({map:map,icon:icon,position:latLng,title:markersJson[key].title});var infowindow=new google.maps.InfoWindow({content:markersJson[key].description});google.maps.event.addListener(marker,'click',(function(marker,key){return function(){infowindow.setContent(markersJson[key].description);infowindow.open(map,marker);mapLazyLoad.update()}})(marker,key));google.maps.event.addListener(infowindow,'domready',function(){mapLazyLoad.update()})}} function showLocatioOnMap(){initMap(32.073751666667,34.792648333333)} document.getElementById('mapExpandBtn').addEventListener("click",function(event){if(map.innerHTML.length<=0){$('#map').addClass("active");var googleMapsScriptPath='https://maps.googleapis.com/maps/api/js?key=AIzaSyDegXum1zrQ8EeyGYcc5UNn2rzpwGyx-JM&language=he&region=IL&callback=showLocatioOnMap';$.getScript(googleMapsScriptPath);scrollToElement($('#mapWrap'),500)}else{scrollToElement($('#mapWrap'),500)}});function postComment(that){var locationID=$(that).attr('locId');var postContent=$('#writeCommentInput').val();var postParent=$('.postCommentBtn').attr('prntCmnt');if(postContent!=""){$('#writeCommentInput').removeClass('invalidInput');$('#validateErrMsg').html('');loadingBtn($('.postCommentBtn'),10000);jQuery.ajax({type:"POST",url:window.location.origin+'/site/ajax/post_comment.php',data:'locationID='+locationID+'&postContent='+postContent+'&postParent='+postParent,async:"true",success:function(data){if(data){cancelLoadingBtn($('.postCommentBtn'));if(postParent==0){$('#commentsFeedWrap').append(data);$('#writeCommentInput').val("");scrollToElement($('.commentItem:last-child'),500)}else{$('#comment_'+postParent).after(data);$('#writeCommentInput').val("");$('.writeCommentWrap').insertBefore($('.commentItem:first-child'));$('.postCommentBtn').attr('prntCmnt',0)}}}})}else{$('#writeCommentInput').addClass('invalidInput');$('#validateErrMsg').insertAfter('#writeCommentInput');$('#validateErrMsg').html('נא מלא שדה זה כדי להגיב')}};$(document).on('click','.deleteCommentBtn',function(){var confirmDelete=confirm("התגובה תמחק. האם להמשיך?");if(confirmDelete==!0){var commentIDStr=$(this).parent().attr('id');var commentID=commentIDStr.slice(8);jQuery.ajax({type:"POST",url:window.location.origin+'/site/ajax/delete_comment.php',data:{commentID:commentID},async:"true",success:function(data){if(data){$('#comment_'+commentID).fadeOut()}}})}});$(document).ready(function(){$('#postComment').on('click',function(){postComment(this)});$('.replayBtn').on('click',function(){var commentIDStr=$(this).parent().attr('id');var commentID=commentIDStr.slice(8);$('.writeCommentWrap').appendTo($('#'+commentIDStr));$('.postCommentBtn').attr('prntCmnt',commentID);$('.cancelPostBtn').show()});$('.cancelPostBtn').on('click',function(){$('.writeCommentWrap').insertBefore($('#commentsWrap'));$('.postCommentBtn').attr('prntCmnt',0);$('.cancelPostBtn').hide()});var commentReplays=$('.replayComment');for(var i=commentReplays.length-1;i>=0;i--){var parentIDOfComment=$(commentReplays[i]).attr('parent');$(commentReplays[i]).insertAfter($('#comment_'+parentIDOfComment))}});document.getElementById("js-pop-notice-close-btn").addEventListener("click",function(){hideCookiesConsent()});function showCookiesConsent(){if(getCookie('cc').length===0&&getCookie('user').length===0){showElement('#js-cookies-pop-consent')}} function hideCookiesConsent(){var cookieDate=new Date();hideElement('#js-cookies-pop-consent');setCookie('cc',cookieDate.toJSON(),730)} showCookiesConsent()