Skip to content

give the possibility to have a default position#8

Open
epitre wants to merge 31 commits intocyphercodes:masterfrom
Shaurifr:defaultPosition
Open

give the possibility to have a default position#8
epitre wants to merge 31 commits intocyphercodes:masterfrom
Shaurifr:defaultPosition

Conversation

@epitre
Copy link
Copy Markdown

@epitre epitre commented Aug 19, 2020

Something like this should work :

            var lp = new locationPicker('map', {
                dfLat: 0,
                dfLng: 0,
                setCurrentPosition: true
            }, {
                // Google Maps Options
                zoom: 15,
            });

should show "null island" a point in the atlantic, close to africa, if you refuse to share your location.

WARNING !

Could you test it first, please.

cyphercodes and others added 30 commits March 5, 2018 01:55
Now you can pass either the id of the element to the plugin's consructor
or a direct reference to the HTMLElement
- Added lat & lng attributes to the constructor to allow setting initial
location
BREAKING CHANGE: bump version to v1
@epitre
Copy link
Copy Markdown
Author

epitre commented Aug 19, 2020

closes #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants