Commit 2ddf24d2 authored by Fawad Mirzad's avatar Fawad Mirzad
Browse files

Use default styles for the map component

parent 78fdd9cc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"
      });
+1 −1
Original line number Diff line number Diff line
{
  "name": "@fawmi/vue-google-maps",
  "version": "0.1.0",
  "version": "0.1.1",
  "lockfileVersion": 1
}
+1 −1
Original line number Diff line number Diff line
{
  "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": {