"+addresses[i].distance+"
"+addresses[i].address+"" + website + directions + ""+noStoresFound+"
"+data.data + directions +"
");
infoPopup.open(map,marker);
});
}else if(markersArray[i].id == id && id == 0){
marker = markersArray[i];
map.panTo(marker.getPosition());
infoPopup.close();
infoPopup.setContent(""+ youAreHere +"
");
infoPopup.open(map,marker);
}
}
}
function codeAddress(){
var address = jQuery("#address_search").val();
if(address == "Postal/Zip Code"){
address="";
}
if(address){
geocoder.geocode( { 'address': address}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
map.setCenter(results[0].geometry.location);
find_new_stores(1);
} else {
alert('Error finding your address please review your criteria and try again');
}
});
}else{
find_new_stores();
}
}
var to_marker;
function calcRoute(id) {
var from = false;
var to = false;
for(i=0; i"+stepCount+".
" + mystep.instructions + "
" + mystep.distance.text + "
ZÜPA NOMA Store Locator
- Enter your city or postal/zip code to find locations near you.