Akryum / vue-googlemaps

Integrate Google Maps in your Vue application
https://akryum.github.io/vue-googlemaps/
529 stars 60 forks source link

How can I move marker Location #28

Open hkmsadek opened 6 years ago

hkmsadek commented 6 years ago

I am trying to build a realtime location tracker for a delivery system. There I need to change the marker location based on lat long. How can I do that?

I am using like this may be wrong

`<googlemaps-map ref="map" class="map" :center.sync="center" :zoom.sync="zoom"

<googlemaps-user-position @update:position="setUserPosition" />

                <!-- Marker -->
                <googlemaps-marker
                    title="Paris"
                    :position="latlang" />
            </googlemaps-map>`

and I am changing setUserPosition, latlang and center lat long. it changes the position but cannot see the market.

kristoff2016 commented 5 years ago

HI, did you find the solution ? I think lib is death