OSM + coordinates fields
- This topic has 4 replies, 3 voices, and was last updated 2 years, 11 months ago by
justdoit123.
-
AuthorPosts
-
October 20, 2022 at 3:54 PM #38761
Olivier Cayrol
ParticipantHello,
I'm trying to set a location by coordinates for an OSM map. I want to use 2 fields: Latitude & Longitude.
But autocomplete seems to change the position of the location on the location map (and the new position is not accurate). Is there a way to remove autocomplete functionality and to define the position by using only the lat & lng ?
The location for the pin position when I use coordinates fields:
https://snipboard.io/68yXSA.jpgThe location where the pin should pointed at:
https://snipboard.io/JYa0QF.jpgThe location on OSM https://www.openstreetmap.org/search?query=43.006950365311816%2C%202.7336701513473525#map=18/43.00695/2.73367 :
https://snipboard.io/KVPXNk.jpgThanks you.
October 20, 2022 at 9:52 PM #38767Long Nguyen
ModeratorHi Olivier,
You can try to use the extension MB Geolocation to use two-ways data binding feature: change the location (pin) on the map to update the lat, lng value and change the lat, lng value to update the pin on the map. Read more on the documentation https://docs.metabox.io/extensions/meta-box-geolocation/#two-way-data-binding
October 25, 2022 at 10:06 PM #38824Olivier Cayrol
ParticipantThank you. It's exactly was I was looking for.
November 25, 2022 at 3:50 PM #39316justdoit123
ParticipantHi, i'm using Metabox AIO, when add custom field i only see field type: Google Maps
i cannot see Geolocation ?
How do i enter set a location by coordinates for an OSM map. I want to use 2 fields: Latitude & Longitude.
please guide me, i read this https://docs.metabox.io/extensions/meta-box-geolocation/#two-way-data-binding
but i don't understand how to show field 2 fields: Latitude & Longitude to enter
i already try enter coordinates in address field but it cannot pin (only address work)
November 25, 2022 at 3:56 PM #39317justdoit123
ParticipantHow do i Two-way data binding please help me:
Hi, i'm using Metabox AIO, when add custom field i only see field type: Google Maps
i cannot see Geolocation ?
How do i enter set a location by coordinates for an OSM map. I want to use 2 fields: Latitude & Longitude.
please guide me, i read this https://docs.metabox.io/extensions/meta-box-geolocation/#two-way-data-binding
but i don't understand how to show field 2 fields: Latitude & Longitude to enter
i already try enter coordinates in address field but it cannot pin (only address work)
-
AuthorPosts
- You must be logged in to reply to this topic.