# LocateAndFilter WordPress plugin

Website URL: http://locateandfilter.com/
Plugin URL: https://wordpress.org/plugins/locateandfilter/
Pro version URL: https://locateandfilter.com/locateandfilter-pro-version/

Software Version: WordPress 6.x, WordPress 5.x, WordPress 4.5

Tags: custom map, filter map, LocateAndFilter, search map, leaflet

LocateAndFilter is a versatile and highly customizable WordPress plugin aimed at creating nice looking searchable/filterable maps.

**Friendly**

LocateAndFilter has been built on the great library LeafletJs (http://leafletjs.com/) and coded with extensibility in mind : addons using LocateAndFilter in conjunction with another WP plugin. You no longer need Google API Key

**Use just any
taxonomy as a filter**

Easily use any
taxonomy (custom taxonomies or regular taxonomies) to filter your
maps.

**Supports Custom
Post Types**

Most of the
WordPress plugins only support posts and pages. Not this plugin!
Total support for any custom post type and their taxonomies!

**Fully
customizable marker icons**

You can define a
custom marker icon for each location or choose to use the same marker
for the whole map. It’s up to you!

Choose between the
plugin’s predefined marker icons, create your own markers using
Ionicon or just use any image from the media library. Total
flexibility!

**Customizable Map
Overlay**

Choose between 4
different map overlays… Or use any overlay you want with the Custom
Overlay Addon

**Additional fields**

Need to display a
specific info on the map? Create additional fields! Additional fields
are custom fields specifically designed to be displayed on the map.

Let’s say your map
is about coffeshops and you want to show the opening hours and the
name of the nearest subway station? Create 2 additional fields :
openingHours and nearestSubway. Done! Those informations are ready to
be displayed in the marker list and the tooltips.

**Fully
customizable tooltips**

Customize the
tooltips EXACTLY as you want them : HTML, audios, videos, images,post
content… Tooltips can display nearly anything.

Customize the
tooltip template for each marker independently, you have total
control on the information that appears…or use a tooltip preset for
instant styling!

**Fully
customizable marker list**

Customize the marker
list as you please : HTML, audios, videos, images,post content…

**Ready to use**

Need a map NOW?
choose a map Layout, click, you are done!

Not exactly what you
had in mind? No worries!Just edit the layout CSS directly in the
admin!

**Robust**

LocateAndFilter has
been tested with 10 000 markers containing images, videos and
audio…and still ran smoothly

**Responsive &
Touch optimized**

**And many other
features…**

* Detection of user’s location
* Rounded corners / Squared corners tooltips
* Map Localization : Choose your map language
* Optional cache system : ready to handle thousands of markers
* Addons, Advanced filters, new marker icons, new map layouts
* Custom tags for map layouts
* Supports any shortcode in custom tag
* Availability shortcode for single page
* Geolocate address from nominatim
* Reset filters function
* Customizable select and Pretty checkbox

Online Demo :
[example for projects](https://locateandfilter.com/demo-map-default-right-down-layout/)

Documentation :
[See our website for more informations on how to configure the plugin](https://locateandfilter.com/docs/locateandfilter-wp-plugin/)

Pro version:
[LocateAndFilter PRO version](https://locateandfilter.com/locateandfilter-pro-version/)

* Addon overlays
* Fullscreen control
* FitBounds option
* Zoom to marker option
* Canvas Markers - faster load more then 10000 markers
* Custom marker icon from media library   
* Sorting for filters
* Additional control layers by Bing satellite and Yandex satellite
* Marker Clustering, setup Max Cluster Radius
* Available shortcode attribute for current category
* Search markers by location
* Animation of marker bouncing



== Frequently Asked Questions ==




== Changelog ==

= 1.0 =

First version

= 1.1.0 =

heavily modified Addon_Helper class
css fixes
added hide splashscreen option

= 1.1.1 =

added addon upgrader class

= 1.1.2 =

added "Powered By" text

= 1.1.4 =

added KML import function
fixed some minor bugs

= 1.1.5 =

added hooks
fixed Google Places selector bug

= 1.1.6 =

added hooks for compat addons

= 1.1.7 =

optimized loading of styles and scripts

= 1.1.71 =

bug fix

= 1.1.72 =

Sometimes the preview mode was in conflict with 3rd party plugins. This update should fix that problem

= 1.1.8 =

Added nice textarea editors

= 1.1.93 =

Added radio button, select multiple as filters

= 1.3.00 =

setup a new branch plugin

= 1.3.01 =

update readme

= 1.3.02 =

add new map layout template

= 1.3.03 =

add a marker using the map 

= 1.3.04 =

add custom labels for tax filter 

= 1.3.05 =

fix height for template popup 

= 1.3.06 =

add icon option to tax term 

= 1.3.07 =

fix bug update options for icon term 

= 1.3.08 = 

add mime type svg 

= 1.3.09 =

add icon to checkbox filter 

= 1.3.10 =

change orderby for checkbox public filter 

= 1.3.11 =

add new option checkbox status 

= 1.3.12 =

add excerpt to tooltip template 

= 1.3.13 =

add new tooltip tag - lat lon dms post_id 

= 1.3.14 =

add new options Max Cluster Radius 

= 1.3.15 =

fix bug load public js in admin

= 1.3.16 =

added compatibility github updater 
add id to chekbox filter

= 1.3.17 =

add control layers Bing and Yandex 

= 1.3.18 =

fix editArea

= 1.3.19 =

update readme

= 1.3.5 =

fix js error in admin
update templates nav-list
added nice-tooltip style
added pretty js and choosen css for filter
added neww button on admin map - view from latlng
added new map template - project

= 1.3.51 =

update readme

= 1.3.52 =

update readme

= 1.3.53 =

sanitaze options value
sanitaze post and request map_id
update getLayoutCode
security fix
delete Including a zip file
remove jquery ui

= 1.3.54 =

security fix
remove deprecated functions
remove cdn script
add alternative funct file_get_contents

= 1.3.55 =

remove deprecated functions

= 1.3.56 =

fix js error in admin

= 1.3.57 =

fix HTTPS support

= 1.3.573 =
add new shortcode for single page
add atribute to shortcode categoryfilter

= 1.3.574 = 
fix bug

= 1.3.575 = 
sorting filters

= 1.3.576 = 
fix range filter

= 1.3.577 = 
update get_terms and enable hide_emty

= 1.3.578 = 
fix bug js sort

= 1.3.579 = 
update ver

= 1.3.58 = 
update ver

= 1.3.59 = 
add short pagination style

= 1.4.0 =
update ver

= 1.4.1 =
fix bug separately shortcodes + pagination

= 1.4.2 =
fix popup position, fix single shorcode

= 1.4.3 =
add support additional overlays

= 1.4.4 =
* fix single shortcode

= 1.4.5 =
* add order filters

= 1.4.6 =
* fix deprecated fn

= 1.4.7 =
* fix popup position

= 1.4.8 =
* fix deprecated php fn

= 1.4.9 =
* added support custom style map

= 1.4.10 =
* fix jQuery loaded error

= 1.4.11 =
* fix loading js

= 1.4.12 =
* bug fix, php8 support, add many fetaures from pro version

= 1.5.00 =
* migrate to new ver leaflet-1.7.1, new type filter radio button, new geolocate from nominatim, reset for filters, tested last WP ver 5.9 

= 1.5.01 =
* rangeslider filter fixed

= 1.5.02 =
* replace google layer by GoogleMutant js, added 'hybrid' style

= 1.5.03 =
fix load google js

= 1.5.04 =
* minor updates 

= 1.5.05 =
* update google autocomplete, add new map layout top template 

= 1.5.06 =
* update navlist by google autocomplete, bug fix

= 1.6.1 =
* fix HTML validation for all type filters
* fix multiselect (AND logic)
* move cache dir to uploads

= 1.6.11 =
* fix range, bug fix

= 1.6.12 =
* update leaflet 1.9.4

= 1.6.13 =
* update readme, update admin page

= 1.6.14 = 
* add loader to navlist
* add result found to navlist


PRO
= 1.4.11.1 =
* added Pro class

= 1.4.11.3 =
* added Addon overlays

= 1.4.11.4 =
* added fullscreen control

= 1.4.11.5 =
* added fitBounds option

= 1.4.11.6 =
* added reset fn and zoom to marker

= 1.4.11.7 =
* added fullscreen option to admin

= 1.4.11.8 =
* update nav list by soom

= 1.4.11.9 =
* fix loading js and css

= 1.4.11.10 =
* migrate to new ver leaflet-1.7.1

= 1.4.11.11 =
* add plugin canvas-markers for faster load many markers

= 1.4.11.12 =
* add radio type and orderby options

= 1.4.11.13 =
* update project html template and fix js errors

= 1.4.11.14 =
* bug fix, add new geolocate

= 1.4.11.15 =
* bug fix, category filter

= 1.4.11.16 =
* bug fix, single shortcode

= 1.5.17 =
* rangeslider filter fixed

= 1.5.18 =
* replace google layer by GoogleMutant js, added 'hybrid' style

= 1.5.19 =
* fix load google js

= 1.5.20 =
* add new map template top, fix php notice

= 1.5.21 =
* add custom style for mapbox

= 1.5.30 =
* update leaflet v1.8.0 
* update select2

= 1.5.40 =
* add location search options
* update google autocomplete

= 1.5.41 =
* add new shortcode for location searchbox

= 1.5.42 =
* Add new options - animation of marker bouncing

= 1.5.43 =
* Add new options - popup event

= 1.6.02 =
* Add ACF to filters
* Add new optins - sortby for nav list
* fix HTML validation for all type filters
* fix multiselect (AND logic)
* fix rangeslider (float type)
* fix addon json - load localy

= 1.6.1 =
* move cache dir to uploads

= 1.6.12 =
* update leaflet 1.9.4

= 1.6.14.acf = 
* added support ACF number - dropdown checkbox

= 1.6.15.acf =
* fix single shortcode, add Pages to filters

= 1.6.15.user =
* add users

= 1.7.acf = 
* add different source for coordinates

= 1.8.acf = 
* add leaflet autocomplete geosearch to map
* add new shortcode searchbylocation by autocomplete geosearch

= 1.8.1.acf = 
* add new map template - half Map Layout


