Line 1: |
Line 1: |
| <includeonly>{{#arraydefine: mapaddr | | <includeonly>{{#arraydefine: mapaddr |
− | |{{#arraymap: Street,City,State|,|@@@|{{#if: {{{@@@|}}}|{{{@@@|}}}, }}|}}{{{Country|United States of America}}} | + | |{{#arraymap: Street,City,Zipcode,State|,|@@@|{{#if: {{{@@@|}}}|{{{@@@|}}}, }}|}}{{{Country|United States of America}}} |
| |* | | |* |
− | }}<!-- -->{{#vardefine: geo|{{#geocode:location={{{Building number|}}} {{#arrayprint: mapaddr|*}}|directional=no}}}}<!-- -->{{#subobject: | + | }}<!-- -->{{#vardefine: geo|{{#geocode:location={{{Building number|}}} {{#arrayprint: mapaddr|*}}|format=float|directional=no}}}}<!-- -->{{#subobject: |
| |Is primary={{{Is primary|}}} | | |Is primary={{{Is primary|}}} |
| |Address label={{{Address label|}}} | | |Address label={{{Address label|}}} |
Line 19: |
Line 19: |
| |Coordinates={{#if:{{{Latitude|}}} {{{Longitude|}}} | | |Coordinates={{#if:{{{Latitude|}}} {{{Longitude|}}} |
| |{{{Latitude|}}},{{{Longitude|}}} | | |{{{Latitude|}}},{{{Longitude|}}} |
− | |{{#ifeq:{{#var:geo}}|Geocoding failed|{{#geocode:location={{{Zipcode|}}}, {{{State|}}}, {{{Country|United States of America}}}|directional=no}}}} | + | |{{#ifeq:{{#var:geo}}|Geocoding failed|{{#geocode:location={{{Zipcode|}}}, {{{State|}}}, {{{Country|United States of America}}}|format=float|directional=no}}}} |
| }} | | }} |
| }}.</includeonly> | | }}.</includeonly> |