' + '
' + '
' + '' } ); container.on('shown.bs.sabaipopover', function(){ if (slid) return; var label = container.find('.sabai-directory-search-radius-label strong').text(radius.val()); container.find('.sabai-directory-search-radius-slider').slider({animate: true, min: 0, max: 100, value: radius.val(), step: 1, slide: function(e, ui){ radius.val(ui.value); label.text(ui.value); }}); if (navigator.geolocation && (document.location.protocol === 'https:' || document.location.hostname === 'localhost') ) { var geocode = function (trigger) { if (trigger) SABAI.ajaxLoader(trigger); if (!geocoder) geocoder = new google.maps.Geocoder(); navigator.geolocation.getCurrentPosition( function (pos) { geocoder.geocode({'latLng': new google.maps.LatLng(pos.coords.latitude,pos.coords.longitude)}, function(results, status) { if (trigger) SABAI.ajaxLoader(trigger, true); if (status == google.maps.GeocoderStatus.OK) { location.val(results[0].formatted_address).typeahead('val', results[0].formatted_address).effect('highlight', {}, 2000); $('#sabai-content .sabai-directory-search-location') .find('input[name="center"]').val(results[0].geometry.location.lat() + ',' + results[0].geometry.location.lng()).end() .find('input[name="address_type"]').val(''); } }); }, function (error) { if (trigger) { SABAI.ajaxLoader(trigger, true); } SABAI.flash(error.message, 'danger'); SABAI.console.log(error.message + ' (' + error.code + ')'); }, {enableHighAccuracy:true, timeout:5000} ); }; container.find('.sabai-directory-search-geolocate').show().click(function(e){ e.preventDefault(); geocode($(this)); }); } slid = true; }); }); $('#sabai-content .sabai-directory-search-submit .sabai-btn').click(function(e){ var $this = $(this), form = $this.closest('form'); e.preventDefault(); form.find('[placeholder]').each(function() { var input = $(this); if (input.val() == input.attr('placeholder')) { input.val(''); } }); var submit = function(){ SABAI.ajax({ type: 'get', container: '#sabai-content', target: '.sabai-directory-listings-container', url: form.attr('action') + '&' + form.serialize(), pushState: true }); }; var center = $('#sabai-content .sabai-directory-search-location input[name="center"]'); if (location.val() && $('#sabai-content .sabai-directory-search-location input[name="address_type"]').val() === '' ) { if (!geocoder) geocoder = new google.maps.Geocoder(); geocoder.geocode({address: location.val()}, function(results, status) { switch (status) { case google.maps.GeocoderStatus.OK: center.val(results[0].geometry.location.lat() + ',' + results[0].geometry.location.lng()); submit(); break; case google.maps.GeocoderStatus.ZERO_RESULTS: alert('Località noln valida'); break; default: alert(status); } }); } else { center.val(''); submit(); } }); });
Votazioni
In evidenza/Non in evidenza
Claimed/Unclaimed
Corso Lucilio, 114, Sessa Aurunca, CE, Italia
0823 9375770823 937577
VIA S.FELICE 27\29 PALMA CAMPANIA
32822178123282217812
Viale Aldo Moro, 7/D, Bovalino, RC, Italia
0964 61 2560964 61 256
Via Filichito, 10/12, Volla, NA, Italia
339 39 03 479339 39 03 479
Via Nazionale Torrette, 82, Mercogliano, AV, Italia
825683101825683101
VIA DE NICOLA SANT'ARCANGELO
345/4013720345/4013720
Viale Conte Testasecca, 1, Caltanissetta, CL, Italia
Via Lupoli, 118, Frattamaggiore, NA, Italia
349 2207120349 2207120
349 2207120349 2207120
Corso Vittorio Emanuele, 134, Margherita di Savoia, BT, Italia
338 28 24 133338 28 24 133
Via Roma, 19, Paternò, CT, Italia
347 3781887347 3781887
347 3781887347 3781887
Corso Italia, 117, San Marcellino, CE, Italia
081 342 02 52081 342 02 52
32085592413208559241
Via Cavour, 284, Vittoria, RG, Italia
Via Olanda, 53, Sant'Antimo, NA, Italia
349/1579164349/1579164
Mostro 1 risultati di 20 su 103