Skip to content

Commit 35f829c

Browse files
committed
chore: 🚀 bump version 0.2.0
1 parent e27b558 commit 35f829c

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,25 @@ is triggered with the result.
116116
</template>
117117
```
118118

119-
##### Update V 0.0.6
119+
### Autocomplete props
120+
- Example:
121+
```js
122+
const center = { lat: 50.064192, lng: -130.605469 };
123+
// Create a bounding box with sides ~10km away from the center point
124+
const defaultBounds = {
125+
north: center.lat + 0.1,
126+
south: center.lat - 0.1,
127+
east: center.lng + 0.1,
128+
west: center.lng - 0.1,
129+
};
130+
const options = {
131+
bounds: defaultBounds,
132+
componentRestrictions: { country: "us" },
133+
fields: ["address_components", "geometry", "icon", "name"],
134+
strictBounds: false,
135+
types: ["establishment"],
136+
};
137+
```
120138

121139
````vue
122140

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vuejs-google-maps",
33
"description": "A set of Google Map components for VueJs",
4-
"version": "0.1.1",
4+
"version": "0.2.0",
55
"license": "MIT",
66
"main": "./dist/vuejs-google-maps.umd.js",
77
"types": "types/index.d.ts",

src/assets/cities.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"title": "Faenza",
44
"description": "Faenza is an Italian city and comune, in the province of Ravenna, Emilia-Romagna, situated 50 kilometres southeast of Bologna.",
55
"position": {
6-
"lat": 34.731943,
7-
"lng": 135.731617
6+
"lat": 11.457374,
7+
"lng": 104.873992
88
}
99
},
1010
{

0 commit comments

Comments
 (0)