Support Forums - Classified Ads Script Osclass

General osclass questions => Plugins => Topic started by: АлександрЪ ТюлюновЪ on February 05, 2023, 09:07:47 AM

Title: OpenStreetMaps Plugin
Post by: АлександрЪ ТюлюновЪ on February 05, 2023, 09:07:47 AM
Hello! When setting a point on the map, an incomplete address is written and the location of the point is not saved at the specified location. I thought it would save by latitude and longitude, or it should be a full address, but now it does not work in most cases. How can this be fixed? 

Osclass version: 8.0.2
OpenStreetMaps plugin Version: 1.6.2
Title: Re: OpenStreetMaps Plugin
Post by: MB Themes on February 06, 2023, 12:06:10 PM
It's probably closes location found.
when you check source code, and coordinate inputs are there, they should be populated as well.
Title: Re: OpenStreetMaps Plugin
Post by: АлександрЪ ТюлюновЪ on February 06, 2023, 03:30:35 PM
It's probably closes location found.
when you check source code, and coordinate inputs are there, they should be populated as well.


Hello) I put the pointer on "cassia", only the main street soi cherngtalay is displayed in the address, and after the announcement is published, the dot simply moves to the center of this street. How to make the dot not move? or the address was registered not by one street, but completely?
Title: Re: OpenStreetMaps Plugin
Post by: MB Themes on February 09, 2023, 03:22:44 PM
check in source code of publish page if you have coordinates inputs (hidden) there:
coord_lat, coord_long or similar names
Title: Re: OpenStreetMaps Plugin
Post by: АлександрЪ ТюлюновЪ on February 10, 2023, 05:08:48 PM
check in source code of publish page if you have coordinates inputs (hidden) there:
coord_lat, coord_long or similar names

Unfortunately it doesn't seem to be. Just in case, a link to the ad https://mydeal.best/index.php?page=item&id=33
Title: Re: OpenStreetMaps Plugin
Post by: АлександрЪ ТюлюновЪ on February 17, 2023, 01:09:17 PM
Good afternoon.  Fails to fix.
Title: Re: OpenStreetMaps Plugin
Post by: MB Themes on February 24, 2023, 09:24:35 PM
You do not have required inputs on publish page.
Code: [Select]
<input type="hidden" name="d_coord_lat" value="<?php echo osc_item_latitude(); ?>" />
<input type="hidden" name="d_coord_long" value="<?php echo osc_item_longitude(); ?>" />