Osclass Support Forums

Osclass plugin support => OpenStreetMaps Plugin => Topic started by: rooman on May 22, 2023, 06:45:18 PM

Title: Latitude and longitude
Post by: rooman on May 22, 2023, 06:45:18 PM
Hello,
OpenStreetMaps
d_coord_lat
d_coord_long
-----------
Radius Search
 latitude
 longitude
 Is it reasonable to have separate input fields for latitude and longitude when adding a listing?
 It should ideally be a single input field for both. Here, the entered data is one, with different table names.
How can the input fields be merged on the item post page?
Title: Re: Latitude and longitude
Post by: MB Themes on May 23, 2023, 07:00:27 AM
2 fields, 2 inputs, generally hidden for users
Title: Re: Latitude and longitude
Post by: rooman on May 24, 2023, 08:35:22 AM
2 fields, 2 inputs, generally hidden for users
The two fields have been added
Code: [Select]
<input type="" class="rad_search" name="sLat">
<input type="" class="rad_search" name="sLon">
But the data is not added to the database
Title: Re: Latitude and longitude
Post by: MB Themes on May 24, 2023, 11:47:03 AM
Name in inputs is naturally wrong.