Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Google Map & Search Filter
Would it be possible to create something like this in Textpattern? I’m trying to create a directory of travel destinations, searchable through maps & filters. Thanks :)
Offline
Re: Google Map & Search Filter
Easily. That is just JavaScript and uses Google Map API; whether you are using Textpattern or WordPress doesn’t matter. It seems to use Gmap3 jQuery plugin as an abstraction layer.
Merely just create an article list of your places, populate map markers according to the generated list (process the DOM, store coordinates in HTML data attributes, pulled from custom fields) and that’s it. Then just load search results with Ajax and re-populate the markers according to the article results. Super easy, bit time consuming tho.
Offline
Pages: 1