Skip to content

Commit

Permalink
string condition removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sm1pleScr1pt committed Oct 9, 2024
1 parent 43d186e commit 3f7a798
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions blocks/branchlocator/branchlocator-biz.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@ function myMap(lat, long, sortedBranch) {
// adding the markers
function addMarkers() {
for (let eachLagLong of sortedBranch) {
if (typeof eachLagLong["Latitude"] == "string" || typeof eachLagLong["Longitude"] == "string") {
continue;
}

new google.maps.Marker({
position: new google.maps.LatLng(eachLagLong["Latitude"], eachLagLong["Longitude"]),
title: eachLagLong['Address'],
Expand Down

0 comments on commit 3f7a798

Please sign in to comment.