City Name Changes After Setting Address

This topic contains 6 replies, has 4 voices, and was last updated by  Paolo 7 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #430486

    rocket1j
    Expired Member
    Post count: 11

    Hello
    Have an issue where after we set the address for a new location the city name changes to a town that shares the same zip-code.

    Is there a setting in admin that can keep that from occuring?

    Thanks!

    #430495

    Kor
    Moderator
    Post count: 16516

    Hi rocket1j,

    Thanks for your reply. Could you try pinpointing it using the Latitude and Longitude positioning and see if the address is correct?

    Thanks!

    #430498

    rocket1j
    Expired Member
    Post count: 11

    Sure thing. The address is correct with Lon and Lad. However we have a variety of users that plug in these new locations. Ideally we’d like to ensure that whatever town/city they enter doesn’t auto-adjust to another town/city that shares the same zip-code.

    #430678

    Paolo
    Site Admin
    Post count: 31211

    Normally that doesn’t happen and this is very strange, because the Google Autocompleter has the right information.

    The developers will check what is going on with this particular case and they will let us know asap why it is behaving like that. Please let us know if you see any other similar issues.

    Thanks

    #430821

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I can’t recreate this, @kor @paolo could u?
    For me its always “East Alton”

    Stiofan

    #430889

    Paolo
    Site Admin
    Post count: 31211

    Yes I could on our demo with the starter theme as shown here:

    https://wpgeodirectory.com/support/wp-content/uploads/sites/11/2018/05/Capture-3.jpg

    The autocompleter shows the correct city, but after selecting it it changes the city to East Alton.

    In any case if you check on Google Maps that address is not in East Alton either. The API is returning something wrong…

    #431000

    Paolo
    Site Admin
    Post count: 31211

    Hi again,

    apparently Google Maps consider Cottage Hills a neighborhood of the city East Alton.

    Not much we can do about that unfortunately.

    Please see:

    https://google-developers.appspot.com/maps/documentation/utils/geocoder/#q%3D

    (do not authorize sharing your location, or it’ll change address)

    Address: 722 W MacArthur Dr, Cottage Hills, IL 62018, USA

    Location: 38.90554,-90.084502 (type: ROOFTOP)

    Types: street_address

    Address components:
    street_number 722
    route West Macarthur Drive
    W MacArthur Dr
    neighborhood Cottage Hills political
    locality East Alton political
    administrative_area_level_3 Wood River Township political
    administrative_area_level_2 Madison County political
    administrative_area_level_1 Illinois
    IL political
    country United States
    US political
    postal_code 62018

    Viewport: 38.906889,-90.083153 — 38.904191,-90.085851

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount