We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbea34b commit e7dc04eCopy full SHA for e7dc04e
src/GeocoderControl.js
@@ -21,6 +21,10 @@ export default {
21
type: String,
22
required: true
23
},
24
+ position: {
25
+ type: String,
26
+ default: "top-right"
27
+ },
28
zoom: {
29
type: Number,
30
default: 16
@@ -119,7 +123,7 @@ export default {
119
123
120
124
methods: {
121
125
$_deferredMount() {
122
- this.map.addControl(this.control);
126
+ this.map.addControl(this.control, this.position);
127
if (this.input) {
128
this.control.setInput(this.input);
129
}
0 commit comments