diff --git a/components/Map.vue b/components/Map.vue index 2c39c3b..a9bfac6 100644 --- a/components/Map.vue +++ b/components/Map.vue @@ -20,7 +20,7 @@ export default { default: "terrain" }, style: { - default: "width: 500px; height: 300px" + default: [] }, options: { zoomControl: true, @@ -50,6 +50,7 @@ export default { const mapPromise = mapsLoader.load().then(() => { const map = new google.maps.Map(mapContainer.value, { zoom: props.zoom, + style: props.style, center: new google.maps.LatLng(38.423733, 27.142826), mapTypeId: "terrain" }); diff --git a/package-lock.json b/package-lock.json index 2e344c8..c7a4058 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { "name": "@fawmi/vue-google-maps", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 1 } diff --git a/package.json b/package.json index 50eb799..3a1d1a3 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@fawmi/vue-google-maps", "description": "Google Map components for Vue.js 3", - "version": "0.1.0", + "version": "0.1.1", "private": false, "main": "index.js", "scripts": {