Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)

  • erannou
    Participant

    @erannou

    godavid you are the savior of the day ! thank you very much for sharing your code.

    It works perfectly for me, I just added something in order to be able to search a real address (with spaces between words) and not a single word:

    $url = ‘http://maps.googleapis.com/maps/api/geocode/json?address=”‘.str_replace(” “,”+”, urlencode($new_station_value)).'”&sensor=false’;

    Without this, google was not able to locate a location like “tokyo station” with a space.

    Thx again.

Viewing 1 replies (of 1 total)
Skip to toolbar