Toolset Maps is a WordPress plugin that allows you to add address fields to any content type or users and display any content on Google Maps.
Toolset Maps User Guides include detailed documentation for creating these special address fields, adding pointers to them and displaying them on maps.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 1,111 through 1,125 (of 1,224 total)
Problem: I have a custom post type called Companies with a repeating field group (RFG) called Company Locations. One of the fields in that RFG is an address field. On the Companies WordPress Archive page, I would like to show a Map with Markers for of all the Company Location posts. I would like to filter the Companies archive by a field in the RFG, and I would like to show a custom field from the parent Company in the marker popup.
Solution: It's not currently possible to filter a View of a CPT by fields on its RFGs.
To access custom fields from the Company post in a View of the RFG, use the item attribute in the shortcode with the syntax "@relationship-slug.parent".
Problem: I am seeing an error message in Toolset > Settings > Maps. It says "Google API REQUEST_DENIED - This API project is not authorized to use this API."
Solution: Check your settings in the Google API Console for this API key. Be sure that the Maps JavaScript, Places, Geolocation, and Geocode APIs are all enabled.
Problem:
How to add a link to a map marker which will open up the same map in Google Maps itself (for a larger map) and still display a marker in the same location?
Solution:
Output the Types address field as part of a google URL in a format like so:
<a href='https://www.google.com/maps/place/[types field='street-address'][/types]'>View address on Google</a>
Problem: I have a repeating field group that contains address fields. I would like to show all the addresses on a map using markers, and I would also like to show the addresses as text. Some of the markers are not appearing on the map, and some addresses do not show up in text.
Solution: Check the custom field slugs, in this case a slug from a different custom field was used, causing problems.
Problem:
A View to show results on a Map is not displaying markers from the address field.
Solution:
On this client site the API key was configured incorrectly, as evidenced by the REQUEST_DENIED message when using the Check API button on the Toolset > Settings > Maps page.