sequence of “street number street name” not useable
-
Hello! Thank you for your great extension! Can yo add the possibility to switch the sequence of street and street number? Here in Germany (and many other countries) we have the street number after the street name, your extension place it at first position
for example: Hamburger Strasse 123 (correct format)
is transfered to : 123 Hamburger StrasseI fix it using the following code in map_data.js… but now I loose the update possibility
google.maps.event.addListener(
autocomplete,
“place_changed”,
function () {
var addressLine1 = “”;
var addressLine2 = “”;
var addressLine3 = “”;
var streetNr = “”; // NEW VARIABLE
….case “street_number”:
//addressLine1 += val + ” “; // original code
streetNr = val; // NEW use variable, not the addressLine1
break;case “route”:
addressLine1 += val + ” ” + streetNr; //ADD streetnumber
break;
- The topic ‘sequence of “street number street name” not useable’ is closed to new replies.