src/pyams_gis/interfaces/configuration.py
changeset 78 808bd0bc9d86
parent 72 032947e7ef0c
child 83 8ee2396eecd1
equal deleted inserted replaced
77:caa02b3478e8 78:808bd0bc9d86
    73                          required=True,
    73                          required=True,
    74                          default=False)
    74                          default=False)
    75 
    75 
    76     keyboard = Bool(title=_("Keyboard navigation?"),
    76     keyboard = Bool(title=_("Keyboard navigation?"),
    77                     description=_("If 'yes', makes the map focusable and allows users to "
    77                     description=_("If 'yes', makes the map focusable and allows users to "
    78                                   "navigate with keyboard arrows and +/- keys"),
    78                                   "navigate with keyboard arrows and +/- keys; this option "
       
    79                                   "will not be activated on mobile devices"),
    79                     required=True,
    80                     required=True,
    80                     default=True)
    81                     default=True)
    81 
    82 
    82     scroll_wheel_zoom = Bool(title=_("Scroll wheel zoom?"),
    83     scroll_wheel_zoom = Bool(title=_("Scroll wheel zoom?"),
    83                              description=_("If 'yes', the map can be zoomed using the mouse "
    84                              description=_("If 'yes', the map can be zoomed using the mouse "
    84                                            "wheel"),
    85                                            "wheel; this should be avoided to get a good "
       
    86                                            "responsive behaviour and handle gestures"),
    85                              required=True,
    87                              required=True,
    86                              default=True)
    88                              default=False)
    87 
    89 
    88     def get_configuration(self):
    90     def get_configuration(self):
    89         """Get map layers configuration"""
    91         """Get map layers configuration"""
    90 
    92 
    91 
    93