--- title: "Home" description: "24/7 Emergency Service Available Las Vegas’ Most Trusted AC Repair & Installation Experts Same-Day Service Free Estimates 100% Satisfaction Guaranteed (702) 381-5080 Book An Appointment 4.9/5 Rating 2,300+ Reviews Licensed & Insured EPA Certified 100% Guaranteed Workmanship Promise Quality service What do you need help with? AC installation & Replacement GET QUOTE → AC Repair […]" url: "https://bobsrepair.com/" date_modified: "2026-06-17T09:20:18-07:00" --- ### 24/7 Emergency Service Available # Las Vegas' Most Trusted AC Repair & Installation Experts - Same-Day Service - Free Estimates - 100% Satisfaction Guaranteed [(702) 381-5080](tel:+17023815080) [Book An Appointment](https://bobsrepair.com/request-an-appointment/) ### 4.9/5 Rating 2,300+ Reviews ### Licensed & Insured EPA Certified ### 100% Guaranteed Workmanship Promise --- ![bi-logo-white](https://bobsrepair.com/wp-content/uploads/2024/10/bi-logo-white.svg) ![marketwatch-corp-logo](https://bobsrepair.com/wp-content/uploads/2024/10/marketwatch-corp-logo.svg) ![benzinga](https://bobsrepair.com/wp-content/uploads/2024/10/benzinga.svg) ![yahoo-finance-logo-white](https://bobsrepair.com/wp-content/uploads/2024/10/yahoo-finance-logo-white.svg) ![ap-news-white-logo](https://bobsrepair.com/wp-content/uploads/2024/10/ap-news-white-logo.svg) ![Winner_Gold-white](https://bobsrepair.com/wp-content/uploads/2025/03/Winner_Gold-white.png) --- Quality service --- ## What do you need help with? --- AC installation & Replacement GET QUOTE → AC Repair GET QUOTE → HeatingRepair GET QUOTE → Air Duct Cleaning& Replacement GET QUOTE → --- SolarInstallation GET QUOTE → ElectricalServices GET QUOTE → AtticInsulation GET QUOTE → Dryer VentCleaning GET QUOTE → --- Tune-Up Special $89 Special Complete System Inspection Performance Optimization Energy Efficiency Check Covers One Unit TUNEUP89 Ending Soon HVAC Repair $50 OFF Valid for Any Repair Service Heating System Repairs Cooling System Repairs REPAIR50 Save Now Premium Upgrade $500 OFF Save up to $500 NV Energy approved - Official rebate program backed by your local utility provider Energy Efficient - Lower bills UPGRADE500 VIP SAVINGS --- Open 7 Days A Week Got an Emergency? Call: (702) 381-5080 --- ## Las Vegas' Local AC Experts When your AC breaks down in the Las Vegas heat, you need a local team that shows up fast. That’s exactly what we’ve delivered since 2014. Our family-owned team keeps your home comfortable with top-rated [AC repair](https://bobsrepair.com/services/ac-repair-las-vegas/), new [AC installations](https://bobsrepair.com/services/ac-installation-las-vegas/), [heating services](https://bobsrepair.com/services/heating-repair-las-vegas/), [duct cleaning](https://ducts.bobsrepair.com/), and [solar](https://bobsrepair.com/solar/). Here’s how we deliver: - Direct Savings: Factory-direct pricing. No middlemen, no markups. - Flexible Financing: Affordable payment options so a broken AC never has to wait. - Las Vegas-Tested: Built for desert climates, we know how 115°F summers stress your system and exactly what to do about it. --- ## The Bob's Repair Difference: Honest, Quality Service --- ![Honest. Reliable. Local.](https://bobsrepair.com/wp-content/uploads/2023/09/Honest-Icon.svg) ### Honest. Reliable. Local. We promise our Las Vegas community 100% transparency with zero hidden fees. ![A Five-Star Reputation](https://bobsrepair.com/wp-content/uploads/2023/09/Reputation-icon.svg) ### A Five-Star Reputation We put your comfort first and have proudly earned over 2,500 five-star reviews from your neighbors. ![Excellent Workmanship](https://bobsrepair.com/wp-content/uploads/2023/09/Degree-Icon.svg) ### Excellent Workmanship Count on our NATE-certified experts for fully warrantied work and reliable service 7 days a week. --- [Meet Bob's Team](https://bobsrepair.com/about/) --- Locally Owned --- ## Serving Our Las Vegas Neighbors From Henderson and Summerlin to North Las Vegas and the Strip corridor, we’re the local AC repair team homeowners call first. Count on us for professional repairs, new installations, and reliable maintenance across the entire valley. [Visit the service area page](https://bobsrepair.com/service-area/) to learn more about our [AC services in your Las Vegas neighborhood](https://bobsrepair.com/services/). [Find Your Neighborhood](https://bobsrepair.com/service-area/) --- ## Fast, Fair, & Pro AC Specialists Bob’s Repair has kept Las Vegas homes comfortable through scorching 115°F summers for over a decade. Our certified technicians diagnose fast, explain clearly, and get the job done right across AC repair, installation, and maintenance, all backed by a 100% satisfaction guarantee. [Call: (702) 381-5080](tel:+17023815080) --- ## Our Local Customer Reviews [Read All Testimonials](https://bobsrepair.com/reviews/) ![GOOGLE REVIEWS](https://bobsrepair.com/wp-content/uploads/2023/09/GOOGLE-REVIEWS.png) Excellent Bob’s Repair AC, Heating and Solar Experts Las Vegas 4.9 Based on 1878 reviews See all reviews review us on Chang Ching K. 2 days ago Ron is very smart to find the root cause to fix my air conditioner problem. Cherrie 3 days ago Kyle came to check my heat exchanger because water came in when I got my roof redone. He was very transparent and efficient. Edith K. 4 days ago Very polite and respectful person. He showed me what was wrong and then went over the price, which seemed fair and reasonable to me. Mario V. 4 days ago This is on of the best hvac companies here. Victor did a great job on the 6 month service on my system. He is very professional and friendly and very informative. They also installed my new hvac system in February and I am very happy with it. Julie S. 5 days ago Well, this was the most attentive HVAC service I spoke with. I already had several technicians come out, and none were really able to assist me, and only need financing. I didnt want to waste anyone elses time, and they were able to guide me to their online financing application! All AC companies should have this. Bobs Repair were unable to be more helpful! So much info and so much help, even if I didn't get financed for what was needed. Temporary AC for now, when funds are accumulated, they will be who I go to! Edit: I spent no money with them at this time. (function(p){if(!p)return;let w=p.offsetWidth,m=function(a,b){return Math.min(a,b)===a};p.querySelector('.rpi-cnt').classList.replace('rpi-col-m','rpi-col-'+(m(w,510)?'xs':m(w,750)?'x':m(w,1050)?'s':m(w,1450)?'m':m(w,1800)?'l':'xl'))})(document.getElementById('rpi-1281-6a9080a02885c')) --- ## Diagnostic Guides ## Common AC Problems in Las Vegas Homes Not sure what’s wrong with your AC? These guides break down the most common problems we see in Las Vegas homes – and how to fix them. [AC running but not cooling?](https://bobsrepair.com/problem/ac-not-cooling-well/) [Why is upstairs hotter than downstairs?](https://bobsrepair.com/problem/why-is-my-upstairs-so-hot/) [Why is my AC failing early?](https://bobsrepair.com/problem/ac-failing-early/) [Weak airflow from your vents?](https://bobsrepair.com/problem/weak-ac-airflow/) [Should I replace my AC and furnace together?](https://bobsrepair.com/problem/full-system-replacement/) [Was my AC installed wrong?](https://bobsrepair.com/problem/was-my-ac-installed-wrong/) --- [See all common AC problems](https://bobsrepair.com/problem/) --- ## HVAC Tips from Las Vegas Experts AC Questions AC Not Working After Power Outage in Las Vegas? Here’s What to Do Frideric Prandecki, Co-Owner August 26, 2026 AC Repair Mini-Split Not Cooling in Your Las Vegas Casita? Here’s What’s Actually Wrong Frideric Prandecki, Co-Owner August 12, 2026 AC Repair How to Fix a Noisy AC Compressor Before the Las Vegas Heat Wins Frideric Prandecki, Co-Owner July 20, 2026 AC Maintenance & Repair AC Not Working In Apartment? 5 Steps For Las Vegas Renters Frideric Prandecki, Co-Owner July 15, 2026 AC Maintenance & Repair Why Your AC is Leaking Water in Las Vegas (And How Solar Offsets the Upgrade) Frideric Prandecki, Co-Owner July 13, 2026 AC Maintenance & Repair AC Electric Power Outage in Las Vegas: How to Protect Your Cooling and Stay Safe Frideric Prandecki, Co-Owner July 8, 2026 [Discover HVAC Tips](https://bobsrepair.com/blog/) --- ## Las Vegas Solar Experts Bob’s Repair helps Las Vegas homeowners cut energy bills with custom solar installations. Our licensed Nevada technicians handle all permits and paperwork, install premium equipment with strong warranties, and show you exactly how much you’ll save. [Start Your Solar Journey](https://solar.bobsrepair.com/) --- ### Las Vegas AC FAQ Here are straight answers to the most common AC questions we hear from our Las Vegas neighbors. ### How to install an air conditioning unit in North Las Vegas? AC installation involves selecting the right system for your home's square footage, preparing the site, and making precise electrical and refrigerant connections. Mistakes at any of these steps can lead to efficiency loss, voided warranties, or code violations that cost more to fix later. Bob's Repair handles every part of the installation process, from system selection to final testing, so you get a unit that performs correctly from day one. ### How can regular maintenance extend the life of my AC unit and HVAC system? Your AC works harder in Las Vegas than almost anywhere else in the country. Without regular maintenance, small issues like low refrigerant, dirty coils, or worn fan belts build up quietly until the system fails, usually on the hottest day of the year. Routine tune-ups from Bob's Repair keep your system running efficiently, catch problems early, and can add years to the life of your unit, saving you significantly on both energy bills and early replacement costs. ### How to troubleshoot an AC that is not cooling, compromising home comfort? Start with the basics: confirm your thermostat is set to COOL and set below the current room temperature, then check your air filter, as a clogged filter is the most common cause of poor cooling in Las Vegas homes. Also, check your breaker to make sure the unit is getting full power. If those checks don't solve it, the problem is likely a refrigerant leak, frozen evaporator coil, or a failing compressor, all of which need a professional. Bob's Repair offers same-day diagnostics across the Las Vegas area. ### What are common AC repair issues? Refrigerant leaks, frozen evaporator coils, thermostat failures, and faulty capacitors are the issues our techs fix most often. In Las Vegas, dust buildup in condenser coils is also a major culprit since it forces your system to work harder and overheat. Most of these problems start small and become expensive if ignored. The sooner you call, the less a repair typically costs, and the less strain your system takes before the fix. ### What should I consider when replacing my air conditioning unit? The two biggest factors are the age of your current system and its SEER rating. If your unit is over 10 years old and needs frequent repairs, replacement usually makes more financial sense than another fix. A newer system with a higher SEER rating will cut your monthly energy bills noticeably in a climate like Las Vegas. Sizing also matters. An oversized unit short-cycles and wears out faster, while an undersized one runs constantly without ever fully cooling your home. Bob's Repair will assess your home properly and give you an honest recommendation, not just the most expensive option. ### How often should I change my AC filter in Las Vegas? Las Vegas air carries significantly more dust, pollen, and debris than most cities, which means your filter clogs faster than the manufacturer's general guidelines suggest. For standard 1-inch filters, plan to swap them every 30 days during peak cooling season. Thicker media filters can go 3 to 6 months, but should still be checked monthly. A dirty filter is the single easiest thing to fix and one of the most common reasons AC units underperform or fail early. Replacing it takes two minutes and can prevent a service call that costs far more. --- East North Central Southwest Bob's Repair AC, Heating and Solar Experts Las Vegas 3874 Silvestri Lane Las Vegas, NV 89120 CALL: (702) 381-5080 Directions Service Areas Henderson, NV Paradise, NV Green Valley, NV Anthem, NV Seven Hills, NV Boulder City, NV Sunrise Manor, NV Inspirada, NV MacDonald Ranch, NV Bob's Repair AC, Heating and Solar Experts Las Vegas 6628 Sky Pointe Dr Suite 100 Las Vegas, NV 89131 CALL: (702) 530-3981 Directions Service Areas Centennial Hills, NV North Las Vegas, NV Bob's Repair AC, Heating and Solar Experts Las Vegas 2500 N Buffalo Dr Suite 100 Las Vegas, NV 89128 CALL: (702) 530-3991 Directions Service Areas Summerlin, NV The Lakes, NV Bob's Repair AC, Heating and Solar Experts Las Vegas 758 Shiva St Las Vegas, NV 89178 CALL: (702) 444-2073 Directions Service Areas Enterprise, NV Southern Highlands, NV Spanish Hills, NV Spanish Trail, NV Spring Valley, NV .brm-wrap { position: relative; width: 100%; height: 660px; overflow: hidden; font-family: Arial, sans-serif; } /* Compact map on service-area pages */ .brm-wrap--compact { height: 500px; } /* Map fills entire container */ .brm-map { position: absolute; inset: 0; width: 100%; height: 100%; } /* White overlay card floating at bottom center */ .brm-overlay { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: min(800px, calc(100% - 32px)); background: #ffffff; box-shadow: 0 4px 24px rgba(0,0,0,.18); z-index: 10; border-radius:10px; } /* Tabs */ .brm-tabs { display: flex; border-bottom: 1px solid #e8e3dc; } .brm-tab { flex: 1; padding: 12px 8px; font-size: 13px; font-weight: 600; color: #999; background: none; border: none; border-radius:0px !important; border-left: 1px solid #fff; cursor: pointer; text-align: center; transition: color .15s, border-color .15s; white-space: nowrap; line-height: 1.3; } .brm-tab.brm-tab--active { background-color:#002035 !important; } .brm-tab:hover { background-color: #002035; } .brm-tab--active { color: #f5832a; border-bottom-color: #f5832a; } button.brm-tab:first-child { border-top-left-radius: 10px !important; } button.brm-tab:last-child { border-top-right-radius: 10px !important; } /* Info panel */ .brm-panel { display: none; padding: 18px 24px; gap: 24px; align-items: flex-start; } .brm-panel--active { display: flex; } .brm-panel-left { flex: 0 0 45%; min-width: 0; } .brm-name { font-size: 16px; font-weight: 700; color: #002035; margin-bottom: 5px; line-height: 1.4; } .brm-addr { font-size: 14px; color: #333; margin-bottom: 20px; line-height: 1.5; } .brm-phone { display: block; font-size: 14px; font-weight: 700; color: #f5832a; text-decoration: none; margin-bottom: 14px; transition: color .15s; } .brm-phone:hover { color: #e36c15; } .brm-actions { display: flex; gap: 10px; flex-wrap: wrap; } .brm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; font-size: 12px; line-height:1em; font-weight: 700; text-decoration: none; cursor: pointer; border: none; border-radius: 10px; text-transform: uppercase; letter-spacing: .5px; transition: background .15s, color .15s; white-space: nowrap; color:#fff !important; } .brm-btn svg { width: 15px; height: 15px; flex-shrink: 0; } .brm-btn--primary { background: #4ab3e8; color: #fff; } .brm-btn--primary:hover { background: #33a0d8; color: #fff; } .brm-btn--secondary { background: #f5a623; border: none; color: #fff; } .brm-btn--secondary:hover { background: #e09515; color: #fff; } /* Vertical divider */ .brm-divider { width: 1px; background: #e8e3dc; align-self: stretch; flex-shrink: 0; } /* Service areas */ .brm-panel-right { flex: 1; min-width: 0; } .brm-areas-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #aaa; margin-bottom: 8px; } .brm-areas { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0; } .brm-areas li { font-size: 11px; background: #f7f5f2; border: 1px solid #e8e3dc; padding: 3px 9px; transition: border-color .15s; } .brm-areas li a { color: #444; text-decoration: none; display: block; font-size:14px; } .brm-areas li:hover { border-color: #f5832a; } .brm-areas li:hover a { color: #f5832a; } /* Mobile */ @media (max-width: 640px) { .brm-wrap { height: 620px; } .brm-overlay { bottom: 0; width: 100%; } .brm-panel { flex-direction: column; padding: 14px 16px; } .brm-divider { width: 100%; height: 1px; align-self: auto; } .brm-tab { font-size: 11px; padding: 10px 4px; } } @media (max-width: 900px) { .brm-overlay { width: calc(100% - 32px); } } @media (max-width: 640px) { .brm-wrap { height: 720px; } .brm-overlay { bottom: 0; width: 100%; border-radius: 10px 10px 0 0; } .brm-panel { flex-direction: column; padding: 14px 16px; gap: 14px; } .brm-panel-left { flex: none; width: 100%; } .brm-divider { width: 100%; height: 1px; align-self: auto; } .brm-tab { font-size: 11px; padding: 10px 4px; } .brm-btn { padding: 11px 14px; font-size: 11px; } .brm-panel-right { width: 100%; } .brm-areas li a { font-size: 12px; } } @media (max-width: 420px) { .brm-wrap { height: 780px; } .brm-tabs { overflow-x: auto; } .brm-tab { font-size: 10px !important; padding: 10px 6px !important; min-width: 70px; } .brm-btn { justify-content: center; } } (function() { var BR_LOCATIONS = [{"id":"loc-east","label":"East Las Vegas","tab":"East","address":"3874 Silvestri Lane Las Vegas, NV 89120","phone":"(702) 381-5080","lat":36.077415,"lng":-115.089373,"areas":[{"name":"Henderson, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-henderson-nv\/"},{"name":"Paradise, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-paradise-nv\/"},{"name":"Green Valley, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-green-valley-nv\/"},{"name":"Anthem, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-anthem-nv\/"},{"name":"Seven Hills, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-seven-hills-nv\/"},{"name":"Boulder City, NV","url":"https:\/\/bobsrepair.com\/service-area\/boulder-city-nv\/"},{"name":"Sunrise Manor, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-sunrise-manor-nv\/"},{"name":"Inspirada, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-inspirada-nv\/"},{"name":"MacDonald Ranch, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-macdonald-ranch-nv\/"}]},{"id":"loc-north","label":"North Las Vegas","tab":"North","address":"6628 Sky Pointe Dr Suite 100 Las Vegas, NV 89131","phone":"(702) 530-3981","lat":36.29451,"lng":-115.267042,"areas":[{"name":"Centennial Hills, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-centennial-hills-nv\/"},{"name":"North Las Vegas, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-north-las-vegas-nv\/"}]},{"id":"loc-central","label":"Central Las Vegas","tab":"Central","address":"2500 N Buffalo Dr Suite 100 Las Vegas, NV 89128","phone":"(702) 530-3991","lat":36.205927,"lng":-115.259456,"areas":[{"name":"Summerlin, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-summerlin-nv\/"},{"name":"The Lakes, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-the-lakes-nv\/"}]},{"id":"loc-southwest","label":"Southwest Las Vegas","tab":"Southwest","address":"758 Shiva St Las Vegas, NV 89178","phone":"(702) 444-2073","lat":36.032139,"lng":-115.30316,"areas":[{"name":"Enterprise, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-enterprise-nv\/"},{"name":"Southern Highlands, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-southern-highlands\/"},{"name":"Spanish Hills, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-spanish-hills-nv\/"},{"name":"Spanish Trail, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-spanish-trail-nv\/"},{"name":"Spring Valley, NV","url":"https:\/\/bobsrepair.com\/service-area\/ac-repair-spring-valley-nv\/"}]}]; var BR_API_KEY = "AIzaSyBqpqyEgVv2xt12HsyCFYvo0EbUzw7obiU"; var map, markers = [], activeIndex = 0; /* Switch active location — called by tab clicks AND marker clicks */ function switchTo(index) { activeIndex = index; /* Update tabs */ document.querySelectorAll('.brm-tab').forEach(function(tab, i) { tab.classList.toggle('brm-tab--active', i === index); tab.setAttribute('aria-selected', i === index ? 'true' : 'false'); }); /* Update panels */ document.querySelectorAll('.brm-panel').forEach(function(panel, i) { panel.classList.toggle('brm-panel--active', i === index); }); /* Pan map to selected location */ if (map) { map.panTo({ lat: BR_LOCATIONS[index].lat, lng: BR_LOCATIONS[index].lng }); map.setZoom(12); } /* Update marker icons */ markers.forEach(function(m, i) { m.setIcon(buildIcon(i === index)); m.setZIndex(i === index ? 999 : 100); }); } /* Build SVG pin — white+orange dot when inactive, solid orange when active */ function buildIcon(active) { var bodyFill = active ? '#f5832a' : '#ffffff'; var dotFill = active ? '#ffffff' : '#f5832a'; var svg = ' ' + ' ' + ' ' + ' '; return { url: 'data:image/svg+xml;charset=UTF-8,' + encodeURIComponent(svg), scaledSize: new google.maps.Size(36, 44), anchor: new google.maps.Point(18, 44), }; } /* Init Google Map */ window.brmInitMap = function() { var mapStyles = [ { elementType: 'geometry', stylers: [{ color: '#f5f0e8' }] }, { elementType: 'labels.text.fill', stylers: [{ color: '#555' }] }, { elementType: 'labels.text.stroke', stylers: [{ color: '#f5f0e8' }] }, { featureType: 'road', elementType: 'geometry', stylers: [{ color: '#ffffff' }] }, { featureType: 'road.highway', elementType: 'geometry', stylers: [{ color: '#f5e6c8' }] }, { featureType: 'road.highway', elementType: 'geometry.stroke', stylers: [{ color: '#e0d0a0' }] }, { featureType: 'road', elementType: 'labels.text.fill', stylers: [{ color: '#777' }] }, { featureType: 'water', elementType: 'geometry', stylers: [{ color: '#c9dce8' }] }, { featureType: 'poi', elementType: 'geometry', stylers: [{ color: '#ede8df' }] }, { featureType: 'poi', elementType: 'labels.text.fill', stylers: [{ color: '#888' }] }, { featureType: 'poi.park', elementType: 'geometry', stylers: [{ color: '#d4e8d0' }] }, { featureType: 'poi.park', elementType: 'labels.text.fill', stylers: [{ color: '#6a9e6a' }] }, { featureType: 'administrative', elementType: 'geometry.stroke', stylers: [{ color: '#ccc' }] }, { featureType: 'administrative.locality', elementType: 'labels.text.fill', stylers: [{ color: '#444' }] }, { featureType: 'transit', elementType: 'geometry', stylers: [{ color: '#e8e3dc' }] }, { featureType: 'landscape.man_made', elementType: 'geometry', stylers: [{ color: '#ece8e0' }] }, ]; var single = BR_LOCATIONS.length === 1; var center = single ? { lat: BR_LOCATIONS[0].lat, lng: BR_LOCATIONS[0].lng } : { lat: 36.15, lng: -115.18 }; var zoom = single ? 12 : 10; map = new google.maps.Map(document.getElementById('brm-map'), { center: center, zoom: zoom, styles: mapStyles, disableDefaultUI: true, zoomControl: true, zoomControlOptions: { position: google.maps.ControlPosition.RIGHT_BOTTOM }, gestureHandling: 'cooperative', }); BR_LOCATIONS.forEach(function(loc, i) { var marker = new google.maps.Marker({ position: { lat: loc.lat, lng: loc.lng }, map: map, icon: buildIcon(i === 0), title: loc.label, animation: google.maps.Animation.DROP, zIndex: i === 0 ? 999 : 100, }); /* Clicking a marker switches the info panel */ marker.addListener('click', function() { switchTo(i); }); markers.push(marker); }); }; /* Tab click handlers */ document.querySelectorAll('.brm-tab').forEach(function(tab, i) { tab.addEventListener('click', function() { switchTo(i); }); }); /* Load Google Maps JS */ if (!window.google || !window.google.maps) { var script = document.createElement('script'); script.async = true; script.defer = true; var src = 'https://maps.googleapis.com/maps/api/js?callback=brmInitMap'; if (BR_API_KEY) { src += '&key=' + encodeURIComponent(BR_API_KEY); } script.src = src; document.head.appendChild(script); } else { window.brmInitMap(); } })();