Custom Fields
Re-Envisioned
Support Meta Box Geolocation OSM field binding: merging two fields doesn't work

  • Creator
    Topic
  • #32294
    B P
    Participant

    I am using Open Street Maps, and attempting to use a custom binding to a field, called "location" (which is not one of the custom components supported by OSM, hence why I'm using a custom binding), following the instructions here: Metabox Geolocation. The field auto-populates when I bind it to a single field, but not when I attempt to merge two fields. So, for example: auto-populating works when I bind 'country', but not when I bind 'city + " " + country'. Is this a bug?

    Additionally: I have tried this using both generated PHP and the UI - both have the same issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #32332
    Long Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    I've escalated this issue to the development team to fix it in the next update.

    #32412
    B P
    Participant

    Thanks. I've also noticed that the two-way binding of the data with the map doesn't work either. Changing the address changes the marker on the map, but moving the marker on the map doesn't change the address.

    #32430
    Long Nguyen
    Moderator

    Hi,

    On the documentation, we only note that the latitude and longitude fields will be updated if you change the location of the pin. The address field is not updated.

    And whenever you change the location of the pin on the map, the new location will be updated to the latitude, longitude fields (if you have them)

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.