Logicify / jquery-locationpicker-plugin

JQuery Location Picker plugin
MIT License
389 stars 260 forks source link

'draggable: true' default option is deprecated #134

Open kolen opened 6 years ago

kolen commented 6 years ago

In current Google Maps release 3.31, draggable option is deprecated.

draggable Type:  boolean
If false, prevents the map from being dragged. Dragging is enabled by default.

Note: This property is deprecated. To disable dragging on the map, you can use the gestureHandling property, and set it to "none".

jquery-locationpicker-plugin sets it to true:

https://github.com/Logicify/jquery-locationpicker-plugin/blob/fac8658119043e830e0cbccd14b8b22bde08436b/src/locationpicker.jquery.js#L454

https://github.com/Logicify/jquery-locationpicker-plugin/blob/fac8658119043e830e0cbccd14b8b22bde08436b/src/locationpicker.jquery.js#L393