Franz Locations


Franz Bakery | Locations

‘ + stateName + ”; return retVal; } function makeOutletStateList(stateName){ var retVal = ‘

‘ + stateName + ”; return retVal; } /*function makeBakeryStateList(stateName){ var retVal = ‘

‘ + stateName + ”; return retVal; } function makeOutletStateList(stateName){ var retVal = ‘

‘ + stateName + ”; return retVal; }*/ function scrollToBakery(stateName) { var elmnt = document.getElementById(stateName); elmnt.scrollIntoView({ behavior:’smooth’, inline: ‘start’, block: ‘start’}); } function scrollToOutlet(stateName) { var elmnt = document.getElementById(stateName); elmnt.scrollIntoView({ behavior:’smooth’, inline: ‘start’, block: ‘start’ }); } function makeBakeryStateBox(stateName, bakeryList){ var retVal = ‘‘ + ‘

‘ + stateName + ”; bakeryList.forEach(function(bakery){ var clickFn = ‘showFacilityInfo(“‘ + bakery.id + ‘”)’; var locationCard = ”; locationCard = locationCard + ”; locationCard = locationCard + ‘

‘ + bakery.location + ”; locationCard = locationCard + ”; locationCard = locationCard + ‘‘; locationCard = locationCard + ‘

‘ + bakery.streetNumber + ‘ ‘ + bakery.street + ‘
‘; locationCard = locationCard + bakery.city + ‘ ‘ + bakery.state + ‘ ‘ + bakery.zip + ”; locationCard = locationCard + ‘

‘ + bakery.phone + ”; locationCard = locationCard + ”; retVal = retVal + locationCard; }); retVal = retVal + ”; return retVal; } function makeOutletStateBox(stateName, outletList){ var retVal = ‘‘ + ‘

‘ + stateName + ”; outletList.forEach(function(outlet){ var clickFn = ‘showFacilityInfo(“‘ + outlet.id + ‘”)’; var locationCard = ”; locationCard = locationCard + ”; locationCard = locationCard + ‘

‘ + outlet.location + ”; locationCard = locationCard + ”; locationCard = locationCard + ‘‘; locationCard = locationCard + ‘

‘ + outlet.streetNumber + ‘ ‘ + outlet.street + ‘
‘; locationCard = locationCard + outlet.city + ‘ ‘ + outlet.state + ‘ ‘ + outlet.zip + ”; locationCard = locationCard + ‘

‘ + outlet.phone + ”; locationCard = locationCard + outlet.weekdays + ‘: ‘ + outlet.weekdayHours + ‘
‘; locationCard = locationCard + ‘Sat: ‘ + outlet.saturdayHours + ‘
‘; locationCard = locationCard + ‘Sun: ‘ + outlet.sundayHours + ‘
‘; locationCard = locationCard + ” + outlet.notes + ” ; locationCard = locationCard + ” retVal = retVal + locationCard; }); retVal = retVal + ”; return retVal; } const mapStyle = [ { “featureType”: “all”, “elementType”: “geometry.fill”, “stylers”: [ { “weight”: “2.00” } ] }, { “featureType”: “all”, “elementType”: “geometry.stroke”, “stylers”: [ { “color”: “#9c9c9c” } ] }, { “featureType”: “all”, “elementType”: “labels.text”, “stylers”: [ { “visibility”: “on” } ] }, { “featureType”: “landscape”, “elementType”: “all”, “stylers”: [ { “color”: “#f2f2f2” } ] }, { “featureType”: “landscape”, “elementType”: “geometry.fill”, “stylers”: [ { “color”: “#ffffff” } ] }, { “featureType”: “landscape.man_made”, “elementType”: “geometry.fill”, “stylers”: [ { “color”: “#ffffff” } ] }, { “featureType”: “poi”, “elementType”: “all”, “stylers”: [ { “visibility”: “off” } ] }, { “featureType”: “road”, “elementType”: “all”, “stylers”: [ { “saturation”: -100 }, { “lightness”: 45 } ] }, { “featureType”: “road”, “elementType”: “geometry.fill”, “stylers”: [ { “color”: “#eeeeee” } ] }, { “featureType”: “road”, “elementType”: “labels.text.fill”, “stylers”: [ { “color”: “#7b7b7b” } ] }, { “featureType”: “road”, “elementType”: “labels.text.stroke”, “stylers”: [ { “color”: “#ffffff” } ] }, { “featureType”: “road.highway”, “elementType”: “all”, “stylers”: [ { “visibility”: “simplified” } ] }, { “featureType”: “road.arterial”, “elementType”: “labels.icon”, “stylers”: [ { “visibility”: “off” } ] }, { “featureType”: “transit”, “elementType”: “all”, “stylers”: [ { “visibility”: “off” } ] }, { “featureType”: “water”, “elementType”: “all”, “stylers”: [ { “color”: “#46bcec” }, { “visibility”: “on” } ] }, { “featureType”: “water”, “elementType”: “geometry.fill”, “stylers”: [ { “color”: “#c8d7d4” } ] }, { “featureType”: “water”, “elementType”: “labels.text.fill”, “stylers”: [ { “color”: “#070707” } ] }, { “featureType”: “water”, “elementType”: “labels.text.stroke”, “stylers”: [ { “color”: “#ffffff” } ] } ]; ]]>



Source

Leave a Comment

Your email address will not be published. Required fields are marked *