Support Forums - Classified Ads Script Osclass
Osclass plugin support => Free Osclass Plugins => Topic started by: Farouk El Gharbaoui on December 24, 2022, 01:25:24 PM
-
Hi, I tried the Google Map plugin to correctly get Latitude and longitude coordinate from geocode Api but unfortunately doesn't saved on my Data base, each time they retrieve the Lat and Long from the city_lat and city_long data
-
Not sure if google maps populate coordinates.
-
Google map properly get Lat and Long from geocode API.
First problem is the line 50 at the index.php of the plugin : need to add 's' to http and add the API KEY at the end of the url like this : https.......geocode/json?address=%s&sensor=false&key="YOUR API KEY"
Second problem i faced is coming from the PHP Version in my server the pLugin doesn't work with 8.0 php version but perfectly working with the 7.4 version
-
Ok so you mean coordinates to show item on map.
Plugin is quite old and not updated, as google services are bot free anymore.
Api key is now rewuired.
Php 8 may generate notices & warnings as in most of applications.