WordPress.org

Ready to get started?Download WordPress

Forums

Store Locator Plus
Field order for geocoding german addresses wrong (2 posts)

  1. KeenMetal
    Member
    Posted 1 year ago #

    Fantastic plugin! An issue regarding the field order for Germany though:

    Currently, SLP queries as follows: STREET1, STREET2, CITY, POSTCODE
    No results: Altes Rathaus / Naschmarkt, Markt 1, Leipzig, 4109

    The following order is used in Germany: STREET1, STREET2, POSTCODE, CITY
    Match: Altes Rathaus / Naschmarkt, Markt 1, 4109, Leipzig

    (Use the Google Maps Geocode API Example page to verify)

    Can SLP be tweaked to query the API in that order when the Map Country is set to Germany?
    A few of my addresses are not matching up because of this.

    Thanks!

    http://wordpress.org/extend/plugins/store-locator-le/

  2. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Never knew that made a difference. I always assumed Google would "translate" the address format and fix them as they came in. I will think about how to manage that in one of the future updates.

    I'm aware of differences in language and other map-related items but did not realize geocoding cared about the order of the city/postcode.

    Thanks for sharing. It helps me create a more "worldly" plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic