Visually Hide the Views Proximity Exposed Filter Form

Created on 8 December 2021, almost 3 years ago
Updated 24 November 2023, 12 months ago

Problem/Motivation

When creating a map views with geofield and leaflet, I would like to allow end-user update the exposed proximity filter original coordinates by:

  • Moving the map with mouse click
  • Capture the "moveend" Leaflet event with JS
  • Using JQuery to update the exposed proximity filter original coordinates, with current map center Lat/Lng
  • User click on "search" button will now showing an updated result, based on Lat/Lng just captured

From this point of view, end-user shouldn't manually update the exposed proximity filter form (both the operator for distance, Latitude and Longitude). The form should therefore set as visually-hidden with CSS.

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇭🇰Hong Kong hswong3i

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024