Needs review
Project:
OpenLayers Proximity
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2010 at 20:53 UTC
Updated:
31 Jul 2011 at 14:11 UTC
The goal is to allow users to enter their location and return all nodes within 10 miles / km.
If the filter is exposed, to allow the user to enter the location, the distance value appears to be exposed by default, and can not be pre configured.
Is this true, and if so, is there any way to configure it so the distance can not be changd by the user?
Thank you.
Comments
Comment #1
kardave commentedTry hiding or disabling the distance field with CSS, and if needed, set its value with javascript. I have the very same problem, just trying to find out a working solution for this...
Comment #2
kardave commentedOkay this works for me now:
Css hide is simple: just add
display: none;Setting the field's value with jQuery:
Replace id and number with your values!