File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11<h1 align =" center " style =" border-bottom : none ;" >🗺🎯 location-picker</h1 >
22
3- <h3 align =" center " >Efficiently allow your user to pick a location!</h3 >
3+ <h3 align =" center " >Efficiently allow your users to pick a location!</h3 >
44
55<p align =" center " >
66 <a href =" https://github.com/ellerbrock/open-source-badges/ " >
Original file line number Diff line number Diff line change 2626 var confirmBtn = document . getElementById ( 'confirmPosition' ) ;
2727 var onClickPositionView = document . getElementById ( 'onClickPositionView' ) ;
2828 var onIdlePositionView = document . getElementById ( 'onIdlePositionView' ) ;
29+ var map = document . getElementById ( 'map' ) ;
2930
3031 // Initialize LocationPicker plugin
31- var lp = new locationPicker ( ' map' , {
32+ var lp = new locationPicker ( map , {
3233 setCurrentPosition : true , // You can omit this, defaults to true
3334 } , {
3435 zoom : 15 // You can set any google map options here, zoom defaults to 15
You can’t perform that action at this time.
0 commit comments