[Vuejs]-How to fix google map center location in vue js

0👍

The right way to declare the component is:
<gmap-map :center="{lat: propertydata.latitude, lng: propertydata.longitude}" :zoom="14" style="width:500px; height:500px;"></gmap-map>

You should use {{...}} syntax only inside tags, not in tag attributes.

Leave a comment