
Rp 30.000
Prima Solusi Mandiri Studio
Indonesia, Indonesia
<p><div class="wc-tab-inner wd-entry-content"> <p><strong>FacetWP Map Facet Addon</strong> This add-on generates a map to display geocoded results. It can also filter results by showing only results within the map bounds.</p> <p>This add-on generates a Map facet type, which works just like any other facet type. The Data Source should be a custom field containing a comma-separated latitude, longitude. Common data sources:</p> <ul> <li> <ul> <li>Advanced Custom Fields has a Google Maps field type that provides geolocation. For the facet’s Data Source, choose the field name underneath the “Advanced Custom Fields” header.</li> <li>WP Job Manager plugin automatically stores geolocation data. Set the facet’s Data Source to geolocation_lat.</li> </ul> </li> </ul> <h3>Marker content</h3> <p>Enter display code for the content that displays when a marker is selected. The following example outputs the title, link, and excerpt.</p> <h3>Available options</h3> <table> <tbody> <tr> <th>Name</th> <th>Description</th> </tr> <tr> <td>Other data source</td> <td>Choose a longitude field if stored separately from the latitude</td> </tr> <tr> <td>Map Design</td> <td>Choose a design/color scheme for the map</td> </tr> <tr> <td>Marker clustering</td> <td>This option will group markers into clusters</td> </tr> <tr> <td>Marker limit</td> <td>“Show all results” will show all markers that match the results, “Show current page results” will only display markers matching the results on the current page of paginated results</td> </tr> <tr> <td>Map width / height</td> <td>Width and height of map. Use unitless for px, ex. 300, or with %, ex. 100%</td> </tr> <tr> <td>Zoom min / max</td> <td>Set the zoom bounds between 1 (minimum zoom) and 20 (maximum zoom)</td> </tr> <tr> <td>Default lat / lng / zoom</td> <td>Centers map to this location when there’s no map results <h3>Changelog</h3> <p><strong>0.8</strong></p> <ul> <li>Changed: use `FWP()->filtered_post_ids` if available</li> <li>Fix: prevent infinite refresh when “Enable map filtering” is on</li> </ul> <p><strong>0.7.1</strong></p> <ul> <li>Fix: only load posts if the “Marker Content” box is filled (performance boost)</li> </ul> <p><strong>0.7</strong></p> <ul> <li>New: `facetwp_map/fit_bounds` JS hook to disable fitBounds and manually center the map</li> <li>Improved: immediately trigger a refresh when the “Enable filtering” button is clicked</li> <li>Improved: replaced GMaps “scrollWheel” setting with “gestureHandling”</li> </ul> <p><strong>0.6</strong></p> <ul> <li>Better support for ACF repeater Google Map fields. When combined with a proximity facet, only markers within the correct radius will remain!</li> </ul> <p><strong>0.5.2</strong></p> <ul> <li>Fixed issue where map wouldn’t load when there are no initial results</li> </ul> <p><strong>0.5.1</strong></p> <ul> <li>Added support for multiple locations per post (e.g. ACF repeater sub-fields)</li> <li>Added logic to tie a map marker to its associated result</li> <li>Changed “Enable filtering” to “Enable map filtering”</li> <li>Updated Markerclusterer.js</li> </ul> <p><strong>0.4.5</strong></p> <ul> <li>Changed `wp.hooks` to `FWP.hooks` due to conflict with WP 5.0</li> </ul> <p><strong>0.4.4</strong></p> <ul> <li>Map facet now requires FacetWP 3.2.0+</li> <li>Fixed issue saving the “Other data source” setting</li> </ul> <p><strong>0.4.3</strong></p> <ul> <li>Fixed issue involving filtering across the Prime Meridian</li> </ul> <p><strong>0.4.2</strong></p> <ul> <li>Fixed issues with FWP.reset()</li> <li>Compatibility fix for FacetWP 3.1.2+</li> </ul> <p><strong>0.4</strong></p> <ul> <li>Improved: skip map refreshes when not needed</li> <li>Improved: re-center map on window.resize</li> </ul> <p><strong>0.3.3</strong></p> <ul> <li>New: added `facetwp_map_proximity_marker_args` filter</li> <li>Improved: support marker cluster image extensions (props Roy Lodder)</li> </ul> <p><strong>0.3.2</strong></p> <ul> <li>Improved: removed unnecessary query</li> <li>Fix: map width / height settings weren’t being respected</li> <li>Fix: limit results to the active map</li> </ul> </td> </tr> </tbody> </table> <p> </p> </div></p>