Problem:
I have 2 custom fields (numbers). One is the lat and one is the long value for coordinates. The ccordinates are like this:
Field lat: 44.00502022
Field lng: 10.60029922
Every house has two fields for the coordinates. I have around 14.000 house objects. Is it possible to show all the objects on one map and how do i have to configure the view with this custom fields?
Solution:
Yes, it is possible, you can create a post view, query "house objects" posts, display a map shortcode, in the Views loop, setup the attributes "lat" and "lon" of marker shortcode as your custom fields "Field lat" and "Field lng" values, see our document:
https://toolset.com/documentation/user-guides/maps-shortcodes/#wpv-map-marker
lat and lon. Optional, both default to empty. Another optional source of the marker location, allows to display a marker given its latitude and longitude coordinates. Both values need to be passed.
Relevant Documentation:
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 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)