mcguffin / acf-openstreetmap-field

WordPress ACF Field for OpenStreetMap
https://wordpress.org/plugins/acf-openstreetmap-field/
GNU General Public License v3.0
107 stars 21 forks source link

Marker dont return precise position (coordinates) #117

Open jorge-teixeira opened 1 month ago

jorge-teixeira commented 1 month ago

When I place a marker in the custom post, the raw data it is not saved with the precise location meaning it doesn’t go to the exact coordinates where the marker was placed. Instead, it always defaults to the nearest road. example: marker at: 40.1234567, -8.1234567 .

I try to use de Raw Data : i put in the wordpress ACF map the coordenate 40.1234567, -8.1234567 and the output with the var_dump is : array(9) { ["lat"]=> float(40.1235615) ["lng"]=> float(-8.1236286).