jquery-locationpicker-plugin icon indicating copy to clipboard operation
jquery-locationpicker-plugin copied to clipboard

'draggable: true' default option is deprecated

Open kolen opened this issue 7 years ago • 0 comments

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

kolen avatar Mar 13 '18 15:03 kolen