Skip Navigation

[Resolved] Map location slightly off

This thread is resolved. Here is a description of the problem and solution.

Problem:
Can Latitude/ Longitude be used dynamically for maps
Solution:
Is this data coming from a specific CPT, you can try these steps:

1. Use a known address at first, and save it for your post. For example, "Paris France".
2. Edit the post, and scroll down to the address field. Click Show Coordinates, and update these fields with your desired coordinates. You may have to delete the content before pasting your own in, it's a bit tricky but it should work. Click the map to refresh it and confirm your coordinates, then save.
3. Now your address field will display as the Lat and Lng coordinates, and the map marker will use these new coordinates.
4. If you need to use the written address in a View, you'll need to include that as a separate custom field, or as the title of the post, etc. If it's a separate custom field, then you can use conditional logic easily to determine when to show the address field, and when to show the lat/long override field.

If you still have issues after this procedure, please open a ticket so we can analyze it.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 8 months, 1 week ago.

Assisted by: Mateus Getulio.

Author
Posts
#2689302

The map uses dynamic address field and address is quite generic as it is name of road without building number etc. That's why marker location on map is slightly off from the actual location. What is the solution? The address is a dynamic field. Can Latitude/ Longitude be used dynamically for maps?

#2689406

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thank you for contacting our support.

Is this data coming from a specific CPT, if so, can you please try those steps to see if it gets the issue fixed?

1. Use a known address at first, and save it for your post. For example, "Paris France".
2. Edit the post, and scroll down to the address field. Click Show Coordinates, and update these fields with your desired coordinates. You may have to delete the content before pasting your own in, it's a bit tricky but it should work. Click the map to refresh it and confirm your coordinates, then save.
3. Now your address field will display as the Lat and Lng coordinates, and the map marker will use these new coordinates.
4. If you need to use the written address in a View, you'll need to include that as a separate custom field, or as the title of the post, etc. If it's a separate custom field, then you can use conditional logic easily to determine when to show the address field, and when to show the lat/long override field.

Please let me know if I can be of further assistance with this.

#2689934

Thank you. As guided I tried to edit address field and realized that coordinates option is in fact available.