Searching WordPress custom fields on a map like Yelp & TripAdvisor


#1

I have pages in WordPress that include custom fields (using the Types plugin) and have locations/addresses (latitude + longitude). I want to build a search interface like Yelp and TripAdvisor have using a map for the results. When the results change, they will show up on the map.

When the user moves the map around, the results should change to be only ones in that area. Can I do geospatial search on a map like this using the Swiftype WordPress plugin?

You can definitely perform geospatial searches on a map using Swiftype. Our WordPress plugin is not going to handle these custom fields exactly as you would hope by default, but the modifications would be relatively straight forward.

See our open source WordPress plugin and our documentation for processing location-based searches.