(function($) { 'use strict'; var map_map_662c60bde98e9 = null; var coordinate_map_662c60bde98e9; var isDraggable = $(document).width() > 641 ? true : true; try { var map_map_662c60bde98e9 = null; var coordinate_map_662c60bde98e9; coordinate_map_662c60bde98e9=new google.maps.LatLng(-23.5649745, -46.6641171); var mapOptions= { zoom: 12, center: coordinate_map_662c60bde98e9, scaleControl: true, streetViewControl: false, mapTypeControl: false, panControl: false, zoomControl: false, scrollwheel: true, draggable: isDraggable, zoomControlOptions: { style: google.maps.ZoomControlStyle.SMALL },mapTypeId: google.maps.MapTypeId.ROADMAP,};var map_map_662c60bde98e9 = new google.maps.Map(document.getElementById('map_662c60bde98e9'),mapOptions); var x = 'infowindow_open_value'; var marker_map_662c60bde98e9 = new google.maps.Marker({ position: new google.maps.LatLng(-23.5649745, -46.6641171), animation: google.maps.Animation.DROP, map: map_map_662c60bde98e9, icon: '' }); google.maps.event.addListener(marker_map_662c60bde98e9, 'click', toggleBounce);} catch(e){}; jQuery(document).ready(function($){ google.maps.event.trigger(map_map_662c60bde98e9, 'resize'); $(window).resize(function(){ google.maps.event.trigger(map_map_662c60bde98e9, 'resize'); if(map_map_662c60bde98e9!=null) map_map_662c60bde98e9.setCenter(coordinate_map_662c60bde98e9); }); $('.ui-tabs').bind('tabsactivate', function(event, ui) { if($(this).find('.ultimate-map-wrapper').length > 0) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $('.ui-accordion').bind('accordionactivate', function(event, ui) { if($(this).find('.ultimate-map-wrapper').length > 0) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(window).load(function(){ setTimeout(function(){ $(window).trigger('resize'); },200); }); $('.ult_exp_section').select(function(){ if($(map_map_662c60bde98e9).parents('.ult_exp_section')) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(document).on('onUVCModalPopupOpen', function(){ if($(map_map_662c60bde98e9).parents('.ult_modal-content')) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(document).on('click','.ult_tab_li',function(){ $(window).trigger('resize'); setTimeout(function(){ $(window).trigger('resize'); },200); }); }); function toggleBounce() { if (marker_map_662c60bde98e9.getAnimation() != null) { marker_map_662c60bde98e9.setAnimation(null); } else { marker_map_662c60bde98e9.setAnimation(google.maps.Animation.BOUNCE); } } })(jQuery); Fale conosco Nome*E-mail* Telefone*Mensagem*CAPTCHA jQuery(document).ready(function($){gformInitSpinner( 2, 'https://www.daletenevesimoveis.com.br/wp-content/plugins/gravityforms/images/spinner.gif' );jQuery('#gform_ajax_frame_2').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_2');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_2').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_2').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_2').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_2').removeClass('gform_validation_error');}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ jQuery(document).scrollTop(jQuery('#gform_wrapper_2').offset().top - mt); }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_2').val();gformInitSpinner( 2, 'https://www.daletenevesimoveis.com.br/wp-content/plugins/gravityforms/images/spinner.gif' );jQuery(document).trigger('gform_page_loaded', [2, current_page]);window['gf_submitting_2'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery('#gform_wrapper_2').replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery('#gf_2').offset().top - mt);jQuery(document).trigger('gform_confirmation_loaded', [2]);window['gf_submitting_2'] = false;}, 50);}else{jQuery('#gform_2').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger('gform_post_render', [2, current_page]);} );} );
(function($) { 'use strict'; var map_map_662c60bdef870 = null; var coordinate_map_662c60bdef870; var isDraggable = $(document).width() > 641 ? true : true; try { var map_map_662c60bdef870 = null; var coordinate_map_662c60bdef870; coordinate_map_662c60bdef870=new google.maps.LatLng(-23.5649745, -46.6641171); var mapOptions= { zoom: 12, center: coordinate_map_662c60bdef870, scaleControl: true, streetViewControl: false, mapTypeControl: false, panControl: false, zoomControl: false, scrollwheel: true, draggable: isDraggable, zoomControlOptions: { style: google.maps.ZoomControlStyle.SMALL },mapTypeId: google.maps.MapTypeId.ROADMAP,};var map_map_662c60bdef870 = new google.maps.Map(document.getElementById('map_662c60bdef870'),mapOptions); var x = 'infowindow_open_value'; var marker_map_662c60bdef870 = new google.maps.Marker({ position: new google.maps.LatLng(-23.5649745, -46.6641171), animation: google.maps.Animation.DROP, map: map_map_662c60bdef870, icon: '' }); google.maps.event.addListener(marker_map_662c60bdef870, 'click', toggleBounce);} catch(e){}; jQuery(document).ready(function($){ google.maps.event.trigger(map_map_662c60bdef870, 'resize'); $(window).resize(function(){ google.maps.event.trigger(map_map_662c60bdef870, 'resize'); if(map_map_662c60bdef870!=null) map_map_662c60bdef870.setCenter(coordinate_map_662c60bdef870); }); $('.ui-tabs').bind('tabsactivate', function(event, ui) { if($(this).find('.ultimate-map-wrapper').length > 0) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $('.ui-accordion').bind('accordionactivate', function(event, ui) { if($(this).find('.ultimate-map-wrapper').length > 0) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(window).load(function(){ setTimeout(function(){ $(window).trigger('resize'); },200); }); $('.ult_exp_section').select(function(){ if($(map_map_662c60bdef870).parents('.ult_exp_section')) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(document).on('onUVCModalPopupOpen', function(){ if($(map_map_662c60bdef870).parents('.ult_modal-content')) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(document).on('click','.ult_tab_li',function(){ $(window).trigger('resize'); setTimeout(function(){ $(window).trigger('resize'); },200); }); }); function toggleBounce() { if (marker_map_662c60bdef870.getAnimation() != null) { marker_map_662c60bdef870.setAnimation(null); } else { marker_map_662c60bdef870.setAnimation(google.maps.Animation.BOUNCE); } } })(jQuery); Fale conosco Nome*E-mail* Telefone*Mensagem*CAPTCHA jQuery(document).ready(function($){gformInitSpinner( 2, 'https://www.daletenevesimoveis.com.br/wp-content/plugins/gravityforms/images/spinner.gif' );jQuery('#gform_ajax_frame_2').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_2');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_2').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_2').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_2').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_2').removeClass('gform_validation_error');}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ jQuery(document).scrollTop(jQuery('#gform_wrapper_2').offset().top - mt); }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_2').val();gformInitSpinner( 2, 'https://www.daletenevesimoveis.com.br/wp-content/plugins/gravityforms/images/spinner.gif' );jQuery(document).trigger('gform_page_loaded', [2, current_page]);window['gf_submitting_2'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery('#gform_wrapper_2').replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery('#gf_2').offset().top - mt);jQuery(document).trigger('gform_confirmation_loaded', [2]);window['gf_submitting_2'] = false;}, 50);}else{jQuery('#gform_2').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger('gform_post_render', [2, current_page]);} );} );