10 years ago
1
Topic
I've purchased plugin Address to Coordinates  http://www.seblod.com/products/920

I use J3+Seblod3.2.2 
PHP 5.4.22 on LOCALHOST
All fields - cyrillic chars, language of values/fields - russian

My adress related fields are made partly from dynamic cascade field (bold) and text fields (italic) placed in user registration form. 
house number, street, city, region, country
I want to add user location on map when he is filling the form. I've created also fields user_latitude and user_longitude (where as I expect must appear some live coordinates during filling the form)User_geoip is my "Address to Coordinates" field. I set fields as on screenshots - but when I select all values from select dynamic and fill text fields  - i don't see long+latitude coordinates?

On submission of the form, it will concatenate (combine) these fields and send to the Google API. Next, the API returns the latitude and longitude of the location which is then stored in designated fields

Something doesn't work for me...Or as I expect. Who can explain? Can I see coordinates before I press form save button?

Get a VIP membership
10 years ago
0
Level 1
Hi terveg,

the problem is most likely that you are on a LOCALHOST.

As far as I know, Google Maps API doesn't allow requests from localhost without an API key. Put it on a 'real' server and it should work.


Get a Book for SEBLOD