ACF pack – Can I use google map fields with WPSOLR Geolocation pack ?

211 views November 5, 2016 December 14, 2016 admin 0

Yes, from WPSOLR 14.7, you can.

How does it work ?

The ACF Google Map fields store an address, a latitude, and a longitude. The WPSOLR ACF pack is able to convert the field informations, when indexing, in a “latitude,longitude” format, fully compatible with the WPSOLR Geolocation pack.

You will need to fill the option “Your Google Map api key, to use ACF Google Map fields with our Geolocation Pack” in your ACF pack, with your Google Map API et voilà!

Set your Google Map API to use the ACF Google Map fields.

Set your Google Map API to use the ACF Google Map fields.

 

With the API key, you can now set a geolocation on any post ACF field.

With the API key, you can now set a geolocation on any post ACF field.

How to configure the ACF Google Map field?

Simply configure the ACF Google Map field  as a geolocation Solr type. Then index your data.

Select a type "Geolocation" for your ACF Google Map field. Then (re)index.

Select a type “Geolocation” for your ACF Google Map field. Then (re)index.

 

Was this helpful?

Leave A Comment
*
*