GuillaumeLeclerc / vue-google-maps

Google maps component for vue with 2-way data binding
560 stars 653 forks source link

map is not showing #126

Open Profile opened 7 years ago

Profile commented 7 years ago

import {load, Map, Marker} from 'vue-google-maps'} load('KEY','3.26') center: {lat: 10.0, lng: 10.0}, <map :center="center" :zoom="7"

//RESULT <map center="[object Object]" zoom="7"

OctaneInteractive commented 7 years ago

Hi, I think there's a few people (I'm one of them) who would appreciate a bit of advice here.

We've hit the exact same problem, and the example doesn't help.

ImTheDeveloper commented 7 years ago

I found you have to specify a width / height to the map in order for it to show.

KsCorrales commented 7 years ago

@Profile @OctaneInteractive @ImTheDeveloper remember disable adblocks.

arcanoix commented 7 years ago

@KsCorrales It happens to me the same :( not show map

KsCorrales commented 7 years ago

@thavoo jajajajjajaja laraveles presente, try this package is for vue2 https://github.com/xkjyeah/vue-google-maps works for me. :3