Other Professional Service
https://www.logopro.com.au/
21 Woodvale Cres - Australia Square, NSW 4078
var mymap = L.map("map-canvas").setView([0.000, 0.000], 10); L.tileLayer.provider("Wikimedia", map_provider_options).addTo(mymap); // Markers var markerArray = []; for (var k in resultsObj) { var p = resultsObj[k]; marker = L.marker([p.ad_lat, p.ad_lng]) .bindPopup('' + p.ad_title + ''); markerArray.push(marker); } var group = L.featureGroup(markerArray).addTo(mymap); mymap.fitBounds(group.getBounds()); // events $(".item-list .list-item").on('mouseover', function() { //marker = markers[this.getAttribute("data-ad_id")]; var ad_id = this.getAttribute("data-listing-id"); var result = resultsObj.filter(function( obj ) { return obj.ad_id == ad_id; }); var this_latlng = L.latLng(result[0].ad_lat, result[0].ad_lng); var tooltipPopup = L.popup({ offset: L.point(0, -20)}); tooltipPopup.setContent(result[0].ad_title); tooltipPopup.setContent('' + result[0].ad_title + ''); tooltipPopup.setLatLng([result[0].ad_lat, result[0].ad_lng]); tooltipPopup.openOn(mymap); mymap.setView(this_latlng, mymap.getZoom()); }); } }()); /*-------------------------------------------------- Sidebar collapse --------------------------------------------------*/ function openNav() { document.getElementById("the-sidebar").style.width = "264px"; //document.getElementById("main").style.marginLeft = "264px"; // set the select2 input to same width as other fields $('#the-sidebar .select2-container').css('width', '231.2px'); $('#the-sidebar .select2-container').css('margin', 'auto'); } function closeNav() { document.getElementById("the-sidebar").style.width = "0"; //document.getElementById("main").style.marginLeft= "0"; } /*-------------------------------------------------- Sidebar select2 --------------------------------------------------*/ // select2 config $('#city-input-sidebar').select2({ ajax: { url: 'https://globalbizlistings.com/_return_cities_select2.php', dataType: 'json', delay: 250, data: function (params) { return { query: params.term, page: params.page }; } }, escapeMarkup: function (markup) { return markup; }, minimumInputLength: 1, dropdownAutoWidth : true, placeholder: "City", allowClear: true, dropdownParent: $('#dummy'), language: "en" }); $("#city-input-sidebar").on("select2:unselecting", function(e) { delete_cookie('city_id'); }); $("#city-input-sidebar").on('results:message', function(params){ this.dropdown._resizeDropdown(); this.dropdown._positionDropdown(); }); /*-------------------------------------------------- Ratings --------------------------------------------------*/ (function(){ $('.item-rating').raty({ readOnly: true, score: function() { return this.getAttribute('data-rating'); }, hints: ['bad', 'poor', 'regular', 'good', 'gorgeous'], starType: 'i' }); }()); -->